A method and device for optimizing the in-vehicle sound field and an audio control system
By detecting the warning target in the warning area in the vehicle, obtaining relative position parameters and reconstruction of the sound field, solving the problem of the vehicle audio system warning difficulty, real -time reaction warning target position and sports characteristics, and achieve better acoustic learning Experience and in -car warning reminder function.
Patent Information
- Application Number
- CN202411571177.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2044-11-06
AI Technical Summary
The warning sound of the car audio system is difficult to reflect the position information and movement characteristics of the warning target in real and real time, resulting in poor acoustic experience.
By detecting the warning target in the warning area in the vehicle, obtain the relative position parameters between the warning target and the vehicle. Based on these parameters, the internal sound field of the vehicle is restructured, the corresponding target alert sound source file is generated, and audio control is output to each speaker output audio control The signal makes the warning sound emitted with a specific acoustic characteristics, reflecting the position and movement direction of the warning target.
The sound field that reflects the position and movement of the warning target in the car, provides a more complete in -car warning reminder function, and enhances the user experience of car acoustics.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sound field control, and in particular to a method and device for optimizing the sound field in a vehicle, and an audio control system. Background Art
[0002] As the degree of intelligence of car cockpits becomes higher and higher, users and the market have new requirements for cars in terms of vision, hearing and touch. Vehicle warning sound is an important part of the function of the car audio system. In related technologies, most fuel vehicles are still using traditional audio playback control solutions, and traditional audio playback control solutions are usually: after the vehicle warning signal is triggered, the sound is played back using a fixed sound source, fixed configuration parameters, and a fixed position of the in-car speaker. It can only play a partial warning role, and cannot acoustically reflect the location information and movement characteristics of the warning target.
[0003] To address this drawback, some new energy vehicles use a 3D warning sound (3D Chime) design solution to deal with it. That is, after the vehicle warning signal is triggered, a variable sound source is used to respond to the prompt needs of different scenarios, or the sound order of different speakers in the cabin is controlled to respond to the prompt needs of different scenarios. However, this 3D warning sound solution can only alleviate the above problems to a certain extent. It is difficult to truly and real-timely reflect the location information and movement characteristics of the warning target, and the acoustic experience is poor. Summary of the invention
[0004] The purpose of the present invention is to provide a method, device and audio control system for optimizing the in-vehicle sound field, which can at least solve the problem in the related art that the warning sound of the vehicle audio system is difficult to truly and real-time reflect the location information and movement characteristics of the warning target.
[0005] A first aspect of an embodiment of the present invention provides a method for optimizing an in-vehicle sound field, which is applied to an audio control system of a target vehicle, wherein the audio control system is configured with a plurality of speakers, and different speakers are respectively installed at different positions in a cockpit of the target vehicle. The method for optimizing an in-vehicle sound field comprises:
[0006] When a warning target is detected in the warning area corresponding to the target vehicle, a relative position parameter between the warning target in the warning area and the target vehicle is obtained; wherein the relative position parameter reflects the orientation attribute and the distance attribute between the warning target and the target vehicle;
[0007] Reconstruct the sound field in the cockpit of the target vehicle based on the relative position parameters to obtain the corresponding target warning sound source file;
[0008] Based on the target warning sound source file, a corresponding audio control signal is output to each speaker respectively; wherein the audio control signal is used to make the warning sound emitted by the corresponding speaker have corresponding acoustic characteristics, so as to form a sound field in the target vehicle that reflects the position and movement direction of the warning target; the indicators of the acoustic characteristics include at least one of phase, amplitude, and frequency.
[0009] A second aspect of an embodiment of the present invention provides an in-vehicle sound field optimization device, which is applied to an audio control system of a target vehicle, wherein the audio control system is configured with a plurality of speakers, and different speakers are respectively installed at different positions in a cockpit of the target vehicle; the in-vehicle sound field optimization device comprises:
[0010] A parameter acquisition module is used to acquire relative position parameters between the warning target and the target vehicle in the warning area when a warning target is detected in the warning area corresponding to the target vehicle; wherein the relative position parameters reflect the orientation attribute and the distance attribute between the warning target and the target vehicle;
[0011] A sound field reconstruction module is used to reconstruct the sound field in the cabin of the target vehicle based on the relative position parameters to obtain the corresponding target warning sound source file;
[0012] A signal output module is used to output corresponding audio control signals to each speaker based on the target warning sound source file; wherein the audio control signal is used to make the warning sound emitted by the corresponding speaker have corresponding acoustic characteristics, so as to form a sound field in the target vehicle that reflects the position and movement direction of the warning target; the indicators of the acoustic characteristics include at least one of phase, amplitude, and frequency.
[0013] A third aspect of an embodiment of the present invention provides an audio control system, comprising: a memory, a processor, and a plurality of speakers, wherein: different speakers are respectively installed at different positions in the cabin of a target vehicle, and each speaker is used to play a warning sound based on a corresponding audio control signal; the processor is used to execute a computer program stored in the memory, and when the processor executes the computer program, the steps of the in-vehicle sound field optimization method provided in the first aspect of the embodiment of the present invention are implemented.
[0014] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the in-vehicle sound field optimization method provided in the first aspect of the embodiment of the present invention are implemented.
[0015] As can be seen from the above, according to the in-vehicle sound field optimization method, device and audio control system provided by the embodiments of the present invention, when a warning target is detected in the warning area corresponding to the target vehicle, the relative position parameters between the warning target in the warning area and the target vehicle are obtained; wherein the relative position parameters reflect the orientation attribute and distance attribute between the warning target and the target vehicle; based on the relative position parameters, the sound field in the cabin of the target vehicle is reconstructed to obtain the corresponding target warning sound source file; based on the target warning sound source file, the corresponding audio control signal is output to each speaker respectively; wherein the audio control signal is used to make the warning sound emitted by the corresponding speaker have the corresponding acoustic characteristics, so as to form a sound field in the target vehicle that reflects the position and movement direction of the warning target; the indicators of the acoustic characteristics include at least one of phase, amplitude and frequency. Through the implementation of the scheme of the present invention, the sound field in the target vehicle is reconstructed based on the relative position parameters of the warning target and the target vehicle, so that the acoustic characteristic indicators of each speaker are controlled respectively, the required sound field is synthesized, and a specific 3D warning sound is generated, so that the driver and passengers can learn the position information and movement characteristics of the warning target through the warning sound, providing the vehicle with a more complete in-vehicle warning reminder function, which is conducive to improving the user experience of vehicle-mounted acoustics. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of the basic flow of a method for optimizing the in-vehicle sound field provided by the first embodiment of the present invention;
[0017] Figure 2 A schematic diagram of the layout of a speaker in a cockpit provided by a first embodiment of the present invention;
[0018] Figure 3 A schematic diagram of an application scenario of a method for optimizing the in-vehicle sound field provided by the first embodiment of the present invention;
[0019] Figure 4 A schematic diagram of modeling of a sound field reconstruction provided by the first embodiment of the present invention;
[0020] Figure 5 A schematic diagram of a vehicle interior sound field optimization device provided by a second embodiment of the present invention;
[0021] Figure 6 This is a schematic structural diagram of an audio control system provided by the third embodiment of the present invention. DETAILED DESCRIPTION
[0022] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0023] In the description of the embodiments of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0024] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0025] In the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present invention can be understood according to specific circumstances.
[0026] In order to solve the problem in the related art that the warning sound of the vehicle audio system is difficult to truly and real-time reflect the location information and movement characteristics of the warning target, the first embodiment of the present invention provides an in-vehicle sound field optimization method, which is applied to the audio control system of the target vehicle. The audio control system is configured with multiple speakers, and different speakers are respectively installed at different positions in the cabin of the target vehicle.
[0027] like Figure 1 FIG. 1 is a basic flow chart of the in-vehicle sound field optimization method provided by this embodiment, and the in-vehicle sound field optimization method includes the following steps:
[0028] Step 101: when it is detected that there is a warning target in the warning area corresponding to the target vehicle, the relative position parameter between the warning target in the warning area and the target vehicle is obtained.
[0029] Specifically, the relative position parameter reflects the orientation attribute and distance attribute between the warning target and the target vehicle. The relative position parameter can be obtained by a sensor installed on the vehicle body. The sensor used to obtain the relative position parameter includes but is not limited to an acoustic sensor, an optical sensor, a vibration sensor, and a temperature sensor; the present embodiment can also obtain the relative position parameter in real time. In the present embodiment, the warning area can be a dynamically changing area, and its position can change with the change of the target vehicle. The warning target can refer to a vehicle, a pedestrian, an obstacle, etc.; there is no limitation here.
[0030] Step 102: reconstruct the sound field in the cabin of the target vehicle based on the relative position parameters to obtain a corresponding target warning sound source file.
[0031] Specifically, the process of sound field reconstruction can be calculated by the audio domain controller in the car, that is, the steps of receiving relative position parameters and calculating sound field reconstruction parameters can be completed by the control unit in the audio domain controller. The audio domain controller can be an independent audio domain controller (such as an independent vehicle audio power amplifier), an integrated (such as a vehicle host SoC) or a distributed (such as a speaker module composed of multiple active speakers) audio domain controller, etc., without limitation. The audio domain controller can receive relative position parameters through the vehicle bus, which includes but is not limited to CAN bus, LIN bus, FlexRay bus, MOST bus, CAN FD, vehicle Ethernet, UART, etc.
[0032] In this embodiment, the warning sound source file refers to an audio file used to generate a 3D warning sound, which can usually be stored in a digital audio format (such as WAV, MP3 or a proprietary format), and contains audio data that matches the motion state and motion direction of the warning target and the environmental conditions of the target vehicle. The warning sound source file is used to generate a corresponding stereo sound effect, so that the driver and passengers can also know the location and motion direction of the warning target in terms of acoustic hearing.
[0033] Step 103: Based on the target warning sound source file, output corresponding audio control signals to each speaker respectively.
[0034] Specifically, in this embodiment, the audio control signal is used to make the warning sound emitted by the corresponding speaker have corresponding acoustic characteristics to form a sound field in the target vehicle that reflects the position and movement direction of the warning target; the indicators of the acoustic characteristics include at least one of phase, amplitude, and frequency.
[0035] In some implementations of the present embodiment, the warning target is other vehicles entering the warning area; the above-mentioned step of obtaining the relative position parameters between the warning target in the warning area and the target vehicle when the warning target is detected in the warning area corresponding to the target vehicle includes: when the warning target is detected in the warning area corresponding to the target vehicle, obtaining the positioning information of the target vehicle and the sampling position parameters of other vehicles within a preset time period; based on the sampling position parameters, predicting the movement trajectory of other vehicles; combining the positioning information and the movement trajectory, determining the relative position parameters between other vehicles and the target vehicle at any time within the warning period; wherein the warning period is the period that other vehicles experience from entering the warning area to leaving the warning area, and the warning period is greater than the preset period.
[0036] Specifically, the motion trajectory of the warning target can be fitted by sampling the position information of the warning target within a short period of time (that is, the preset period mentioned above), and then the relative position parameters of the warning target in any time period in the warning area can be determined. In some specific implementations, the motion trajectory of the warning target can be fitted by continuously collecting image data of the warning area and cooperating with image processing algorithms to identify, track and analyze the motion change rules of the warning target. More specifically, the algorithm used to predict the motion trajectory of the warning target can be a Kalman filter algorithm or an optical flow method, which is not limited here. Of course, in some implementations, the sensor can also be directly controlled to collect the position parameters of the warning target in real time and feed them back to the audio domain controller in real time, so as to obtain the relative position parameters of the warning target at different times and update the warning sound source file in real time.
[0037] In some implementations of the present embodiment, the above-mentioned step of reconstructing the sound field in the target vehicle cabin based on the relative position parameters to obtain the corresponding target warning sound source file includes: fitting the acoustic characteristics of the acoustic response of the warning target in the target sound field in the target vehicle cabin and the acoustic response in the ideal sound field based on the relative position parameters, and determining the target transfer function of the digital filter acting on each speaker; wherein the acoustic environment of the ideal sound field includes at least one of an anechoic chamber, a listening room, and a reverberation chamber; and updating the target transfer function to the warning sound source file corresponding to the audio control system to obtain the target warning sound source file.
[0038] Specifically, in this embodiment, the acoustic environment of the ideal sound field refers to an acoustic environment that meets certain acoustic characteristic index requirements. In this embodiment, the acoustic environment of the ideal sound field includes but is not limited to an anechoic chamber, a listening room, a reverberation room, and a specific acoustic laboratory or environment that simulates certain preset scenes. Acoustic feature fitting refers to simulating the position and movement of the warning target in the acoustic environment of the ideal sound field in terms of acoustic response based on the physical environment inside the car, so that the difference between the acoustic response corresponding to the target sound field in the car and the acoustic response corresponding to the ideal sound field is minimized.
[0039] Further, in some implementations of this embodiment, the first acoustic response corresponding to the target sound field is expressed as:
[0040]
[0041] in, Indicates the acoustic characteristic index corresponding to the audio control signal; Relative position parameter between the warning target and the target vehicle; The relative position between the warning target and the target vehicle is When The target transfer function of the digital filter for each loudspeaker; Indicates The electroacoustic conversion transfer function of each speaker is determined by the physical characteristics of the corresponding speaker; Indicates The acoustic transfer function from the loudspeaker to the target listening position is determined by the actual sound field environment factors in the target vehicle cabin; Indicates the number of speakers in the target vehicle's cabin.
[0042] Further, in some implementations of this embodiment, after the step of outputting the corresponding audio control signal to each speaker based on the target warning sound source file, the method further includes: calculating the second acoustic response corresponding to the warning sound actually received at the target listening position based on the first acoustic response of the target sound field; wherein the second acoustic response is used to optimize the generation model of the audio control signal in the target warning sound source file, and the second acoustic response is expressed as:
[0043]
[0044] in, Indicates time; express The second acoustic response corresponding to the moment; Represents a unit sampling sequence or a unit pulse sequence: ; Indicates the reference value of the sampling number, The variable representing the sum function, ; Indicates the sampling period; , Indicates the time period from when the warning target enters the warning area to when it leaves the warning area.
[0045] Specifically, based on the above implementation of this embodiment, during the product design stage, the actual effect of the 3D warning sound at the target listening position can be analyzed by calculating the second acoustic response, thereby assisting developers to better design the warning sound source file and achieve a better 3D warning effect.
[0046] Further, in some implementations of this embodiment, the sound control system is configured with five speakers, such as Figure 2 As shown, the five speakers are: speaker 1 fixed in the central area of the center console in the cockpit of the target vehicle, speaker 2 fixed in the right front door area, speaker 3 fixed in the left front door area, speaker 4 fixed in the left rear door area, and speaker 5 fixed in the right rear door area; assuming that the main driving position is the target listening position 6, the acoustic response of the warning sound signal received at the target listening position can be expressed as:
[0047]
[0048] in, , , , , They are the acoustic transfer functions from speaker 1, speaker 2, speaker 3, speaker 4, and speaker 5 to the target listening position 6. The transfer function refers to the ratio of the Laplace transform (or z transform) of the linear system response quantity (output quantity) to the Laplace transform of the excitation quantity (input quantity) under zero initial conditions; it is recorded as H=Y / U, where Y represents the Laplace transform of the output quantity and U represents the Laplace transform of the input quantity. , , , , They are the electroacoustic conversion transfer functions of speaker 1, speaker 2, speaker 3, speaker 4, and speaker 5 respectively. , , , , They are the transfer functions of the acoustic digital filters acting on speaker 1, speaker 2, speaker 3, speaker 4, and speaker 5 respectively. Represents the transpose calculation of a matrix. , , , , Determined by the actual acoustic environment in the car, it can be obtained by direct measurement or through theoretical calculation modeling; , , , , It is determined by the physical properties of the corresponding speaker itself, and can be obtained by direct measurement based on the speaker, or by theoretical calculation modeling. Sound field reconstruction is the transfer function of the digital filter applied to the speaker. , , , , Calculate and update in real time.
[0049] It is understandable that in some other implementations, the number of speakers may be set to two, three, four, six, eight, etc., and the installation positions of the speakers may also be designed in other distribution modes, which are not limited here.
[0050] In some implementations of this embodiment, the step of fitting the acoustic characteristics of the acoustic response of the warning target in the target sound field in the target vehicle cabin and the acoustic response in the ideal sound field based on the relative position parameter to determine the target transfer function of the digital filter acting on each speaker includes: substituting the relative position parameter into a first target calculation formula to calculate the target transfer function of the digital filter acting on each speaker; wherein the first target calculation formula is expressed as:
[0051]
[0052] in, Represents the acoustic transfer function from the warning target to the reference listening position in an ideal sound field.
[0053] Specifically, in a specific application scenario, such as Figure 3 As shown, a coordinate system is established based on the target vehicle (in driving states such as reversing, high-speed overtaking, turning and changing lanes), and a circular area with a radius of r and a target vehicle 8 as the dot is defined as a warning area 7. When a warning target enters the warning area 7, the vehicle warning sound is triggered, and the passengers at the target listening position 6 in the vehicle need to be warned. Taking high-speed overtaking as an example, the coordinate system is used to represent the relative position relationship between the warning target 9 and the target vehicle 8. The coordinates of the vehicle 8 are always , when the warning target 9 enters the warning area 7, the coordinates of the warning target are , the warning sound reminder function of the target vehicle 8 is triggered; when the warning target 9 drives to the relative position coordinates When the target vehicle 8 leaves the warning area 7, the warning sound reminder function of the target vehicle 8 ends.
[0054] In some specific implementations, the relative position parameters of the warning target 9 in any time period in the warning area 7 are All of them can be identified and captured by sensors on the body of the target vehicle 8. The sensors can be acoustic sensors, optical sensors, vibration sensors, temperature sensors, etc., which are not limited here. Move to relative position The motion trajectory of can be captured by the vehicle body sensor in real time and recorded as M+1 coordinate information, so as to represent the position information and motion characteristics of the warning measurement 9 at each moment during the period when the warning sound function is turned on, then:
[0055]
[0056] in, Indicates that the warned vehicle 9 is in a relative position Move to relative position time (the above-mentioned warning period); It represents the sampling interval or sampling period at which the sensor on the vehicle 8 samples external information.
[0057] Further, taking the anechoic chamber as an example: Figure 4 As shown, in the anechoic chamber 10, the coordinates is the center point, with a radius of r, simulating the range of the warning area 7, and the relative position of the warning target from the anechoic chamber 10 , relative position of the pathway Move to relative position , while the warning sound is sounding, at the center dot The acoustic response of the warning sound signal received at different positions is:
[0058]
[0059]
[0060]
[0061] in, The acoustic characteristic index (such as phase, frequency, amplitude, etc.) corresponding to the preset audio control signal. , , From each relative position , , To the center point in the anechoic chamber 10 The acoustic transfer function at can be directly measured and obtained from the actual acoustic environment in the anechoic chamber 10.
[0062] In order to make the warning sound more clearly reflect and distinguish the relative position and movement state of the warning target, Designed as a function of position information, denoted as ; It can be adjusted according to the different positions of the warning target to change the phase, amplitude, frequency and other acoustic characteristics of the warning sound. Based on this, the Acoustic responses of warning sound signals received at different locations:
[0063]
[0064]
[0065]
[0066] The relative position of the warning target at any time Based on the acoustic environment inside the car, the acoustic response in the acoustic environment of the ideal sound field is fitted, and the calculation formula for sound field reconstruction under ideal conditions can be obtained:
[0067]
[0068] Furthermore, by simplifying the above sound field reconstruction calculation formula, the above first target calculation formula can be obtained:
[0069]
[0070] Furthermore, a solution corresponding to the transfer function of the digital filter acting on the speaker can be determined:
[0071]
[0072] in, Respectively represent the transfer function of the digital filter acting on the speaker and the relative position of the current warning target Related, and will be based on relative position Updated in real time. Represents the calculation of the inverse matrix.
[0073] Furthermore, in some implementations of this embodiment, after the step of substituting the relative position parameters into the first target calculation formula, the method further includes: if the solution of the first target calculation formula is not unique, substituting the relative position parameters into the second target calculation formula to calculate the target transfer function of the digital filter acting on each speaker; wherein the second target calculation formula is expressed as:
[0074]
[0075] in, Indicates taking the minimum value, Represents the magnitude of a vector.
[0076] Specifically, when the solution of the first target calculation formula is not unique, the second target calculation formula can be used to calculate the target transfer function corresponding to each speaker. The target transfer function obtained by this calculation method is more conducive to meeting the convergence, feasibility and other requirements of the acoustic filter design.
[0077] Compared with the related art, the in-vehicle sound field optimization method provided in this embodiment, when a warning target is detected in the warning area corresponding to the target vehicle, the relative position parameters between the warning target in the warning area and the target vehicle are obtained; wherein the relative position parameters reflect the orientation attribute and distance attribute between the warning target and the target vehicle; based on the relative position parameters, the sound field in the cockpit of the target vehicle is reconstructed to obtain the corresponding target warning sound source file; based on the target warning sound source file, the corresponding audio control signal is output to each speaker respectively; wherein the audio control signal is used to make the warning sound emitted by the corresponding speaker have the corresponding acoustic characteristics, so as to form a sound field reflecting the position and movement direction of the warning target in the target vehicle; the indicators of the acoustic characteristics include at least one of phase, amplitude, and frequency. Through the implementation of the present invention, based on the relative position of the warning target and the target vehicle, the sound field in the target vehicle is reconstructed, and a specific 3D warning sound can be generated, so that the driver and the occupant can know the movement direction and position of the warning target in terms of acoustic hearing, providing a more complete in-vehicle warning reminder function, which is conducive to improving the user experience of vehicle-mounted acoustics. Furthermore, by using the acoustic response calculation method of this embodiment, the actual effect of the 3D warning sound can be analyzed during the product design stage, thereby assisting developers to better design the warning sound source file.
[0078] It should be understood that the size of the serial number of each step in this embodiment does not mean the absolute order of execution of the steps. The execution order of each step should be determined by its function and internal logic, and should not constitute a sole limitation on the implementation process of the embodiment of the present invention.
[0079] Figure 5 This is a schematic diagram of a vehicle interior sound field optimization device provided by the second embodiment of the present invention, which is applied to the sound control system of the target vehicle. The sound control system is equipped with multiple speakers, and different speakers are installed at different positions in the cabin of the target vehicle. The vehicle interior sound field optimization device can be applied to the above-mentioned vehicle interior sound field optimization method. Figure 5 As shown, the in-vehicle sound field optimization device mainly includes:
[0080] The information acquisition module 501 is used to acquire the relative position parameters between the warning target and the target vehicle in the warning area when a warning target is detected in the warning area corresponding to the target vehicle; wherein the relative position parameters reflect the orientation attribute and the distance attribute between the warning target and the target vehicle;
[0081] The sound field reconstruction module 502 is used to reconstruct the sound field in the cabin of the target vehicle based on the relative position parameters to obtain a corresponding target warning sound source file;
[0082] The signal output module 503 is used to output corresponding audio control signals to each speaker based on the target warning sound source file; wherein the audio control signal is used to make the warning sound emitted by the corresponding speaker have corresponding acoustic characteristics, so as to form a sound field in the target vehicle that reflects the position and movement direction of the warning target; the indicators of the acoustic characteristics include at least one of phase, amplitude, and frequency.
[0083] In some implementations of the present embodiment, the warning target is other vehicles entering the warning area; accordingly, the parameter acquisition module is specifically used to: when a warning target is detected in the warning area corresponding to the target vehicle, obtain the positioning information of the target vehicle and the sampling position parameters of other vehicles within a preset time period; based on the sampling position parameters, predict the movement trajectory of other vehicles; combine the positioning information and the movement trajectory to determine the relative position parameters between other vehicles and the target vehicle at any time within the warning period; wherein the warning period is the period that other vehicles experience from entering the warning area to leaving the warning area, and the warning period is greater than the preset period.
[0084] In some implementations of the present embodiment, when the sound field reconstruction module performs the above-mentioned function of reconstructing the sound field in the target vehicle cabin based on the relative position parameters to obtain the corresponding target warning sound source file, it is specifically used to: fit the acoustic characteristics of the acoustic response of the warning target in the target sound field in the target vehicle cabin and the acoustic response in the ideal sound field based on the relative position parameters, and determine the target transfer function of the digital filter acting on each speaker; wherein the acoustic environment of the ideal sound field includes at least one of an anechoic chamber, a listening room, and a reverberation chamber; and update the target transfer function to the warning sound source file corresponding to the audio control system to obtain the target warning sound source file.
[0085] Further, in some implementations of this embodiment, the sound field reconstruction module further includes an acoustic response calculation model, and the acoustic response calculation model is provided with a first acoustic response corresponding to the target sound field, and the first acoustic response is expressed as:
[0086]
[0087] in, Indicates the acoustic characteristic index corresponding to the audio control signal; Relative position parameter between the warning target and the target vehicle; The relative position between the warning target and the target vehicle is When The target transfer function of the digital filter for each loudspeaker; Indicates The electroacoustic conversion transfer function of each speaker is determined by the physical characteristics of the corresponding speaker; Indicates The acoustic transfer function from the loudspeaker to the target listening position is determined by the actual sound field environment factors in the target vehicle cabin; Indicates the number of speakers in the target vehicle cabin.
[0088] Further, in some implementations of the present embodiment, the sound control system is configured with five speakers, and the five speakers are respectively fixed in the central area of the center console, the right front door area, the left front door area, the left rear door area and the right rear door area in the cockpit of the target vehicle; accordingly, when the sound field reconstruction module performs the above-mentioned relative position parameter-based acoustic response of the warning target in the target sound field in the cockpit of the target vehicle and the acoustic response in the ideal sound field, fits the acoustic characteristics, and determines the function of the target transfer function of the digital filter acting on each speaker, it is specifically used to: substitute the relative position parameter into the first target calculation formula to calculate the target transfer function of the digital filter acting on each speaker; wherein the first target calculation formula is expressed as:
[0089]
[0090] in, Represents the acoustic transfer function from the warning target to the reference listening position in an ideal sound field.
[0091] Further, in some implementations of this embodiment, after executing the above-mentioned function of substituting the relative position parameters into the first target calculation formula for calculation, the sound field reconstruction module is also specifically used to: if the solution of the first target calculation formula is not unique, substitute the relative position parameters into the second target calculation formula to calculate the target transfer function of the digital filter acting on each speaker; wherein the second target calculation formula is expressed as:
[0092]
[0093] in, Indicates taking the minimum value, Represents the magnitude of a vector.
[0094] In some implementations of this embodiment, the in-vehicle sound field optimization device is further provided with an optimization module, which is used to: after outputting corresponding audio control signals to each speaker based on the target warning sound source file, calculate the second acoustic response corresponding to the warning sound actually received at the target listening position based on the first acoustic response of the target sound field; wherein the second acoustic response is used to optimize the generation model of the audio control signal in the target warning sound source file, and the second acoustic response is expressed as:
[0095]
[0096] in, express The second acoustic response corresponding to the moment; Represents a unit sampling sequence or a unit pulse sequence: ; Indicates the reference value of the sampling number, represents the variable for the first sum function, ; Indicates the sampling period; , Indicates the time period from when the warning target enters the warning area to when it leaves the warning area.
[0097] According to the in-vehicle sound field optimization device provided by this embodiment, when a warning target is detected in the warning area corresponding to the target vehicle, the relative position parameters between the warning target in the warning area and the target vehicle are obtained; wherein the relative position parameters reflect the orientation attribute and distance attribute between the warning target and the target vehicle; based on the relative position parameters, the sound field in the cockpit of the target vehicle is reconstructed to obtain the corresponding target warning sound source file; based on the target warning sound source file, the corresponding audio control signal is output to each speaker respectively; wherein the audio control signal is used to make the warning sound emitted by the corresponding speaker have the corresponding acoustic characteristics, so as to form a sound field reflecting the position and movement direction of the warning target in the target vehicle; the indicators of the acoustic characteristics include at least one of phase, amplitude, and frequency. Through the implementation of the present invention, the sound field in the target vehicle is reconstructed based on the relative position of the warning target and the target vehicle, and a specific 3D warning sound can be generated, so that the driver and the occupant can also know the movement direction and position of the warning target in terms of acoustic hearing, providing a more complete in-vehicle warning reminder function, which is conducive to improving the user experience of vehicle-mounted acoustics. Furthermore, by using the acoustic response calculation method of this embodiment, the actual effect of the 3D warning sound can be analyzed during the product design stage, thereby assisting developers to better design the warning sound source file.
[0098] Figure 6A sound control system is provided for the third embodiment of the present invention. The sound control system can be used to implement the in-vehicle sound field optimization method in the aforementioned embodiment, and mainly includes: a memory 601, a processor 602, a computer program 603 stored in the memory 601 and executable on the processor 602, and a plurality of speakers 604; each speaker 604 is respectively connected to the processor 602 in communication, and different speakers 604 are respectively installed at different positions in the cockpit of the target vehicle, and each speaker 604 is respectively used to play a warning sound based on a corresponding audio control signal; the memory 601 and the processor 602 are connected by communication. When the processor 602 executes the computer program 603, the method in the aforementioned embodiment 1 is implemented. Among them, the number of processors can be one or more.
[0099] The memory 601 may be a high-speed random access memory (RAM) memory, or a non-volatile memory, such as a disk memory. The memory 601 is used to store executable program codes, and the processor 602 is coupled to the memory 601 .
[0100] Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, which may be disposed in the above-mentioned sound control system. The computer-readable storage medium may be the above-mentioned Figure 6 Memory in the illustrated embodiment.
[0101] The computer readable storage medium stores a computer program, and when the program is executed by the processor, the vehicle interior sound field optimization method in the aforementioned embodiment is implemented. Furthermore, the computer storable medium can also be a U disk, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and other media that can store program codes.
[0102] In the several embodiments provided by the present invention, 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 modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that 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 modules, which can be electrical, mechanical or other forms.
[0103] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0104] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of software functional modules.
[0105] If the integrated module is implemented in the form of a software function module 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 invention, 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, which is stored in a readable storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned readable storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or optical disk and other media that can store program codes.
[0106] It should be noted that, for the above method embodiments, for the sake of simplicity of description, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0107] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0108] The above is a description of the in-vehicle sound field optimization method, device and audio control system provided by the present invention. For technicians in this field, according to the ideas of the embodiments of the present invention, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for optimizing the in-vehicle sound field, applied to an audio control system of a target vehicle, wherein the audio control system is equipped with a plurality of loudspeakers, and different loudspeakers are respectively installed at different positions in the cabin of the target vehicle; characterized in that: The in-vehicle sound field optimization method comprises: When it is detected that there is a warning target in the warning area corresponding to the target vehicle, the relative position parameter between the warning target in the warning area and the target vehicle is obtained; wherein the relative position parameter reflects the orientation attribute and the distance attribute between the warning target and the target vehicle; Based on the relative position parameters, the acoustic response of the warning target in the target sound field in the cabin of the target vehicle and the acoustic response in the ideal sound field are fitted with acoustic characteristics to determine the target transfer function of the digital filter acting on each of the speakers; wherein the acoustic environment of the ideal sound field includes at least one of an anechoic chamber, a listening room, and a reverberation chamber; The target transfer function is updated to the warning sound source file corresponding to the sound control system to obtain the target warning sound source file; wherein the first acoustic response corresponding to the target sound field is expressed as: in, Indicates the acoustic characteristic index corresponding to the audio control signal; A relative position parameter representing the warning target and the target vehicle; Indicates that the relative position between the warning target and the target vehicle is When a target transfer function of a digital filter of the loudspeaker; Indicates an electroacoustic conversion transfer function of each of the loudspeakers, the size of which is determined by the physical characteristics of the corresponding loudspeaker; Indicates an acoustic transfer function from the loudspeaker to the target listening position, the size of which is determined by the actual sound field environment factors in the cabin of the target vehicle; Indicates the number of speakers in the cabin of the target vehicle; The variable representing the sum function, Indicates the reference value of the sampling number, ; Indicates the sampling period; , Indicates the time period from when the warning target enters the warning area to when it leaves the warning area; Based on the target warning sound source file, a corresponding audio control signal is output to each of the speakers respectively; wherein the audio control signal is used to make the warning sound emitted by the corresponding speaker have corresponding acoustic characteristics, so as to form a sound field reflecting the position and movement direction of the warning target in the target vehicle; the index of the acoustic characteristic includes at least one of phase, amplitude, and frequency; Based on the first acoustic response of the target sound field, a second acoustic response corresponding to the warning sound actually received at the target listening position is calculated; wherein the second acoustic response is used to optimize the generation model of the audio control signal in the target warning sound source file, and the second acoustic response is expressed as: in, Indicates time; express The second acoustic response corresponding to the time instant; Represents a unit sampling sequence or a unit pulse sequence: .
2. The method for optimizing the in-vehicle sound field according to claim 1, characterized in that: The sound control system is equipped with five speakers, which are respectively fixed in the center console center area, right front door area, left front door area, left rear door area and right rear door area in the cabin of the target vehicle; The step of fitting the acoustic characteristics of the warning target in the target sound field and the ideal sound field in the cabin of the target vehicle based on the relative position parameter to determine the target transfer function of the digital filter acting on each of the speakers includes: Substitute the relative position parameter into the first target calculation formula to calculate the target transfer function of the digital filter acting on each of the speakers; wherein the first target calculation formula is expressed as: in, The acoustic transfer function from the warning target to the reference listening position in the ideal sound field is represented.
3. The method for optimizing the in-vehicle sound field according to claim 2, characterized in that: After substituting the relative position parameter into the first target calculation formula, the method further includes: If the solution of the first target calculation formula is not unique, the relative position parameter is substituted into the second target calculation formula to calculate the target transfer function of the digital filter acting on each of the speakers; wherein the second target calculation formula is expressed as: in, Indicates taking the minimum value, Represents the magnitude of a vector.
4. The method for optimizing the in-vehicle sound field according to claim 1, characterized in that: The warning target is other vehicles entering the warning area; When it is detected that there is a warning target in the warning area corresponding to the target vehicle, obtaining the relative position parameter between the warning target in the warning area and the target vehicle includes: When a warning target is detected in the warning area corresponding to the target vehicle, the positioning information of the target vehicle and the sampling position parameters of the other vehicles within a preset time period are obtained; Based on the sampling position parameters, predicting the movement trajectory of the other vehicles; In combination with the positioning information and the motion trajectory, the relative position parameters between the other vehicles and the target vehicle at any time within the warning period are determined; wherein the warning period is the period from when the other vehicles enter the warning area to when they leave the warning area, and the warning period is greater than the preset period.
5. A vehicle interior sound field optimization device, applied to a sound control system of a target vehicle, wherein the sound control system is equipped with a plurality of loudspeakers, and different loudspeakers are respectively installed at different positions in the cabin of the target vehicle; characterized in that: The in-vehicle sound field optimization device comprises: A parameter acquisition module, for acquiring relative position parameters between the warning target in the warning area and the target vehicle when a warning target is detected in the warning area corresponding to the target vehicle; wherein the relative position parameters reflect the orientation attribute and the distance attribute between the warning target and the target vehicle; A sound field reconstruction module is used to fit the acoustic characteristics of the acoustic response of the warning target in the target sound field in the cabin of the target vehicle and the acoustic response in the ideal sound field based on the relative position parameter, and determine the target transfer function of the digital filter acting on each of the speakers; wherein the acoustic environment of the ideal sound field includes at least one of an anechoic chamber, a listening room, and a reverberation chamber; The target transfer function is updated to the warning sound source file corresponding to the sound control system to obtain the target warning sound source file; wherein the first acoustic response corresponding to the target sound field is expressed as: in, Indicates the acoustic characteristic index corresponding to the audio control signal; A relative position parameter representing the warning target and the target vehicle; Indicates that the relative position between the warning target and the target vehicle is When a target transfer function of a digital filter of the loudspeaker; Indicates an electroacoustic conversion transfer function of each of the loudspeakers, the size of which is determined by the physical characteristics of the corresponding loudspeaker; Indicates an acoustic transfer function from the loudspeaker to the target listening position, the size of which is determined by the actual sound field environment factors in the cabin of the target vehicle; Indicates the number of speakers in the cabin of the target vehicle; The variable representing the sum function, Indicates the reference value of the sampling number, ; Indicates the sampling period; , Indicates the time period from when the warning target enters the warning area to when it leaves the warning area; A signal output module, configured to output corresponding audio control signals to each of the speakers based on the target warning sound source file; wherein the audio control signal is configured to enable the warning sound emitted by the corresponding speaker to have corresponding acoustic characteristics, so as to form a sound field in the target vehicle that reflects the position and movement direction of the warning target; the indicators of the acoustic characteristics include at least one of phase, amplitude, and frequency; An optimization module is used to calculate a second acoustic response corresponding to the warning sound actually received at the target listening position based on the first acoustic response of the target sound field; wherein the second acoustic response is used to optimize the generation model of the audio control signal in the target warning sound source file, and the second acoustic response is expressed as: in, Indicates time; express The second acoustic response corresponding to the time instant; Represents a unit sampling sequence or a unit pulse sequence: .
6. A sound control system, characterized in that: The device comprises a memory, a processor and a plurality of speakers, wherein: Different speakers are installed at different positions in the cabin of the target vehicle, and each speaker is used to play a warning sound based on a corresponding audio control signal; The processor is used to execute the computer program stored in the memory; When the processor executes the computer program, the steps in the in-vehicle sound field optimization method of claim 1 are implemented.
Citation Information
Patent Citations
In-vehicle sound field optimization method, sound system, electronic equipment and storage medium
CN118042398A
Sound field controller, sound field control system, and sound field control method
JP2017147702A
Surround sound based warning system
US10166999B1