Engine simulation sound adjusting method and device, vehicle and storage medium

By obtaining and processing environmental noise data in new energy vehicles and synthesizing it with simulated sound wave data, the problem of environmental noise masking engine simulated sound waves is solved, and the sound quality is improved.

CN119649789APending Publication Date: 2025-03-18CHINA FAW CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411483682.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

In new energy vehicles, environmental noise such as opening of windows or air conditioners will mask the engine simulated sound waves, resulting in poor sound quality.

Method used

By acquiring the ambient noise data in the vehicle, performing phase cancellation processing, adjusting the noise cancellation data based on the window data, and synthesizing the adjusted noise cancellation data with the initial simulated sound wave data to generate the target simulated sound wave data for playback.

Benefits of technology

Effectively offset ambient noise and improve the sound quality of the engine simulated sound waves, so that users can still enjoy a better engine simulated sound wave experience in the presence of ambient noise.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119649789A_ABST
    Figure CN119649789A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an engine simulation sound wave adjusting method and device, a vehicle and a storage medium, and belongs to the technical field of data processing.The method comprises the steps that environmental noise data in the vehicle are obtained, phase elimination processing is conducted on the environmental noise data, and initial noise offset data are obtained; acquiring window data of the vehicle; wherein the vehicle window data is used for representing data of the influence of the vehicle window on the environmental noise data. And adjusting the initial noise cancellation data according to the vehicle window data to obtain target noise cancellation data. And obtaining initial simulated sound wave data, synthesizing the target noise cancellation data and the initial simulated sound wave data to obtain target simulated sound wave data, and controlling the target simulated sound wave data to be played. When the target simulated sound data is played, the target noise offset data can offset the environmental noise data, so that the problem that the environmental noise shields the sound of the engine simulated sound is solved, and the sound quality of the engine simulated sound is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method and device for adjusting simulated engine sound, a vehicle and a storage medium. Background Art

[0002] New energy vehicles do not have the roar of the engine, but some users believe that the roar of the engine can bring a more pleasant driving experience. Therefore, by configuring an engine simulation sound system on new energy vehicles, and controlling the engine simulation sound system to play the engine simulation sound in a preset scenario, new energy vehicles can also make an engine roar. In the related technology, when playing the engine simulation sound, if there is environmental noise, such as when the windows or the air conditioner in the car are turned on, the environmental noise will mask the sound of the engine simulation sound, resulting in the user hearing The sound quality of the engine simulation sound is poor. Therefore, how to improve the sound quality of the engine simulation sound in the presence of environmental noise has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The main purpose of the embodiments of the present application is to provide a method and device for adjusting engine simulated sound, a vehicle and a storage medium, with the aim of improving the sound quality of the engine simulated sound in the presence of ambient noise.

[0004] To achieve the above-mentioned purpose, one aspect of an embodiment of the present application provides a method for adjusting simulated engine sound waves, which is applied to a vehicle. The method comprises:

[0005] Acquiring environmental noise data within the vehicle;

[0006] Performing phase cancellation processing on the environmental noise data to obtain initial noise cancellation data;

[0007] Acquire vehicle window data of the vehicle; wherein the vehicle window data is used to characterize the impact of the vehicle window on the environmental noise data;

[0008] Adjusting the initial noise cancellation data according to the vehicle window data to obtain target noise cancellation data;

[0009] Obtain initial simulated sound wave data;

[0010] The target noise cancellation data and the initial simulated sound wave data are synthesized to obtain target simulated sound wave data;

[0011] Control the target simulated sound wave data to play.

[0012] In some embodiments, the phase elimination process includes filtering and phase inversion, and performing phase elimination on the environmental noise data to obtain initial noise cancellation data includes:

[0013] Performing the filtering process on the environmental noise data to obtain noise filtered data;

[0014] The phase inversion process is performed on the noise filtering data to obtain the initial noise cancellation data.

[0015] In some embodiments, the vehicle window data includes vehicle window opening data, and the initial noise cancellation data is adjusted according to the vehicle window data to obtain target noise cancellation data, including:

[0016] Determine first loudness data according to the vehicle window opening data;

[0017] The initial noise cancellation data is adjusted according to the first loudness data to obtain the target noise cancellation data.

[0018] In some embodiments, determining the first loudness data according to the window opening data includes:

[0019] Searching for a plurality of consecutive preset opening intervals according to the window opening data to obtain a target opening interval;

