Noise-based in-vehicle volume control method, device, equipment and storage medium
By obtaining and processing outside the vehicle noise, and automatically adjusting the speaker volume using the noise mapping relationship and decibel superposition formula, the problem of unclear sound in the vehicle is solved and driving safety is improved.
Patent Information
- Application Number
- CN202211460894.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-16
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2042-11-16
AI Technical Summary
During the vehicle driving, changes in noise outside the vehicle lead to unclear sound of speakers in the vehicle. The prior art requires users to manually adjust the speaker volume, resulting in distraction affecting driving safety.
By obtaining the noise outside the car, using the pre-configured noise mapping relationship and decibel superposition formula, the speaker volume is automatically adjusted to adapt to noise changes, and the speaker volume is automatically adjusted.
No need for users to manually adjust the speaker volume, avoid distractions, improve driving safety, and ensure clarity of sounds such as navigation and music.
Smart Images

Figure CN115755702B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a noise-based in-vehicle volume control method, device, equipment and storage medium. Background Art
[0002] At present, when a vehicle is driving, the noise outside the vehicle will continuously enter the vehicle. The noise will change constantly, but the sound of the speakers inside the vehicle will not change automatically, which may cause the navigation, music and other sounds to be unclear. In the prior art, the speaker volume is generally adjusted manually to adapt to the change of noise. However, when the user manually adjusts the speaker volume, it will cause the user to be distracted and affect driving safety. Summary of the invention
[0003] The present invention provides a noise-based in-vehicle volume control method, device, equipment and storage medium to achieve automatic adjustment of the loudspeaker volume, thereby adapting to noise changes.
[0004] In a first aspect, in order to solve the above technical problems, the present invention provides a noise-based in-vehicle volume control method, comprising:
[0005] Acquire the external noise of the vehicle during driving; wherein the external noise includes engine noise, external wind noise and external tire noise;
[0006] Obtaining the vehicle interior noise corresponding to the vehicle exterior noise according to the vehicle exterior noise and a pre-configured vehicle exterior noise and vehicle interior noise mapping relationship;
[0007] According to the decibel superposition formula and the in-vehicle noise, a decibel value of the in-vehicle noise after superposition is calculated;
[0008] Obtaining a loudspeaker volume corresponding to the in-vehicle noise decibel value according to the in-vehicle noise decibel value and a pre-configured mapping relationship between the in-vehicle noise decibel value and the loudspeaker volume;
[0009] The volume in the vehicle is controlled according to the volume of the speaker.
[0010] Preferably, the calculation of the decibel value of the in-vehicle noise after superposition based on the decibel superposition formula and the in-vehicle noise includes:
[0011] The judgment is made according to the sound pressure level corresponding to each of the in-vehicle noises; wherein the in-vehicle noises include in-vehicle engine noise, in-vehicle wind noise and in-vehicle tire noise;
[0012] When it is determined that the sound pressure levels of any two of the interior noises are equal, the sound pressure level of the two interior noises after superposition is calculated according to the decibel superposition formula, and the superposition sound pressure level is superimposed with the sound pressure level of another interior noise to obtain the decibel value of the interior noise;
[0013] When it is determined that the sound pressure levels of any two of the in-vehicle noises are not equal, the sound pressure levels of the in-vehicle noises are arranged from large to small, and the decibel value of the in-vehicle noise is calculated in a pairwise synthesis manner according to the decibel superposition formula.
[0014] Preferably, the configuration process of the mapping relationship between the external noise and the internal noise includes:
[0015] When the engine is in an idling state, noise collected by microphones placed on the engine side and the steering wheel side is obtained respectively, and a first mapping relationship between the engine noise and the noise inside the vehicle is constructed;
[0016] When the vehicle is stationary and wind is blowing toward the front windshield, noise collected by microphones placed on the front windshield side and the steering wheel side is obtained respectively, and a second mapping relationship between the wind noise outside the vehicle and the noise inside the vehicle is constructed;
[0017] When the vehicle is driving, the microphones placed on the tire frame side and the steering wheel side collect noise respectively, and a third mapping relationship between the tire noise outside the vehicle and the noise inside the vehicle is constructed.
[0018] Preferably, the configuration process of the mapping relationship between the in-vehicle noise decibel value and the speaker volume includes:
[0019] Acquire multiple groups of historical in-vehicle noise decibel values and historical speaker volumes corresponding to the historical in-vehicle noise decibel values; wherein the historical speaker volume is the volume set by the user in the state corresponding to the historical in-vehicle noise decibel value;
[0020] Curve fitting is performed according to the multiple groups of historical in-vehicle noise decibel values and the historical speaker volumes to obtain a mapping relationship between the in-vehicle noise decibel values and the speaker volumes.
[0021] Preferably, after calculating and obtaining the superimposed in-vehicle noise decibel value, the method further comprises:
[0022] Determine whether the decibel value of the in-vehicle noise is greater than a preset decibel threshold. If so, do not adjust the speaker volume; if not, execute the step of obtaining the speaker volume corresponding to the in-vehicle noise decibel value according to the in-vehicle noise decibel value and the pre-configured mapping relationship between the in-vehicle noise decibel value and the speaker volume.
[0023] Preferably, the decibel value of the noise inside the vehicle is calculated in a pairwise synthesis manner according to the decibel superposition formula, including:
[0024] Calculating the difference in sound pressure levels of the two interior noises;
[0025] Searching according to the difference and a preset noise curve graph to obtain a difference noise sound pressure level corresponding to the difference;
[0026] Calculating the sum of the sound pressure level of the interior noise and the sound pressure level of the difference noise to obtain a composite sound pressure level of the two noises;
[0027] The synthesized sound pressure level of the two noises is superimposed on the sound pressure level of another noise inside the vehicle to obtain the decibel value of the noise inside the vehicle.
[0028] In a second aspect, the present invention provides a noise-based in-vehicle volume control device, comprising:
[0029] A data acquisition module, used to acquire the external noise of the vehicle during driving; wherein the external noise includes engine noise, external wind noise and external tire noise;
[0030] A noise matching module, configured to obtain the vehicle interior noise corresponding to the vehicle exterior noise according to the vehicle exterior noise and a pre-configured mapping relationship between the vehicle exterior noise and the vehicle interior noise;
[0031] A noise superposition module, used to calculate the decibel value of the in-vehicle noise after superposition according to the decibel superposition formula and the in-vehicle noise;
[0032] A volume matching module, used for obtaining a loudspeaker volume corresponding to the in-vehicle noise decibel value according to the in-vehicle noise decibel value and a pre-configured mapping relationship between the in-vehicle noise decibel value and the loudspeaker volume;
[0033] The volume control module is used to control the volume in the vehicle according to the volume of the speaker.
[0034] Preferably, the noise superposition module comprises:
[0035] A sound pressure level judgment unit, used to judge according to the sound pressure level corresponding to each of the in-vehicle noises; wherein the in-vehicle noises include in-vehicle engine noise, in-vehicle wind noise and in-vehicle tire noise;
[0036] A first superposition unit is used for, when it is determined that the sound pressure levels of any two of the interior noises are equal, calculating the superimposed sound pressure levels of the two interior noises according to a decibel superposition formula, and superimposing the superimposed sound pressure level with the sound pressure level of another interior noise to obtain a decibel value of the interior noise;
[0037] The second superposition unit is used to arrange the sound pressure levels of the vehicle interior noise from large to small when it is determined that the sound pressure levels of any two vehicle interior noises are not equal, and calculate the decibel value of the vehicle interior noise in a pairwise synthesis manner according to the decibel superposition formula.
[0038] In a third aspect, the present invention also provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the noise-based in-vehicle volume control method described above is implemented.
[0039] In a fourth aspect, the present invention further provides a computer-readable storage medium, the computer-readable storage medium comprising a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned noise-based in-vehicle volume control methods.
[0040] Compared with the prior art, the present invention has the following beneficial effects:
[0041] The present invention provides a method for controlling the volume in a car based on noise, including obtaining the external noise during the driving process of the vehicle; wherein the external noise includes engine noise, external wind noise and external tire noise; obtaining the internal noise corresponding to the external noise according to the external noise and the pre-configured mapping relationship between the external noise and the internal noise; calculating the superimposed decibel value of the internal noise according to the decibel superposition formula and the internal noise; obtaining the speaker volume corresponding to the decibel value of the internal noise according to the decibel value of the internal noise and the pre-configured mapping relationship between the decibel value of the internal noise and the speaker volume; and controlling the volume in the car according to the speaker volume. The present invention searches for the pre-configured mapping relationship through the acquired noise information, thereby obtaining and adjusting the speaker volume in the car to the corresponding noise decibel, and can realize automatic adjustment of the speaker volume, thereby adapting to the change of noise. In the process of noise change, when the user does not need to manually adjust the speaker volume, the driving safety problem caused by user distraction is avoided. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 is a flow chart of a noise-based in-vehicle volume control method provided by a first embodiment of the present invention;
[0043] Figure 2 is a noise curve diagram provided by an embodiment of the present invention;
[0044] Figure 3 2 is a schematic diagram of the structure of a noise-based in-vehicle volume control device provided in a second embodiment of the present invention. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] Reference Figure 1 The first embodiment of the present invention provides a method for controlling the volume of a vehicle based on noise, comprising the following steps:
[0047] S11, obtaining external noise during vehicle driving; wherein the external noise includes engine noise, external wind noise and external tire noise;
[0048] S12, obtaining the vehicle interior noise corresponding to the vehicle exterior noise according to the vehicle exterior noise and a pre-configured mapping relationship between the vehicle exterior noise and the vehicle interior noise;
[0049] S13, calculating a decibel value of the in-vehicle noise after superposition according to the decibel superposition formula and the in-vehicle noise;
[0050] S14, obtaining a speaker volume corresponding to the in-vehicle noise decibel value according to the in-vehicle noise decibel value and a pre-configured mapping relationship between the in-vehicle noise decibel value and the speaker volume;
[0051] S15, controlling the volume in the vehicle according to the volume of the speaker.
[0052] In step S11, the external noise of the vehicle during driving is obtained; wherein the external noise includes engine noise, external wind noise and external tire noise. It should be noted that during driving, the noise inside the vehicle mainly comes from engine noise, wind noise and tire noise. The embodiment of the present invention mainly collects these three types of noise to achieve volume adjustment. Of course, in other embodiments, other types of noise can also be collected, and the present invention does not limit this.
[0053] In step S12, the vehicle interior noise corresponding to the vehicle exterior noise is obtained according to the vehicle exterior noise and a pre-configured mapping relationship between the vehicle exterior noise and the vehicle interior noise.
[0054] The configuration process of the mapping relationship between the external noise and the internal noise includes:
[0055] When the engine is in an idling state, noise collected by microphones placed on the engine side and the steering wheel side is obtained respectively, and a first mapping relationship between the engine noise and the noise inside the vehicle is constructed;
[0056] When the vehicle is stationary and wind is blowing toward the front windshield, noise collected by microphones placed on the front windshield side and the steering wheel side is obtained respectively, and a second mapping relationship between the wind noise outside the vehicle and the noise inside the vehicle is constructed;
[0057] When the vehicle is driving, the microphones placed on the tire frame side and the steering wheel side collect noise respectively, and a third mapping relationship between the tire noise outside the vehicle and the noise inside the vehicle is constructed.
[0058] In one embodiment, a microphone is placed on the engine side to measure the noise D1 of the engine, and a microphone is placed on the steering wheel side to measure the corresponding noise d1 in the car, and a first mapping table is established in the cloud. In order to eliminate other noise interference, the vehicle can be lifted and the engine can be put in an idling state to more accurately measure the attenuation of the engine noise transmitted into the car. Exemplarily, the measurement results are as follows: D1=60dB, d1=25dB; D1=80dB, d1=30dB. After obtaining the measurement results, a first mapping relationship can be established by curve fitting, interval division, etc. For example, when the value of D1 is in the range of 59-61dB, the value of d1 is 25dB, and the present invention is not limited to this.
[0059] In one embodiment, a microphone is placed on the side of the front windshield to measure the wind noise F1 outside the vehicle, and a microphone is placed on the side of the steering wheel to measure the corresponding wind noise f1 inside the vehicle, and a second mapping table is established in the cloud. To eliminate other noise interference, the vehicle can be stationary in the laboratory, and wind can be blown toward the front windshield to measure the corresponding values of the wind noise outside the vehicle and the wind noise inside the vehicle.
[0060] In one embodiment, a microphone is placed on the tire frame side to measure the tire noise T1 outside the vehicle, and a microphone is placed on the steering wheel side to measure the corresponding tire noise t1 inside the vehicle, and a third mapping table is established in the cloud.
[0061] In step S13, the decibel value of the in-vehicle noise after superposition is calculated according to the decibel superposition formula and the in-vehicle noise. In a specific implementation, the judgment is made according to the sound pressure level corresponding to each in-vehicle noise; wherein the in-vehicle noise includes in-vehicle engine noise, in-vehicle wind noise and in-vehicle tire noise.
[0062] In one embodiment, when it is determined that the sound pressure levels of any two of the interior noises are equal, the sound pressure level of the two interior noises after superposition is calculated according to the decibel superposition formula, and the superposed sound pressure level is superimposed with the sound pressure level of another interior noise to obtain the interior noise decibel value;
[0063] It should be noted that when it is determined that the sound pressure levels of any two of the in-vehicle noises are equal, it includes the case where two sound pressure levels are equal or three sound pressure levels are equal. When the sound intensity of two sound sources at a certain point is I1 and I2, the total sound intensity after superposition is: total = I1 + I2. However, the sound pressure cannot be added directly, because I1 = P1^2 / ρc, I2 = P2^2 / ρc, so:
[0064] Ptotal^2=P1^2+P2^2 Also (P1 / P0)^2=10^(Lp1 / 10)(P2 / P0)^2=10^(Lp2 / 10)
[0065] It can be obtained that when it is determined that the sound pressure levels of any two of the in-car noises are equal, the total sound pressure level is:
[0066] LP12=10l g[(P1^2+P2^2) / P0^2]=10l g[10^(Lp1 / 10)+10^(Lp2 / 10)]
[0067] After the superimposed sound pressure level LP12 is obtained, the superimposed sound pressure level LP12 is superimposed with the sound pressure level LP3 of another in-vehicle noise to obtain the in-vehicle noise decibel value.
[0068] Specifically, when LP12 is equal to LP3, LP12,3=10l g[10^(Lp12 / 10)+10^(Lp3 / 10)]; when LP12 is not equal to LP3, assume that LP12>LP3, and use the LP12-LP3 value to find ΔLP according to the preset noise curve diagram, then the total sound pressure level LPtotal=LP12+ΔLP.
[0069] In another embodiment, when it is determined that the sound pressure levels of any two of the in-vehicle noises are not equal, the sound pressure levels of the in-vehicle noises are arranged from large to small, and the decibel value of the in-vehicle noise is calculated in a pairwise synthesis manner according to the decibel superposition formula.
[0070] The decibel value of the noise inside the vehicle is calculated by pairwise synthesis according to the decibel superposition formula, including:
[0071] Calculating the difference in sound pressure levels of the two interior noises;
[0072] Searching according to the difference and a preset noise curve graph to obtain a difference noise sound pressure level corresponding to the difference;
[0073] Calculating the sum of the sound pressure level of the interior noise and the sound pressure level of the difference noise to obtain a composite sound pressure level of the two noises;
[0074] The synthesized sound pressure level of the two noises is superimposed on the sound pressure level of another noise inside the vehicle to obtain the decibel value of the noise inside the vehicle.
[0075] Reference Figure 2 , for example, let LP1 = d1 = 89dB, LP2 = f1 = 86dB, LP3 = t1 = 84dB, and the order is LP1, LP2, LP3. Then, the difference noise sound pressure level ΔLP is obtained according to the noise curve chart using the value of LP1-LP2, and the composite sound pressure level of the two noises LP1,2 total = LP1 + ΔLP, that is, LP1,2 total = 89 + △LP = 89 + 1.8 = 90.8dB. Next, the difference noise sound pressure level ΔLP is obtained according to the noise curve chart using the value of LP1,2 total – LP3, and LP1,2,3 total = LP1,2 total + △LP = 90.8 + 0.8 = 91.6dB is calculated, and the decibel value of the interior noise transmitted into the car is 91.6dB.
[0076] In step S14, the speaker volume corresponding to the in-vehicle noise decibel value is obtained according to the in-vehicle noise decibel value and a pre-configured mapping relationship between the in-vehicle noise decibel value and the speaker volume.
[0077] The configuration process of the mapping relationship between the decibel value of the in-vehicle noise and the volume of the speaker includes:
[0078] Acquire multiple groups of historical in-vehicle noise decibel values and historical speaker volumes corresponding to the historical in-vehicle noise decibel values; wherein the historical speaker volume is the volume set by the user in the state corresponding to the historical in-vehicle noise decibel value;
[0079] Curve fitting is performed according to the multiple groups of historical in-vehicle noise decibel values and the historical speaker volumes to obtain a mapping relationship between the in-vehicle noise decibel values and the speaker volumes.
[0080] In the specific implementation, by obtaining multiple groups of historical data, the most suitable volume of the speaker under different noise decibels in the car is obtained, and a mapping table of the noise decibel value in the car and the speaker volume is established in the cloud.
[0081] In step S15, the volume in the car is controlled according to the volume of the speaker. In practice, the entire calculation process can be executed in the cloud, and the most suitable volume is found in the cloud and sent to the car computer for execution. By establishing a mapping table in the cloud and selecting the push scheme in the cloud, the car computer is only responsible for execution, which reduces the computing power loss of the car computer.
[0082] In order to facilitate the understanding of the present invention, some preferred embodiments of the present invention are further described below.
[0083] In a preferred implementation, after calculating and obtaining the superimposed in-vehicle noise decibel value, the method further includes:
[0084] Determine whether the decibel value of the in-vehicle noise is greater than a preset decibel threshold. If so, do not adjust the speaker volume; if not, execute the step of obtaining the speaker volume corresponding to the in-vehicle noise decibel value according to the in-vehicle noise decibel value and the pre-configured mapping relationship between the in-vehicle noise decibel value and the speaker volume.
[0085] Exemplarily, the preset decibel threshold is 50 dB. In order to prevent excessive noise in the car from being superimposed on the sound of the car speaker and causing damage to the user's ears, when the decibel superposition of the noise in the car is greater than 50 dB, the speaker volume is not adjusted.
[0086] The present invention searches for a pre-configured mapping relationship through the acquired noise information, thereby obtaining and adjusting the volume in the car to the speaker volume corresponding to the noise decibel, and can realize automatic adjustment of the speaker volume to adapt to the change of noise. In the process of noise change, the user does not need to manually adjust the speaker volume, thus avoiding driving safety problems caused by user distraction.
[0087] Reference Figure 3 The second embodiment of the present invention provides a noise-based in-vehicle volume control device, comprising:
[0088] A data acquisition module, used to acquire the external noise of the vehicle during driving; wherein the external noise includes engine noise, external wind noise and external tire noise;
[0089] A noise matching module, configured to obtain the vehicle interior noise corresponding to the vehicle exterior noise according to the vehicle exterior noise and a pre-configured mapping relationship between the vehicle exterior noise and the vehicle interior noise;
[0090] A noise superposition module, used to calculate the decibel value of the in-vehicle noise after superposition according to the decibel superposition formula and the in-vehicle noise;
[0091] A volume matching module, used for obtaining a loudspeaker volume corresponding to the in-vehicle noise decibel value according to the in-vehicle noise decibel value and a pre-configured mapping relationship between the in-vehicle noise decibel value and the loudspeaker volume;
[0092] The volume control module is used to control the volume in the vehicle according to the volume of the speaker.
[0093] Preferably, the noise superposition module comprises:
[0094] A sound pressure level judgment unit, used to judge according to the sound pressure level corresponding to each of the in-vehicle noises; wherein the in-vehicle noises include in-vehicle engine noise, in-vehicle wind noise and in-vehicle tire noise;
[0095] A first superposition unit is used for, when it is determined that the sound pressure levels of any two of the interior noises are equal, calculating the superimposed sound pressure levels of the two interior noises according to a decibel superposition formula, and superimposing the superimposed sound pressure level with the sound pressure level of another interior noise to obtain a decibel value of the interior noise;
[0096] The second superposition unit is used to arrange the sound pressure levels of the vehicle interior noise from large to small when it is determined that the sound pressure levels of any two vehicle interior noises are not equal, and calculate the decibel value of the vehicle interior noise in a pairwise synthesis manner according to the decibel superposition formula.
[0097] It should be noted that the noise-based in-vehicle volume control device provided in an embodiment of the present invention is used to execute all the process steps of the noise-based in-vehicle volume control method in the above embodiment, and the working principles and beneficial effects of the two correspond one to one, so they are not repeated here.
[0098] The embodiment of the present invention further provides a terminal device. The terminal device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as a noise-based in-vehicle volume control program. When the processor executes the computer program, the steps in the above-mentioned embodiments of the noise-based in-vehicle volume control method are implemented, such as Figure 1 Alternatively, when the processor executes the computer program, the functions of the modules / units in the above-mentioned device embodiments are realized, such as the volume matching module.
[0099] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the terminal device.
[0100] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, and a smart tablet. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the above components are merely examples of terminal devices and do not constitute a limitation on the terminal device. The terminal device may include more or fewer components than the above components, or may combine certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.
[0101] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[0102] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the terminal device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Fl ash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0103] Wherein, if the module / unit integrated in the terminal device 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 such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0104] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0105] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A noise-based in-vehicle volume control method, characterized in that: include: Acquire the external noise of the vehicle during driving; wherein the external noise includes engine noise, external wind noise and external tire noise; Obtaining the vehicle interior noise corresponding to the vehicle exterior noise according to the vehicle exterior noise and a pre-configured vehicle exterior noise and vehicle interior noise mapping relationship; According to the decibel superposition formula and the in-vehicle noise, a decibel value of the in-vehicle noise after superposition is calculated; Obtaining a loudspeaker volume corresponding to the in-vehicle noise decibel value according to the in-vehicle noise decibel value and a pre-configured mapping relationship between the in-vehicle noise decibel value and the loudspeaker volume; Controlling the volume in the vehicle according to the volume of the speaker; The configuration process of the mapping relationship between the external noise and the internal noise includes: When the engine is in an idling state, noise collected by microphones placed on the engine side and the steering wheel side is obtained respectively, and a first mapping relationship between the engine noise and the noise inside the vehicle is constructed; When the vehicle is stationary and wind is blowing toward the front windshield, noise collected by microphones placed on the front windshield side and the steering wheel side is obtained respectively, and a second mapping relationship between the wind noise outside the vehicle and the noise inside the vehicle is constructed; When the vehicle is driving, the microphones placed on the tire frame side and the steering wheel side collect noise respectively, and a third mapping relationship between the tire noise outside the vehicle and the noise inside the vehicle is constructed.
2. The noise-based in-vehicle volume control method according to claim 1, characterized in that: The decibel value of the in-vehicle noise after superposition is calculated based on the decibel superposition formula and the in-vehicle noise, including: The judgment is made according to the sound pressure level corresponding to each of the in-vehicle noises; wherein the in-vehicle noises include in-vehicle engine noise, in-vehicle wind noise and in-vehicle tire noise; When it is determined that the sound pressure levels of any two of the interior noises are equal, the sound pressure level of the two interior noises after superposition is calculated according to the decibel superposition formula, and the superposition sound pressure level is superimposed with the sound pressure level of another interior noise to obtain the decibel value of the interior noise; When it is determined that the sound pressure levels of any two of the in-vehicle noises are not equal, the sound pressure levels of the in-vehicle noises are arranged from large to small, and the decibel value of the in-vehicle noise is calculated in a pairwise synthesis manner according to the decibel superposition formula.
3. The noise-based in-vehicle volume control method according to claim 1, characterized in that: The configuration process of the mapping relationship between the in-vehicle noise decibel value and the speaker volume includes: Acquire multiple groups of historical in-vehicle noise decibel values and historical speaker volumes corresponding to the historical in-vehicle noise decibel values; wherein the historical speaker volume is the volume set by the user in the state corresponding to the historical in-vehicle noise decibel value; Curve fitting is performed according to the multiple groups of historical in-vehicle noise decibel values and the historical speaker volumes to obtain a mapping relationship between the in-vehicle noise decibel values and the speaker volumes.
4. The noise-based in-vehicle volume control method according to claim 1, characterized in that: After the superimposed in-vehicle noise decibel value is obtained by calculation, the method further includes: Determine whether the decibel value of the in-vehicle noise is greater than a preset decibel threshold. If so, do not adjust the speaker volume; if not, execute the step of obtaining the speaker volume corresponding to the in-vehicle noise decibel value according to the in-vehicle noise decibel value and the pre-configured mapping relationship between the in-vehicle noise decibel value and the speaker volume.
5. The noise-based in-vehicle volume control method according to claim 2, characterized in that: The decibel value of the noise inside the vehicle is calculated by pairwise synthesis according to the decibel superposition formula, including: Calculating the difference in sound pressure levels of the two interior noises; Searching according to the difference and a preset noise curve graph to obtain a difference noise sound pressure level corresponding to the difference; Calculating the sum of the sound pressure level of the interior noise and the sound pressure level of the difference noise to obtain a composite sound pressure level of the two noises; The synthesized sound pressure level of the two noises is superimposed on the sound pressure level of another noise inside the vehicle to obtain the decibel value of the noise inside the vehicle.
6. A noise-based in-vehicle volume control device, characterized in that: include: A data acquisition module, used to acquire the external noise of the vehicle during driving; wherein the external noise includes engine noise, external wind noise and external tire noise; A noise matching module, configured to obtain the vehicle interior noise corresponding to the vehicle exterior noise according to the vehicle exterior noise and a pre-configured mapping relationship between the vehicle exterior noise and the vehicle interior noise; A noise superposition module, used to calculate the decibel value of the in-vehicle noise after superposition according to the decibel superposition formula and the in-vehicle noise; A volume matching module, used for obtaining a loudspeaker volume corresponding to the in-vehicle noise decibel value according to the in-vehicle noise decibel value and a pre-configured mapping relationship between the in-vehicle noise decibel value and the loudspeaker volume; A volume control module, used to control the volume in the vehicle according to the volume of the speaker; The configuration process of the mapping relationship between the external noise and the internal noise in the noise matching module includes: When the engine is in an idling state, noise collected by microphones placed on the engine side and the steering wheel side is obtained respectively, and a first mapping relationship between the engine noise and the noise inside the vehicle is constructed; When the vehicle is stationary and wind is blowing toward the front windshield, noise collected by microphones placed on the front windshield side and the steering wheel side is obtained respectively, and a second mapping relationship between the wind noise outside the vehicle and the noise inside the vehicle is constructed; When the vehicle is driving, the microphones placed on the tire frame side and the steering wheel side collect noise respectively, and a third mapping relationship between the tire noise outside the vehicle and the noise inside the vehicle is constructed.
7. The noise-based in-vehicle volume control device according to claim 6, characterized in that: The noise superposition module comprises: A sound pressure level judgment unit, used to judge according to the sound pressure level corresponding to each of the in-vehicle noises; wherein the in-vehicle noises include in-vehicle engine noise, in-vehicle wind noise and in-vehicle tire noise; A first superposition unit is used for, when it is determined that the sound pressure levels of any two of the interior noises are equal, calculating the superimposed sound pressure levels of the two interior noises according to a decibel superposition formula, and superimposing the superimposed sound pressure level with the sound pressure level of another interior noise to obtain a decibel value of the interior noise; The second superposition unit is used to arrange the sound pressure levels of the vehicle interior noise from large to small when it is determined that the sound pressure levels of any two vehicle interior noises are not equal, and calculate the decibel value of the vehicle interior noise in a pairwise synthesis manner according to the decibel superposition formula.
8. A terminal device, characterized in that: The invention comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the noise-based in-vehicle volume control method according to any one of claims 1 to 5 when executing the computer program.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the noise-based in-vehicle volume control method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Video and audio playing device and volume control method
CN101459414A
Method for objectively and quantifiably evaluating noise fret degree in vehicle based on auditory model
CN101672690A
A method and a system for adjusting a volume intelligently according to a noise in a vehicle
CN104507003A
Whole vehicle sound source volume self-adaptive adjustment method and device
CN112672255A
Evaluation method and device for wind noise insulation performance of vehicle, equipment and storage medium
CN113505441A