[0020] The loudness corresponding to the target opening range is acquired to obtain the first loudness data.

[0021] In some embodiments, the obtaining of initial simulated sound wave data includes:

[0022] Responsive to the sound wave mode selected by the target object, obtaining original simulated sound wave data;

[0023] Acquire operation data of the target object on the vehicle; wherein the operation data includes at least one operation sub-data;

[0024] Determine the corresponding loudness according to the operation sub-data to obtain at least one second loudness data;

[0025] summing at least one of the second loudness data to obtain target loudness data;

[0026] The original simulated sound wave data is adjusted according to the target loudness data to obtain the initial simulated sound wave data.

[0027] In some embodiments, the operation sub-data includes virtual engine speed data, and the step of obtaining the operation data of the target object on the vehicle includes:

[0028] Obtaining the current speed of the vehicle to obtain current vehicle speed data;

[0029] The virtual engine speed data is found from a preset vehicle speed mapping table according to the current vehicle speed data.

[0030] In some embodiments, the vehicle further includes an air conditioner and an accelerator pedal, the operation sub-data includes virtual engine speed data, air volume data of the air conditioner, current gear data of the vehicle, or accelerator pedal depth data of the accelerator pedal, and determining the corresponding loudness according to the operation sub-data to obtain at least one second loudness data includes:

[0031] determining a corresponding loudness according to the virtual engine speed data to obtain the second loudness data;

[0032] Determine the corresponding loudness according to the wind volume data to obtain the second loudness data;

[0033] Determine the corresponding loudness according to the current gear data to obtain the second loudness data;

[0034] The corresponding loudness is determined according to the accelerator pedal depth data to obtain the second loudness data.

[0035] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application provides an engine simulated sound wave adjustment device, which is applied to a vehicle, and the device comprises:

[0036] A first acquisition module, used to acquire environmental noise data in the vehicle;

[0037] An elimination module, used for performing phase elimination processing on the environmental noise data to obtain initial noise cancellation data;

[0038] A second acquisition module is used to acquire vehicle window data of the vehicle; wherein the vehicle window data is used to characterize the impact of the vehicle window on the environmental noise data;

[0039] An adjustment module, used for adjusting the initial noise cancellation data according to the vehicle window data to obtain target noise cancellation data;

[0040] The third acquisition module is used to acquire initial simulated sound wave data;

[0041] A synthesis module, used for synthesizing the target noise cancellation data and the initial simulated sound wave data to obtain target simulated sound wave data;

[0042] The playing module is used to control the target simulated sound wave data to be played.

[0043] To achieve the above-mentioned purpose, a third aspect of an embodiment of the present application proposes a vehicle, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the method described in the first aspect when executing the computer program.

[0044] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.

[0045] The engine simulation sound wave adjustment method and device, vehicle and storage medium proposed in the present application obtain the environmental noise data in the vehicle, perform phase elimination processing on the environmental noise data, and obtain initial noise cancellation data. Obtain the vehicle's window data; wherein the window data is used to characterize the data of the impact of the window on the environmental noise data. Adjust the initial noise cancellation data according to the window data to obtain target noise cancellation data. Obtain the initial simulated sound wave data, synthesize the target noise cancellation data and the initial simulated sound wave data to obtain the target simulated sound wave data, and control the target simulated sound wave data to play. When playing the target simulated sound wave data, the target noise cancellation data in the target simulated sound wave data can cancel the environmental noise data, solve the problem that the environmental noise will mask the sound of the engine simulation sound wave in the presence of environmental noise, and improve the sound quality of the engine simulation sound wave. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 This is an optional flow chart of the engine simulation sound adjustment method provided in the embodiment of the present application;

[0047] Figure 2 yes Figure 1 Flow chart of step S104 in FIG.

[0048] Figure 3 yes Figure 1 A second flow chart of step S102 in FIG. 1 ;

[0049] Figure 4 yes Figure 2 Flow chart of step S201 in FIG.

[0050] Figure 5 yes Figure 1 Flow chart of step S105 in FIG.

[0051] Figure 6 yes Figure 5 Flow chart of step S503 in FIG.

[0052] Figure 7 yes Figure 5 Flow chart of step S502 in FIG.

[0053] Figure 8 It is a structural schematic diagram of an engine simulation sound wave adjustment device provided in an embodiment of the present application;

[0054] Fig. 9 It is a schematic diagram of the hardware structure of the vehicle provided in the embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0056] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0057] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0058] Engine sound simulation data: refers to the sound data of engines simulating different car brands, different displacements, and different numbers of cylinders. By playing the engine sound simulation data in preset scenarios, such as when accelerating, the driver can better feel the characteristics and driving styles of different models, thereby increasing the driving pleasure. For example, some new energy vehicles will use this technology to add a sound similar to that of traditional fuel engines to new energy vehicles to enhance the driver's experience.

[0059] In the related art, when playing the simulated engine sound, if there is ambient noise, such as when the car windows or the air conditioner in the car are turned on, the ambient noise will mask the sound of the simulated engine sound, resulting in poor sound quality of the simulated engine sound heard by the user.

[0060] Based on this, the embodiment of the present application provides an engine simulation sound adjustment method and device, a vehicle and a storage medium, which are intended to obtain environmental noise data in the vehicle and obtain target noise cancellation data based on the environmental noise data. The target noise cancellation data and the initial simulation sound data are synthesized to obtain the target simulation sound data. Thus, when the target simulation sound data is played, the environmental noise data can be eliminated. The problem that the environmental noise data will mask the initial simulation sound data is solved, and the sound quality of the engine simulation sound is improved.

[0061] The engine simulation sound adjustment method and device, vehicle and storage medium provided in the embodiments of the present application are specifically illustrated through the following embodiments. First, the engine simulation sound adjustment method in the embodiments of the present application is described.

[0062] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0063] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0064] The engine simulation sound wave adjustment method provided in the embodiment of the present application can be applied to the terminal device, can also be applied to the server side, and can also be software running in the terminal device or the server side. In some embodiments, the terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the engine simulation sound wave adjustment method, etc., but is not limited to the above forms.

[0065] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can 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, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0066] Please refer to Figure 1 , Figure 1 It is an optional flow chart of the engine simulation sound adjustment method provided in an embodiment of the present application, and the engine simulation sound adjustment method is applied to a vehicle. Figure 1 The method may include but is not limited to steps S101 to S107.

[0067] Step S101, obtaining environmental noise data in the vehicle;

[0068] Step S102, performing phase cancellation processing on the environmental noise data to obtain initial noise cancellation data;

[0069] Step S103, obtaining vehicle window data; wherein the vehicle window data is used to characterize the impact of the vehicle window on the environmental noise data;

[0070] Step S104, adjusting the initial noise cancellation data according to the vehicle window data to obtain target noise cancellation data;

[0071] Step S105, obtaining initial simulated sound wave data;

[0072] Step S106, synthesizing the target noise cancellation data and the initial simulated sound wave data to obtain the target simulated sound wave data;

[0073] Step S107, controlling the target simulated sound wave data to be played.

[0074] In step S101 of some embodiments, when the car window or air conditioner is opened, there will be environmental noise. In the presence of environmental noise, when playing the simulated engine sound, the environmental noise will mask the sound of the simulated engine sound, resulting in poor sound quality of the simulated engine sound heard by the user in the vehicle. Therefore, before playing the simulated engine sound, the environmental noise data is obtained through the microphone in the vehicle.

[0075] In step S102 of some embodiments, in order to eliminate the environmental noise data, the environmental noise data may be subjected to phase elimination processing to obtain initial noise cancellation data. The phase elimination processing is to invert the waveform in the environmental noise data, change the phase characteristics of the sound waves in the environmental noise data, and do not change the amplitude of the sound waves, thereby obtaining the initial noise cancellation data.

[0076] In step S103 of some embodiments, when the phases of the initial noise cancellation data and the ambient noise data are completely opposite and the amplitudes are the same, the two will cancel each other out to achieve a noise reduction effect. However, in actual applications, when the windows are closed but the windows are not well soundproofed, the sound outside the vehicle will be transmitted into the vehicle. When the windows are open, not only will the sound outside the vehicle be transmitted into the vehicle, but the external airflow will also enter the vehicle, generating airflow noise. Therefore, the window data will affect the loudness (amplitude) of the ambient noise data. When the loudness of the ambient noise data changes, the amplitude of the initial noise cancellation data should also be adjusted accordingly to achieve a better noise cancellation effect. Therefore, it is necessary to obtain the vehicle's window data and judge the loudness change of the ambient noise data based on the window data.

[0077] In step S104 of some embodiments, after the vehicle window data is acquired, if the vehicle window data characterizes that the loudness of the ambient noise data will be enhanced, the loudness of the initial noise cancellation data is increased.

[0078] See also Figure 2 In some embodiments, step S104 may also include but is not limited to steps S201 to S202:

[0079] Step S201, determining first loudness data according to the window opening data;

[0080] Step S202: adjusting the initial noise cancellation data according to the first loudness data to obtain target noise cancellation data.

[0081] In step S201 of some embodiments, the window opening data and the first loudness data may be calibrated in advance, so that the first loudness data can be determined according to the window opening data. It should be noted that the larger the window opening, the stronger the ambient noise in the car, so the window opening data and the first loudness data are positively correlated.

[0082] In step S202 of some embodiments, after obtaining the first loudness data, the loudness of the initial noise cancellation data is adjusted according to the first loudness data, and the loudness of the initial noise cancellation data is adjusted to the sum of the original loudness data and the first loudness data to obtain the target noise cancellation data.

[0083] In one example, since the window material also affects the ambient noise in the vehicle, the window material and the first loudness data may be calibrated in advance, and the first loudness data may be determined according to the window material. The first loudness data determined by the window opening data and the first loudness data determined by the window material are added together, and the initial noise cancellation data is adjusted with the loudness data obtained after the addition to obtain the target noise cancellation data.

[0084] Through the above steps S201 to S202, the amplitudes of the obtained target noise cancellation data and the environmental noise data are matched as much as possible, so that the target noise cancellation data can better eliminate the environmental noise data.

[0085] In step S105 of some embodiments, multiple types of engine simulation sound wave data are pre-stored in the vehicle, and different sound wave modes correspond to different engine simulation sound wave data. According to the sound wave mode selected by the target object, the corresponding engine simulation sound wave data, i.e., the initial simulation sound wave data, is obtained.

[0086] In step S106 of some embodiments, if only the initial simulated sound wave data is played, the environmental noise will cover the sound of the initial simulated sound wave data, making the sound quality of the simulated engine sound wave heard by the user poor. Therefore, it is necessary to synthesize the target noise cancellation data and the initial simulated sound wave data to obtain the target simulated sound wave data. When the target simulated sound wave data is played, the target noise cancellation data in the target simulated sound wave data can cancel the environmental noise data, thereby improving the sound quality of the simulated engine sound wave.

[0087] In step S107 of some embodiments, when the vehicle is started, the ambient noise data in the vehicle can be acquired in advance, and the target noise cancellation data can be obtained based on the ambient noise data. The target noise cancellation data and the initial simulated sound wave data are synthesized to obtain the target simulated sound wave data, so that when the target simulated sound wave data needs to be played, the target simulated sound wave data is controlled to be played. For example, when the driver steps on the accelerator or accelerates, the target simulated sound wave data is controlled to be played.

[0088] Steps S101 to S107 shown in the embodiment of the present application are to obtain the ambient noise data in the vehicle, perform phase cancellation processing on the ambient noise data, and obtain initial noise cancellation data. The vehicle window data is obtained; wherein the window data is used to characterize the data of the impact of the window on the ambient noise data. The initial noise cancellation data is adjusted according to the window data to obtain the target noise cancellation data. The initial simulated sound wave data is obtained, the target noise cancellation data and the initial simulated sound wave data are synthesized to obtain the target simulated sound wave data, and the target simulated sound wave data is controlled to be played. When playing the target simulated sound wave data, the target noise cancellation data in the target simulated sound wave data can cancel the ambient noise data, thereby solving the problem that the ambient noise will mask the sound of the engine simulated sound wave in the presence of ambient noise, and improving the sound quality of the engine simulated sound wave.

[0089] See also Figure 3 In some embodiments, the phase elimination process includes filtering and phase inversion, and step S102 includes but is not limited to steps S301 to S302:

[0090] Step S301, filtering the environmental noise data to obtain noise filtered data;

[0091] Step S302: performing phase inversion processing on the noise filtered data to obtain initial noise canceling data.

[0092] In step S301 of some embodiments, noise usually has complex frequency components and phase characteristics. Directly performing phase inversion processing on the environmental noise data requires high-precision calculations, and it is difficult to ensure that the generated initial noise cancellation data is completely opposite in phase to the environmental noise data and has the same amplitude, which will affect the noise reduction effect. Therefore, the environmental noise data needs to be filtered to obtain noise filtered data.

[0093] In step S302 of some embodiments, after the noise filtering data is obtained, the waveform in the noise filtering data is inverted to change the phase characteristics of the sound wave in the noise filtering data without changing the amplitude of the sound wave, thereby obtaining initial noise cancellation data.

[0094] In step S301 to step S302 shown in this embodiment, by first filtering the environmental noise data and then performing phase inversion processing on the noise filtering data, more accurate initial noise cancellation data is generated.

[0095] See also Figure 4 In some embodiments, step S201 may also include but is not limited to steps S401 to S402:

[0096] Step S401, searching for a plurality of consecutive preset opening intervals according to the window opening data to obtain a target opening interval;

[0097] Step S402: Acquire the loudness corresponding to the target opening range to obtain first loudness data.

[0098] In step S401 of some embodiments, different window control modes allow different positions where the windows can stop. Some window control modes allow the windows to stop at any position, and the corresponding window opening data is continuous data. Some window control modes only allow the windows to stop at preset positions, and the corresponding window opening data is discrete data. When the window opening data is continuous data, it is difficult to calibrate the corresponding loudness one by one. Therefore, multiple continuous preset opening intervals are set, and each preset opening interval corresponds to a loudness. The interval into which the window opening data falls is taken as the target opening interval. In one example, the window opening range is [0,30cm], and the multiple continuous preset opening intervals are [0, 10cm), [10, 20cm) and [20, 30cm].

[0099] In step S402 of some embodiments, each preset opening interval is pre-calibrated to correspond to a loudness, and after the target opening interval is obtained, the loudness corresponding to the target opening interval can be acquired to obtain the first loudness data.

[0100] In step S401 to step S402 shown in this embodiment, the loudness corresponding to the target opening interval is obtained through the target opening interval corresponding to the window opening data, thereby obtaining the first loudness data corresponding to the window opening data, so as to adjust the initial noise cancellation data based on the first loudness data.

[0101] See also Figure 5 In some embodiments, step S105 includes but is not limited to steps S501 to S505:

[0102] Step S501, in response to the sound wave mode selected by the target object, obtaining original simulated sound wave data;

[0103] Step S502, obtaining the target object's operation data on the vehicle; wherein the operation data includes at least one operation sub-data;

[0104] Step S503, determining the corresponding loudness according to the operation sub-data to obtain at least one second loudness data;

[0105] Step S504, summing up at least one second loudness data to obtain target loudness data;

[0106] Step S505 , adjusting the original simulated sound wave data according to the target loudness data to obtain initial simulated sound wave data.

[0107] In step S501 of some embodiments, multiple types of engine simulated sound wave data are pre-stored in the vehicle, and different sound wave modes correspond to different engine simulated sound wave data. According to the sound wave mode selected by the target object, the corresponding original simulated sound wave data is obtained.

[0108] In step S502 of some embodiments, the operation data is data that affects the loudness of the simulated engine sound. For example, the depth of the accelerator pedal directly reflects the driver's demand for engine power and speed. When the depth of the accelerator pedal increases, the engine's intake volume and fuel injection volume increase accordingly, resulting in an increase in engine speed and increased power. In this process, the combustion and exhaust processes in the cylinder will produce stronger vibrations and airflows, thereby forming louder sounds. Therefore, adjusting the loudness of the simulated engine sound according to the accelerator pedal depth data can more realistically reflect the actual working state of the engine. Therefore, it is necessary to obtain the target object's operation data on the vehicle, so as to adjust the original simulated sound data based on the operation data. Among them, the operation data includes at least one operation sub-data.

[0109] In some embodiments, the vehicle further includes an air conditioner and an accelerator pedal, the operation sub-data includes virtual engine speed data, air volume data of the air conditioner, current gear data of the vehicle, or accelerator pedal depth data of the accelerator pedal, and step S503 may also include but is not limited to steps S601 to S604:

[0110] Step S601, determining the corresponding loudness according to the virtual engine speed data to obtain second loudness data;

[0111] Step S602, determining the corresponding loudness according to the wind volume data to obtain second loudness data;

[0112] Step S603, determining the corresponding loudness according to the current gear position data to obtain second loudness data;

[0113] Step S604: determining the corresponding loudness according to the accelerator pedal depth data to obtain second loudness data.

[0114] In steps S601 to S604 shown in this embodiment, the virtual engine speed data, air volume data, current gear data and accelerator pedal depth data are all data that affect the loudness of the simulated engine sound. Therefore, the loudness corresponding to the virtual engine speed data, air volume data, current gear data and accelerator pedal depth data is pre-calibrated respectively, so as to obtain the corresponding second loudness data.

[0115] It should be noted that when the air conditioner is turned on, the greater the air volume, the greater the noise generated. The loudness of the original simulated sound wave data needs to be adjusted according to the air volume data to prevent the generated noise from covering the sound of the engine simulated sound wave. The engine speed will also affect the loudness of the original simulated sound wave data, but since there is no engine on the vehicle, in order to facilitate the adjustment of the loudness of the original simulated sound wave data, a virtual engine speed data is set.

[0116] In some embodiments, in step S504 to step S505, all second loudness data are summed to obtain target loudness data, and the loudness of the original simulated sound wave data is adjusted according to the target loudness data to obtain initial simulated sound wave data.

[0117] In steps S501 to S505 shown in this embodiment, the original simulated sound data is adjusted by the target loudness data to obtain the initial simulated sound data, so that the sound corresponding to the initial simulated sound data can be closer to the real engine sound.

[0118] Please refer to Figure 7 In some embodiments, the operation sub-data includes virtual engine speed data, and step S502 may also include but is not limited to steps S701 to S702:

[0119] Step S701, obtaining the current speed of the vehicle and obtaining the current speed data;

[0120] Step S702: Find virtual engine speed data from a preset vehicle speed mapping table according to the current vehicle speed data.

[0121] In step S701 of some embodiments, since there is no engine on the vehicle, the engine speed cannot be directly obtained. Therefore, virtual engine speed data can be obtained based on the current vehicle speed data. Therefore, the current speed of the vehicle is first obtained to obtain the current vehicle speed data.

[0122] In step S702 of some embodiments, if the maximum vehicle speed is 120 km / h, the engine speed can reach 6000 rpm at the maximum vehicle speed. Therefore, the calculation formula between the virtual engine speed and the vehicle speed can be fitted as shown in the following formula (1):

[0123] R v =40×v+1200, (1)

[0124] Among them, R v is the virtual engine speed, and v is the vehicle speed. The vehicle speed mapping table is calculated by formula (1), and then the virtual engine speed data is found from the vehicle speed mapping table according to the current vehicle speed data, so that the virtual engine speed data can be quickly obtained.

[0125] In step S701 to step S702 shown in this embodiment, virtual engine speed data is obtained through current vehicle speed data, so that the original simulated sound wave data is adjusted based on the virtual engine speed data.

[0126] See also Figure 8 The embodiment of the present application also provides an engine simulated sound wave adjustment device, which can implement the above-mentioned engine simulated sound wave adjustment method. The device is applied to a vehicle, and the device includes:

[0127] The first acquisition module 801 is used to acquire environmental noise data in the vehicle;

[0128] The elimination module 802 is used to perform phase elimination processing on the environmental noise data to obtain initial noise cancellation data;

[0129] The second acquisition module 803 is used to acquire vehicle window data; wherein the vehicle window data is used to characterize the impact of the vehicle window on the environmental noise data;

[0130] An adjustment module 804 is used to adjust the initial noise cancellation data according to the vehicle window data to obtain target noise cancellation data;

[0131] The third acquisition module 805 is used to acquire initial simulated sound wave data;

[0132] A synthesis module 806 is used to synthesize the target noise cancellation data and the initial simulated sound wave data to obtain the target simulated sound wave data;

[0133] The playing module 807 is used to control the target simulated sound wave data to be played.

[0134] The specific implementation of the engine simulation sound wave adjustment device is basically the same as the specific implementation of the above-mentioned engine simulation sound wave adjustment method, and will not be repeated here.

[0135] An embodiment of the present application also provides a vehicle, the vehicle includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned engine simulated sound adjustment method when executing the computer program.

[0136] See also Fig. 9 , Fig. 9 The hardware structure of a vehicle of another embodiment is illustrated, and the vehicle includes:

[0137] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0138] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the engine simulation sound adjustment method of the embodiment of this application;

[0139] Input / output interface 903, used to implement information input and output;

[0140] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);

[0141] A bus 905 that transmits information between various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);

[0142] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .

[0143] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned engine simulated sound adjustment method is implemented.

[0144] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0145] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0146] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0147] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0148] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0149] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0150] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0151] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0152] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0153] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0154] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0155] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A method for adjusting simulated engine sound, characterized in that: Applied to a vehicle, the method comprises: Acquiring environmental noise data within the vehicle; Performing phase cancellation processing on the environmental noise data to obtain initial noise cancellation data; Acquire vehicle window data of the vehicle; wherein the vehicle window data is used to characterize the impact of the vehicle window on the environmental noise data; Adjusting the initial noise cancellation data according to the vehicle window data to obtain target noise cancellation data; Obtain initial simulated sound wave data; The target noise cancellation data and the initial simulated sound wave data are synthesized to obtain target simulated sound wave data; Control the target simulated sound wave data to play.

2. The method according to claim 1, characterized in that: The phase elimination process includes filtering process and phase inversion process, and the phase elimination process is performed on the environmental noise data to obtain initial noise cancellation data, including: Performing the filtering process on the environmental noise data to obtain noise filtered data; The phase inversion process is performed on the noise filtering data to obtain the initial noise cancellation data.

3. The method according to claim 1, characterized in that The vehicle window data includes vehicle window opening data, and the initial noise cancellation data is adjusted according to the vehicle window data to obtain target noise cancellation data, including: Determine first loudness data according to the vehicle window opening data; The initial noise cancellation data is adjusted according to the first loudness data to obtain the target noise cancellation data.

4. The method according to claim 1, characterized in that: The determining the first loudness data according to the window opening data comprises: Searching for a plurality of consecutive preset opening intervals according to the window opening data to obtain a target opening interval; The loudness corresponding to the target opening range is acquired to obtain the first loudness data.

5. The method according to claim 1, characterized in that The obtaining of initial simulated sound wave data comprises: Responsive to the sound wave mode selected by the target object, obtaining original simulated sound wave data; Acquire operation data of the target object on the vehicle; wherein the operation data includes at least one operation sub-data; Determine the corresponding loudness according to the operation sub-data to obtain at least one second loudness data; summing at least one of the second loudness data to obtain target loudness data; The original simulated sound wave data is adjusted according to the target loudness data to obtain the initial simulated sound wave data.

6. The method according to claim 5, characterized in that The operation sub-data includes virtual engine speed data, and the step of obtaining the operation data of the target object on the vehicle includes: Obtaining the current speed of the vehicle to obtain current vehicle speed data; The virtual engine speed data is found from a preset vehicle speed mapping table according to the current vehicle speed data.

7. The method according to claim 5, characterized in that The vehicle further includes an air conditioner and an accelerator pedal, the operation sub-data includes virtual engine speed data, air volume data of the air conditioner, current gear data of the vehicle, or accelerator pedal depth data of the accelerator pedal, and the corresponding loudness is determined according to the operation sub-data to obtain at least one second loudness data, including: determining a corresponding loudness according to the virtual engine speed data to obtain the second loudness data; Determine the corresponding loudness according to the wind volume data to obtain the second loudness data; Determine the corresponding loudness according to the current gear data to obtain the second loudness data; The corresponding loudness is determined according to the accelerator pedal depth data to obtain the second loudness data.

8. An engine simulation sound wave adjustment device, characterized in that: Applied to a vehicle, the device comprises: A first acquisition module, used to acquire environmental noise data in the vehicle; An elimination module, used for performing phase elimination processing on the environmental noise data to obtain initial noise cancellation data; A second acquisition module is used to acquire vehicle window data of the vehicle; wherein the vehicle window data is used to characterize the impact of the vehicle window on the environmental noise data; An adjustment module, used for adjusting the initial noise cancellation data according to the vehicle window data to obtain target noise cancellation data; The third acquisition module is used to acquire initial simulated sound wave data; A synthesis module, used for synthesizing the target noise cancellation data and the initial simulated sound wave data to obtain target simulated sound wave data; The playing module is used to control the target simulated sound wave data to be played.

9. A vehicle, characterized in that: The vehicle includes a memory and a processor, the memory stores a computer program, and the processor implements the engine simulation sound adjustment method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for adjusting the simulated engine sound according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Automobile active sound wave device and control method thereof

    CN112259067A

  • Audio noise reduction method, method and device for determining mapping information and electronic equipment

    CN114882879A

  • Vehicle-mounted audio simulation sound wave debugging method, system and device and medium

    CN116090085A

  • Vehicle noise simulation method and device, electronic equipment and storage medium

    CN116364050A

  • Electric vehicle sound wave control method and device, electronic equipment and storage medium

    CN117087539A