Active sound compensation-oriented working condition gain modulation method and device
Calculating working condition information through vehicle speed information and historical data, and performing gain processing combined with the target gain value, solves the problem of homogenization of sound quality of new energy vehicles and achieves efficient sound compensation and optimized driving experience.
Patent Information
- Application Number
- CN202310196381.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2024-08-27
AI Technical Summary
The sound of new energy vehicles is highly homogeneous and difficult to adjust, making it difficult to meet the demand for sound quality, especially the lack of brand effect and good sound quality solutions during acceleration.
By obtaining the vehicle's speed information and historical speed information, the vehicle speed change rate is calculated to determine the working condition information, and the working condition gain value is gain smoothed according to the target expected gain value, and sent to the active sound compensation system to generate synthetic sound waves.
It achieves high-following working condition discrimination and gain generation, optimizes the synthetic sound wave effect under the full operating cycle of the vehicle, enhances the working condition gain modulation adaptability for active sound wave compensation, and avoids sudden changes in hearing degradation.
Smart Images

Figure CN118544942A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of audio signal processing, and in particular to a working condition gain modulation method and device for active sound wave compensation. Background Art
[0002] In the related technologies, the methods for optimizing the driving sound quality in the car are divided into noise reduction and active compensation. Since the noise energy in new energy vehicles is relatively small, the noise reduction of amplitude control has entered a steady development period. On the other hand, the sound of new energy vehicles is highly homogeneous and difficult to adjust. In order to improve the sound quality of electric vehicles when accelerating, more and more domestic and foreign companies and experts are paying attention to the acceleration sound with brand effect and good sound quality through active sound compensation. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a working condition gain modulation method and device for active acoustic wave compensation.
[0004] According to a first aspect of an embodiment of the present disclosure, a working condition gain modulation method for active acoustic wave compensation is provided, comprising:
[0005] Obtain vehicle speed information at the first moment;
[0006] Acquire at least one historical vehicle speed information of at least one previous moment of the first moment;
[0007] acquiring a first vehicle speed change rate according to the vehicle speed information at the first moment and the at least one historical vehicle speed information;
[0008] Determining the operating condition information of the vehicle at the first moment according to the vehicle speed information at the first moment and the first vehicle speed change rate;
[0009] Acquire a target expected gain value corresponding to the operating condition information, and acquire an operating condition gain value of the vehicle at a second moment; wherein the second moment is a moment before the first moment;
[0010] Performing a gain smoothing approximation process on the operating condition gain value at the second moment according to the target expected gain value to obtain the operating condition gain value of the vehicle at the first moment;
[0011] The operating condition gain value at the first moment is sent to an active sound compensation system on the vehicle, and the operating condition gain value at the first moment is used to perform gain processing on the synthetic sound generated by the active sound compensation system.
[0012] In some embodiments of the present disclosure, obtaining the first vehicle speed change rate based on the vehicle speed information at the first moment and the at least one historical vehicle speed information includes: obtaining a first record number for recording the vehicle speed information, and at least one second record number for recording the at least one historical vehicle speed information; calculating the vehicle speed slope using the least squares method based on the vehicle speed information at the first moment, the at least one historical vehicle speed information, the first record number and the at least one second record number; and determining the calculated vehicle speed slope as the first vehicle speed change rate.
[0013] In some embodiments of the present disclosure, the operating condition information of the vehicle at the first moment is determined based on the vehicle speed information at the first moment and the first vehicle speed change rate, including: in response to the vehicle speed information at the first moment being a first vehicle speed value, determining that the operating condition information of the vehicle at the first moment is an idle condition; or, in response to the vehicle speed information at the first moment being a non-first vehicle speed value, determining the operating condition information of the vehicle at the first moment based on the first vehicle speed change rate and multiple operating condition identification thresholds; wherein the multiple operating condition identification thresholds include a uniform speed operating condition identification threshold, a sudden acceleration operating condition identification threshold, and a sudden deceleration operating condition identification threshold.
[0014] In some embodiments of the present disclosure, determining the operating condition information of the vehicle at the first moment based on the first vehicle speed change rate and multiple operating condition identification thresholds includes: in response to the absolute value of the first vehicle speed change rate being less than the uniform speed operating condition identification threshold, determining that the operating condition information of the vehicle at the first moment is a uniform speed operating condition; or, in response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed operating condition identification threshold, and the first vehicle speed change rate is greater than or equal to a first value, and the first vehicle speed change rate is greater than or equal to the rapid acceleration operating condition identification threshold, determining that the operating condition information of the vehicle at the first moment is a rapid acceleration operating condition; or, in response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed operating condition identification threshold, and the first vehicle speed change rate is greater than or equal to The first value, and the first vehicle speed change rate are less than the sudden acceleration condition identification threshold, determine that the vehicle's operating condition information at the first moment is a slow acceleration condition; or, in response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition identification threshold, and the first vehicle speed change rate is less than the first value, and the first vehicle speed change rate is greater than the sudden deceleration condition identification threshold, determine that the vehicle's operating condition information at the first moment is a slow deceleration condition; or, in response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition identification threshold, and the first vehicle speed change rate is less than the first value, and the first vehicle speed change rate is less than or equal to the sudden deceleration condition identification threshold, determine that the vehicle's operating condition information at the first moment is a sudden deceleration condition.
[0015] In some embodiments of the present disclosure, the multiple operating condition recognition thresholds are pre-calibrated in the following manner: when the sample vehicle is in a sudden acceleration condition, a sudden deceleration condition and a constant speed condition, respectively, the vehicle speed under each of the sudden acceleration condition, the sudden deceleration condition and the constant speed condition is synchronously recorded; based on the recorded vehicle speed under each of the operating conditions, the least squares method is used to calculate multiple vehicle speed slopes under each of the operating conditions, and the multiple operating condition recognition thresholds are determined from the multiple vehicle speed slopes under each of the operating conditions.
[0016] In some embodiments of the present disclosure, the obtaining of the target expected gain value corresponding to the operating condition information includes: obtaining the target expected gain value corresponding to the operating condition information from a plurality of expected gain values under a plurality of pre-calibrated operating conditions.
[0017] In some embodiments of the present disclosure, the multiple expected gain values under the multiple operating conditions include a first expected gain value for a sudden acceleration condition, a second expected gain value for a slow acceleration condition, a third expected gain value for a uniform speed condition, a fourth expected gain value for a sudden deceleration condition, a fifth expected gain value for a slow deceleration condition, and a sixth expected gain value for an idle speed condition; wherein the multiple expected gain values under the multiple operating conditions are pre-calibrated in the following manner: when the sample vehicle is in the sudden acceleration condition, the incident sound of the human ear under the sudden acceleration condition is recorded, and the first average sound pressure level of the sudden acceleration condition is calculated based on the incident sound of the human ear under the sudden acceleration condition, and the first expected gain value of the sudden acceleration condition is set, wherein the first expected gain value is the global maximum gain; when the sample vehicle is in the slow acceleration condition, the incident sound of the human ear under the slow acceleration condition is recorded to calculate the second average sound pressure level of the slow acceleration condition, and the second expected gain value of the slow acceleration condition is determined based on the first average sound pressure level, the second average sound pressure level, and the first expected gain value; when the sample vehicle is in the uniform speed condition, the incident sound of the human ear under the uniform speed condition is recorded, and the first average sound pressure level of the human ear under the uniform speed condition is calculated. The third average sound pressure level of the uniform speed condition is calculated by recording the incident sound of the human ear under the rapid deceleration condition, and the third expected gain value is determined according to the first average sound pressure level, the third average sound pressure level and the first expected gain value; when the sample vehicle is in the rapid deceleration condition, the fourth average sound pressure level of the rapid deceleration condition is calculated by recording the incident sound of the human ear under the rapid deceleration condition, and the fourth expected gain value is determined according to the first average sound pressure level, the fourth average sound pressure level and the first expected gain value; when the sample vehicle is in the rapid deceleration condition, the fourth average sound pressure level of the rapid deceleration condition is calculated, and the fourth expected gain value of the rapid deceleration condition is determined according to the first average sound pressure level, the fourth average sound pressure level and the first expected gain value; In the slow deceleration condition, the incident sound of the human ear under the slow deceleration condition is recorded to calculate the fifth average sound pressure level of the slow deceleration condition, and the fifth expected gain value of the slow deceleration condition is determined according to the first average sound pressure level, the fifth average sound pressure level and the first expected gain value; when the sample vehicle is in the idle condition, the incident sound of the human ear under the idle condition is recorded to calculate the sixth average sound pressure level of the idle condition, and the sixth expected gain value of the idle condition is determined according to the first average sound pressure level, the sixth average sound pressure level and the first expected gain value.
[0018] In some embodiments of the present disclosure, the operating condition gain value at the second moment is subjected to gain smoothing approximation processing according to the target expected gain value to obtain the operating condition gain value of the vehicle at the first moment, including: determining an expected difference according to the operating condition gain value at the second moment and the target expected gain value; determining a gain approximation amount according to the operating condition gain value at the second moment and the expected difference; determining the operating condition gain value of the vehicle at the first moment according to the operating condition gain value at the second moment, the expected difference and the gain approximation amount.
[0019] In some embodiments of the present disclosure, determining the gain approximation amount based on the operating condition gain value at the second moment and the expected difference includes: obtaining a gain approximation reference value based on the operating condition gain value at the second moment and a gain approximation reference function; and determining the minimum value between the absolute value of the expected difference and the absolute value of the gain approximation reference value as the gain approximation amount.
[0020] In some embodiments of the present disclosure, the operating condition gain value of the vehicle at the first moment is determined based on the operating condition gain value at the second moment, the expected difference and the gain approximation, including: in response to the expected difference being greater than a second value, determining the sum of the operating condition gain value at the second moment and the gain approximation as the operating condition gain value of the vehicle at the first moment; or, in response to the expected difference being less than the second value, determining the difference between the operating condition gain value at the second moment and the gain approximation as the operating condition gain value of the vehicle at the first moment.
[0021] According to a second aspect of an embodiment of the present disclosure, there is provided a working condition gain modulation device for active acoustic wave compensation, characterized in that it comprises:
[0022] A first acquisition module, used to acquire vehicle speed information of the vehicle at a first moment;
[0023] A second acquisition module, used to acquire at least one historical vehicle speed information of at least one previous moment of the first moment;
[0024] A third acquisition module, configured to acquire a first vehicle speed change rate according to the vehicle speed information at the first moment and the at least one historical vehicle speed information;
[0025] a determination module, configured to determine the operating condition information of the vehicle at the first moment according to the vehicle speed information at the first moment and the first vehicle speed change rate;
[0026] a fourth acquisition module, configured to acquire a target expected gain value corresponding to the operating condition information, and acquire an operating condition gain value of the vehicle at a second moment; wherein the second moment is a moment before the first moment;
[0027] a processing module, configured to perform a gain smoothing approximation process on the operating condition gain value at the second moment according to the target expected gain value, so as to obtain the operating condition gain value of the vehicle at the first moment;
[0028] A sending module is used to send the operating condition gain value at the first moment to the active sound compensation system on the vehicle, and the operating condition gain value at the first moment is used to perform gain processing on the synthetic sound generated by the active sound compensation system.
[0029] In some embodiments of the present disclosure, the third acquisition module is specifically used to: obtain a first record number for recording the vehicle speed information, and at least one second record number for recording the at least one historical vehicle speed information; calculate the vehicle speed slope using the least squares method based on the vehicle speed information at the first moment, the at least one historical vehicle speed information, the first record number and the at least one second record number; and determine the calculated vehicle speed slope as the first vehicle speed change rate.
[0030] In some embodiments of the present disclosure, the determination module is specifically used to: in response to the vehicle speed information at the first moment being a first vehicle speed value, determine that the operating condition information of the vehicle at the first moment is an idle condition; or, in response to the vehicle speed information at the first moment being a non-first vehicle speed value, determine the operating condition information of the vehicle at the first moment based on the first vehicle speed change rate and multiple operating condition identification thresholds; wherein the multiple operating condition identification thresholds include a uniform speed operating condition identification threshold, a sudden acceleration operating condition identification threshold, and a sudden deceleration operating condition identification threshold.
[0031] In some embodiments of the present disclosure, the determination module is specifically used to: in response to the absolute value of the first vehicle speed change rate being less than the uniform speed condition recognition threshold, determine that the vehicle's operating condition information at the first moment is a uniform speed condition; or, in response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition recognition threshold, and the first vehicle speed change rate being greater than or equal to a first numerical value, and the first vehicle speed change rate being greater than or equal to the rapid acceleration condition recognition threshold, determine that the vehicle's operating condition information at the first moment is a rapid acceleration condition; or, in response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition recognition threshold, and the first vehicle speed change rate being greater than or equal to the first numerical value, and the first vehicle speed change rate being greater than or equal to the rapid acceleration condition recognition threshold. The rate is less than the sudden acceleration condition recognition threshold, determining that the vehicle's operating condition information at the first moment is a slow acceleration condition; or, in response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition recognition threshold, the first vehicle speed change rate is less than the first value, and the first vehicle speed change rate is greater than the sudden deceleration condition recognition threshold, determining that the vehicle's operating condition information at the first moment is a slow deceleration condition; or, in response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition recognition threshold, the first vehicle speed change rate is less than the first value, and the first vehicle speed change rate is less than or equal to the sudden deceleration condition recognition threshold, determining that the vehicle's operating condition information at the first moment is a sudden deceleration condition.
[0032] In some embodiments of the present disclosure, the device also includes a first pre-calibration module; wherein the first pre-calibration module is used to: when the sample vehicle is in a sudden acceleration condition, a sudden deceleration condition and a constant speed condition, synchronously record the vehicle speed under each of the sudden acceleration condition, the sudden deceleration condition and the constant speed condition; based on the recorded vehicle speed under each of the conditions, use the least squares method to calculate multiple vehicle speed slopes under each of the conditions, and determine the multiple condition recognition thresholds from the multiple vehicle speed slopes under each of the conditions.
[0033] In some embodiments of the present disclosure, the fourth acquisition module is specifically used to acquire a target expected gain value corresponding to the operating condition information from a plurality of expected gain values under a plurality of pre-calibrated operating conditions.
[0034] In some embodiments of the present disclosure, the multiple expected gain values under the multiple working conditions include a first expected gain value for a sudden acceleration condition, a second expected gain value for a slow acceleration condition, a third expected gain value for a uniform speed condition, a fourth expected gain value for a sudden deceleration condition, a fifth expected gain value for a slow deceleration condition, and a sixth expected gain value for an idle speed condition; the device also includes: a second pre-calibration module; wherein the second pre-calibration module is used to: when the sample vehicle is in the sudden acceleration condition, record the incident sound of the human ear under the sudden acceleration condition, calculate the first average sound pressure level of the sudden acceleration condition based on the incident sound of the human ear under the sudden acceleration condition, and set the first expected gain value of the sudden acceleration condition, wherein the first expected gain value is the global maximum gain; when the sample vehicle is in the slow acceleration condition, record the incident sound of the human ear under the slow acceleration condition to calculate the second average sound pressure level of the slow acceleration condition, and determine the second expected gain value of the slow acceleration condition based on the first average sound pressure level, the second average sound pressure level, and the first expected gain value; when the sample vehicle is in the uniform speed condition, record the uniform The third average sound pressure level of the uniform speed condition is calculated by recording the incident sound of the human ear under the rapid deceleration condition, and the third expected gain value of the uniform speed condition is determined according to the first average sound pressure level, the third average sound pressure level and the first expected gain value; when the sample vehicle is in the rapid deceleration condition, the fourth average sound pressure level of the rapid deceleration condition is calculated by recording the incident sound of the human ear under the rapid deceleration condition, and the fourth expected gain value of the rapid deceleration condition is determined according to the first average sound pressure level, the fourth average sound pressure level and the first expected gain value; when the sample vehicle is in the rapid deceleration condition, the fourth average sound pressure level of the rapid deceleration condition is calculated, and the fourth expected gain value of the rapid deceleration condition is determined according to the first average sound pressure level, the fourth average sound pressure level and the first expected gain value; The method comprises the following steps: wherein the first average sound pressure level, the fifth average sound pressure level and the first expected gain value are used to determine the fifth expected gain value of the slow deceleration condition; when the sample vehicle is in the idle condition, the sixth average sound pressure level of the idle condition is calculated by recording the incident sound of the human ear under the idle condition; and the sixth expected gain value of the idle condition is determined according to the first average sound pressure level, the sixth average sound pressure level and the first expected gain value.
[0035] In some embodiments of the present disclosure, the processing module is specifically used to: determine an expected difference based on the operating condition gain value at the second moment and the target expected gain value; determine a gain approximation based on the operating condition gain value at the second moment and the expected difference; determine the operating condition gain value of the vehicle at the first moment based on the operating condition gain value at the second moment, the expected difference and the gain approximation.
[0036] In some embodiments of the present disclosure, the processing module is specifically used to: obtain a gain approximation reference value based on the operating condition gain value at the second moment and the gain approximation reference function; and determine the minimum value between the absolute value of the expected difference and the absolute value of the gain approximation reference value as the gain approximation amount.
[0037] In some embodiments of the present disclosure, the processing module is specifically used to: in response to the expected difference being greater than a second value, determine the sum of the operating condition gain value at the second moment and the gain approximation as the operating condition gain value of the vehicle at the first moment; or, in response to the expected difference being less than the second value, determine the difference between the operating condition gain value at the second moment and the gain approximation as the operating condition gain value of the vehicle at the first moment.
[0038] According to a third aspect of an embodiment of the present disclosure, a vehicle is provided, comprising: a processor; and a memory for storing processor executable instructions; wherein the instructions are executed by the processor so that the processor can execute the operating condition gain modulation method for active sound compensation as described in the first aspect above.
[0039] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the operating condition gain modulation method for active acoustic compensation described in the first aspect is implemented.
[0040] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: The present disclosure utilizes vehicle speed information, which has wider applicability and is strongly related to the vehicle operating conditions, to discriminate the operating condition information, which can enhance the adaptability of the operating condition gain modulation for active sound wave compensation. In addition, based on the target expected gain value corresponding to the operating condition information, the operating condition gain value at the second moment is subjected to gain smoothing approximation processing, which can avoid, to a certain extent, the sudden change in the synthesized sound wave after gain processing that causes deterioration of the auditory sense, and has better robustness. The present disclosure can realize highly followable operating condition discrimination and gain generation, obtain gain modulation that changes with the operating conditions during the entire operating cycle of the vehicle, and optimize the synthetic sound wave effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0042] Figure 1 It is a flow chart showing a working condition gain modulation method for active acoustic wave compensation according to an exemplary embodiment.
[0043] Figure 2It is a flow chart showing another working condition gain modulation method for active acoustic wave compensation according to an exemplary embodiment.
[0044] Figure 3 The present invention is a flowchart of a method for pre-calibrating multiple operating condition recognition thresholds according to an exemplary embodiment.
[0045] Figure 4 It is a flow chart of another working condition gain modulation method for active acoustic wave compensation according to an exemplary embodiment.
[0046] Figure 5 It is a schematic diagram showing a working condition gain modulation for active acoustic wave compensation according to an exemplary embodiment.
[0047] Figure 6 It is a flow chart of another working condition gain modulation method for active acoustic wave compensation according to an exemplary embodiment.
[0048] Figure 7 It is a schematic structural diagram of a working condition gain modulation device for active acoustic wave compensation according to an exemplary embodiment.
[0049] Figure 8 It is a schematic structural diagram of another operating gain modulation device for active acoustic wave compensation according to an exemplary embodiment.
[0050] Fig. 9 It is a schematic structural diagram of another operating gain modulation device for active acoustic wave compensation according to an exemplary embodiment.
[0051] Fig.10 is a block diagram of a vehicle according to an exemplary embodiment. DETAILED DESCRIPTION
[0052] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0053] In the related technologies, active sound compensation is commonly installed in new energy vehicles, but the research on the changes in the effect of active sound compensation under other working conditions except acceleration is still very limited. This is mainly because the acceleration condition is the condition with the highest sound demand. However, the acceleration condition only occupies a small part of the driver's actual driving experience, and if the sound performance of the acceleration condition is directly used for all other conditions, it will result in excessive sound compensation in driving conditions with less sound demand. Therefore, active sound compensation with gain changes designed for the entire operating cycle of the vehicle is an inevitable research direction for this function. Since the driving state of the vehicle changes over time, the gain modulation method of this condition needs to run in real time, and the system delay of the active sound compensation needs to be kept within 50ms to ensure its tracking, which requires the gain modulation method of this condition to make a perfect judgment in a very short time.
[0054] The present disclosure provides a working condition gain modulation method and device for active acoustic wave compensation, so as to realize working condition discrimination and gain generation with high followability, and obtain gain modulation that changes with working conditions during the whole operation cycle of the vehicle.
[0055] Figure 1 It is a flow chart of a working condition gain modulation method for active sound compensation according to an exemplary embodiment. It should be noted that the working condition gain modulation method for active sound compensation in the embodiment of the present disclosure can be used in the working condition gain modulation device for active sound compensation in the embodiment of the present disclosure, and the working condition gain modulation device for active sound compensation in the embodiment of the present disclosure can be equipped in a vehicle. Figure 1 As shown, the working condition gain modulation method for active acoustic wave compensation may include the following steps.
[0056] Step 101, obtaining vehicle speed information of a vehicle at a first moment.
[0057] It should be noted that the vehicle can be a real vehicle that can be driven on the road, or it can be a virtual vehicle (such as a virtual vehicle in a game, or a driving virtual device, etc.).
[0058] Step 102: Obtain at least one historical vehicle speed information of at least one previous moment of the first moment.
[0059] Step 103: Obtain a first vehicle speed change rate according to the vehicle speed information at the first moment and at least one piece of historical vehicle speed information.
[0060] As a possible implementation method, the vehicle speed change rate at the first moment can be obtained based on the vehicle speed information at the first moment, at least one historical vehicle speed information, the first moment and the moment corresponding to at least one historical vehicle speed information, and the vehicle speed change rate at the first moment can be used as the first vehicle speed change rate.
[0061] As another possible implementation, a first record number for recording vehicle speed information and at least one second record number for recording at least one historical vehicle speed information may be obtained. Based on the vehicle speed information at the first moment, at least one historical vehicle speed information, the first record number and at least one second record number, the vehicle speed slope is calculated using the least squares method, and the calculated vehicle speed slope is determined as the first vehicle speed change rate. In some embodiments of the present disclosure, the vehicle speed information in the vehicle may be periodically read and stored, and the oldest data in the cache module may be deleted to ensure that the data stored in the cache module are all data read in the most recent period of time. It should be noted that in other embodiments of the present disclosure, the first vehicle speed change rate may also be obtained by any statistical parameter that can characterize the working condition, and the present disclosure does not limit this.
[0062] In some embodiments of the present disclosure, the calculation formula for the vehicle speed slope may refer to formula (1).
[0063]
[0064] Where n is the sum of the number of the first record number and the number of the second record number, slope is the speed slope, Spd i is the vehicle speed information corresponding to the i-th record number, is the average of the vehicle speed information at the first moment and at least one historical vehicle speed information, cnt i is the sequence number of the i-th record, It is the average value of the first record sequence number and at least one second record sequence number (ie, n record sequence numbers).
[0065] As an example, assume that the number of historical vehicle speed information is 7, and the 7 historical vehicle speed information and the vehicle speed information at the first moment are a total of 8 vehicle speed information. The vehicle speed slope is calculated using the least square method based on the vehicle speed information at the first moment, the plurality of historical vehicle speed information, the first record sequence number, and the plurality of second record sequence numbers, wherein the calculation formula of the vehicle speed slope can refer to formula (2).
[0066]
[0067] Among them, slope is the speed slope, Spd i is the vehicle speed information corresponding to the i-th record number, is the average of the vehicle speed information at the first moment and multiple historical vehicle speed information, cnt i is the sequence number of the i-th record, It is the average value of the first record sequence number and multiple second record sequence numbers (ie, 8 record sequence numbers).
[0068] Step 104 , determining the operating condition information of the vehicle at the first moment according to the vehicle speed information at the first moment and the first vehicle speed change rate.
[0069] As a possible implementation method, in some embodiments of the present disclosure, when the vehicle speed information at the first moment is 0, it can be determined that the operating condition information of the vehicle at the first moment is an idle condition. When the vehicle speed information at the first moment is not 0, a plurality of vehicle speed change rate intervals can be pre-divided, and different vehicle speed change rate intervals correspond to different operating condition information (for example, uniform speed condition, acceleration condition, deceleration condition and other operating condition information). Based on the first vehicle speed change rate and the plurality of vehicle speed change rate intervals, the operating condition information of the vehicle at the first moment is determined. It should be noted that the operating condition information of the vehicle at the first moment can also be determined by other methods based on the vehicle speed information at the first moment and the first vehicle speed change rate, and the embodiments of the present disclosure do not limit this.
[0070] In some embodiments of the present disclosure, the at least one historical vehicle speed information in step 102 may be at least seven historical vehicle speed information. The working condition is judged based on the vehicle speed information at the first moment and the at least seven historical vehicle speed information. Compared with the single input judgment, it has a stronger anti-noise ability and can avoid the deterioration of the hearing sense caused by the reciprocating change of the sound wave gain under extreme conditions to a certain extent.
[0071] It should be noted that in the disclosed embodiment, the use of vehicle speed information with a wider applicability as the input driving parameter for operating condition discrimination is not only applicable to most driving scenarios, but also equally applicable to some special modes, such as unmanned driving mode, single-pedal mode, automatic driving mode, etc., thereby enhancing the adaptability of the operating condition gain modulation for active sound compensation.
[0072] Step 105, obtaining the target expected gain value corresponding to the operating condition information, and obtaining the operating condition gain value of the vehicle at a second moment, wherein the second moment is a moment before the first moment.
[0073] It should be noted that the target expected gain value corresponding to the working condition information can be pre-calibrated based on different working condition information, or can be obtained by collecting the incident sound of the human ear under the corresponding working condition at the first moment and performing relevant processing. As an example, the incident sound of the driver's human ear (i.e., the sound heard by the driver's ear) can be collected through an earring sound collection device worn by the driver, and the collected incident sound of the human ear can be recorded.
[0074] Step 106 , performing gain smoothing approximation processing on the operating condition gain value at the second moment according to the target expected gain value, to obtain the operating condition gain value of the vehicle at the first moment.
[0075] It should be noted that the human ear's perception of sound amplitude and volume presents a logarithmic relationship. Therefore, in order to provide a non-obtrusive transition during gain approximation, in some embodiments of the present disclosure, a logarithmic function may be used as a gain approximation reference function, and a gain smoothing approximation process may be performed on the operating condition gain value at the second moment according to the target expected gain value to obtain the operating condition gain value of the vehicle at the first moment.
[0076] Step 107 : sending the operating condition gain value at the first moment to the active sound compensation system on the vehicle, where the operating condition gain value at the first moment is used to perform gain processing on the synthetic sound generated by the active sound compensation system.
[0077] In some embodiments of the present disclosure, the operating condition gain at the first moment may be multiplied by the synthetic sound generated by the active sound compensation system to perform gain processing on the synthetic sound.
[0078] According to the working condition gain modulation method for active sound compensation of the embodiment of the present disclosure, the working condition information is judged by using the vehicle speed information which has wider applicability and is strongly related to the vehicle working condition, so as to enhance the adaptability of the working condition gain modulation for active sound compensation. In addition, based on the target expected gain value corresponding to the working condition information, the working condition gain value at the second moment is subjected to gain smoothing approximation processing, which can avoid, to a certain extent, the sudden change of the synthesized sound after gain processing that causes the deterioration of the auditory sense, and has better robustness. The present disclosure can realize working condition discrimination and gain generation with high followability, obtain gain modulation that changes with working conditions during the entire operation cycle of the vehicle, and optimize the synthetic sound effect.
[0079] Figure 2 FIG. 1 is a flow chart showing another working condition gain modulation method for active acoustic wave compensation according to an exemplary embodiment. Figure 2 As shown, the working condition gain modulation method for active acoustic wave compensation may include the following steps.
[0080] Step 201, obtaining vehicle speed information of a vehicle at a first moment.
[0081] Step 202: Obtain at least one historical vehicle speed information of at least one previous moment of the first moment.
[0082] Step 203: Obtain a first vehicle speed change rate according to the vehicle speed information at the first moment and at least one piece of historical vehicle speed information.
[0083] Step 204 , in response to the vehicle speed information at the first moment being a first vehicle speed value, determining that the vehicle operating condition information at the first moment is an idle operating condition.
[0084] Among them, the first vehicle speed value can be 0.
[0085] Step 205: In response to the vehicle speed information at the first moment being a non-first vehicle speed value, the vehicle operating condition information at the first moment is determined according to the first vehicle speed change rate and a plurality of operating condition identification thresholds, wherein the plurality of operating condition identification thresholds include a uniform speed operating condition identification threshold, a rapid acceleration operating condition identification threshold, and a rapid deceleration operating condition identification threshold.
[0086] In some embodiments of the present disclosure, if the absolute value of the first vehicle speed change rate is less than the uniform speed condition recognition threshold, it is determined that the vehicle's operating condition information at the first moment is a uniform speed condition.
[0087] In some embodiments of the present disclosure, if the absolute value of the first vehicle speed change rate is greater than or equal to the uniform speed condition recognition threshold, and the first vehicle speed change rate is greater than or equal to the first value, and the first vehicle speed change rate is greater than or equal to the rapid acceleration condition recognition threshold, then it is determined that the vehicle's operating condition information at the first moment is a rapid acceleration condition.
[0088] In some embodiments of the present disclosure, if the absolute value of the first vehicle speed change rate is greater than or equal to the uniform speed condition recognition threshold, and the first vehicle speed change rate is greater than or equal to the first value, and the first vehicle speed change rate is less than the rapid acceleration condition recognition threshold, then it is determined that the vehicle's operating condition information at the first moment is a slow acceleration condition.
[0089] In some embodiments of the present disclosure, if the absolute value of the first vehicle speed change rate is greater than or equal to the uniform speed condition recognition threshold, and the first vehicle speed change rate is less than the first value, and the first vehicle speed change rate is greater than the sudden deceleration condition recognition threshold, then it is determined that the vehicle's operating condition information at the first moment is a slow deceleration condition.
[0090] In some embodiments of the present disclosure, if the absolute value of the first vehicle speed change rate is greater than or equal to the uniform speed condition recognition threshold, and the first vehicle speed change rate is less than the first value, and the first vehicle speed change rate is less than or equal to the sudden deceleration condition recognition threshold, then it is determined that the vehicle's operating condition information at the first moment is a sudden deceleration condition.
[0091] Step 206, obtaining the target expected gain value corresponding to the operating condition information, and obtaining the operating condition gain value of the vehicle at a second moment, wherein the second moment is a moment before the first moment.
[0092] Step 207 , performing gain smoothing approximation processing on the operating condition gain value at the second moment according to the target expected gain value, to obtain the operating condition gain value of the vehicle at the first moment.
[0093] Step 208: Send the operating condition gain value at the first moment to the active sound compensation system on the vehicle. The operating condition gain value at the first moment is used to perform gain processing on the synthetic sound generated by the active sound compensation system.
[0094] It should be noted that in the embodiments of the present disclosure, steps 201 to 203 and steps 206 to 208 may be implemented in any manner in the embodiments of the present disclosure, and the present disclosure is not limited thereto.
[0095] According to the working condition gain modulation method for active sound compensation of the embodiment of the present disclosure, the working condition information is judged by using the vehicle speed information which has wider applicability and is strongly related to the vehicle working condition, so as to enhance the adaptability of the working condition gain modulation for active sound compensation. According to the vehicle speed information at the first moment, the first vehicle speed change rate and multiple working condition recognition thresholds, a variety of working conditions are divided more finely. In addition, based on the target expected gain value corresponding to the working condition information, the working condition gain value at the second moment is subjected to gain smoothing approximation processing, so that the synthesized sound is more matched with the actual driving scene, and to a certain extent, the sudden change of the synthesized sound after gain processing that causes the deterioration of the hearing sense is avoided, and the robustness is better. The present disclosure can realize the working condition discrimination and gain generation with high followability, obtain the gain modulation that changes with the working condition during the whole operation cycle of the vehicle, optimize the effect of the synthesized sound, and enhance the driving experience.
[0096] Figure 3 FIG. 1 is a flow chart showing a method for pre-calibrating multiple operating condition identification thresholds according to an exemplary embodiment. Figure 3 As shown, the method may include the following steps.
[0097] Step 301, when the sample vehicle is in a rapid acceleration condition, a rapid deceleration condition and a constant speed condition respectively, the vehicle speed under each of the rapid acceleration condition, the rapid deceleration condition and the constant speed condition is synchronously recorded.
[0098] It should be noted that the sample vehicle may be the same vehicle as described in the above embodiment, or may be other vehicles.
[0099] Step 302 : Based on the recorded vehicle speeds under various operating conditions, a least square method is used to calculate a plurality of vehicle speed slopes under various operating conditions, and a plurality of operating condition recognition thresholds are determined from the plurality of vehicle speed slopes under various operating conditions.
[0100] In some embodiments of the present disclosure, multiple adjacent vehicle speed values (such as 8 vehicle speed values) under each operating condition can be recorded, and the least squares method can be used to calculate multiple vehicle speed slopes under each operating condition, and the extreme values of the non-outlier vehicle speed slopes among the multiple vehicle speed slopes under each operating condition are determined as multiple operating condition recognition thresholds.
[0101] By implementing the embodiments of the present disclosure, the vehicle speeds of the sample vehicles under multiple operating conditions are recorded and the corresponding vehicle speed slopes are calculated, and multiple operating condition recognition thresholds are pre-calibrated so that the operating condition information of the vehicle at the first moment can be subsequently determined based on the multiple operating condition recognition thresholds.
[0102] Figure 4FIG. 1 is a flow chart showing another working condition gain modulation method for active acoustic wave compensation according to an exemplary embodiment. Figure 4 As shown, the working condition gain modulation method for active acoustic wave compensation may include the following steps.
[0103] Step 401, obtaining vehicle speed information of the vehicle at a first moment;
[0104] Step 402: Obtain at least one historical vehicle speed information of at least one previous moment of the first moment.
[0105] Step 403: Obtain a first vehicle speed change rate according to the vehicle speed information at the first moment and at least one piece of historical vehicle speed information.
[0106] Step 404 , determining the operating condition information of the vehicle at the first moment according to the vehicle speed information at the first moment and the first vehicle speed change rate.
[0107] Step 405, obtaining a target expected gain value corresponding to the working condition information from a plurality of expected gain values under a plurality of working conditions calibrated in advance, and obtaining a working condition gain value of the vehicle at a second moment, wherein the second moment is a moment before the first moment.
[0108] In some embodiments of the present disclosure, multiple expected gain values under multiple operating conditions may include a first expected gain value for a rapid acceleration condition, a second expected gain value for a slow acceleration condition, a third expected gain value for a constant speed condition, a fourth expected gain value for a rapid deceleration condition, a fifth expected gain value for a slow deceleration condition, and a sixth expected gain value for an idle condition.
[0109] As an example, in some embodiments of the present disclosure, when the sample vehicle is in a sudden acceleration condition, the incident sound to the human ear under the sudden acceleration condition is recorded, and the first average sound pressure level Spl0 of the sudden acceleration condition is calculated based on the incident sound to the human ear under the sudden acceleration condition, and the first expected gain value gain0 of the sudden acceleration condition is set, where the first expected gain value is the global maximum gain, such as gain0=1.
[0110] In some embodiments of the present disclosure, when the sample vehicle is in a slow acceleration condition, the incident sound of the human ear under the slow acceleration condition is recorded to calculate the second average sound pressure level Spl1 of the slow acceleration condition, and the second expected gain value gain1 of the slow acceleration condition is determined based on the first average sound pressure level Spl0, the second average sound pressure level Spl1 and the first expected gain value gain0.
[0111] As an example, the calculation formula of the second expected gain value gain1 in the slow acceleration condition may refer to formula (3).
[0112]
[0113] In some embodiments of the present disclosure, when the sample vehicle is in a uniform speed condition, the incident sound of the human ear under the uniform speed condition is recorded to calculate the third average sound pressure level Spl2 of the uniform speed condition, and the third expected gain value gain2 of the uniform speed condition is determined based on the first average sound pressure level Spl0, the third average sound pressure level Spl2 and the first expected gain value gain0.
[0114] As an example, the calculation formula of the third expected gain value gain2 under the uniform speed condition can refer to formula (4).
[0115]
[0116] In some embodiments of the present disclosure, when the sample vehicle is in a sudden deceleration condition, the incident sound of the human ear under the sudden deceleration condition is recorded to calculate the fourth average sound pressure level Spl3 of the sudden deceleration condition, and the fourth expected gain value gain3 of the sudden deceleration condition is determined based on the first average sound pressure level Spl0, the fourth average sound pressure level Spl3 and the first expected gain value gain0.
[0117] As an example, the calculation formula of the fourth expected gain value gain3 of the rapid deceleration condition can refer to formula (5).
[0118]
[0119] In some embodiments of the present disclosure, when the sample vehicle is in a slow deceleration condition, the incident sound of the human ear under the slow deceleration condition is recorded to calculate the fifth average sound pressure level Spl4 of the slow deceleration condition, and the fifth expected gain value gain4 of the slow deceleration condition is determined based on the first average sound pressure level Spl0, the fifth average sound pressure level Spl4 and the first expected gain value gain0.
[0120] As an example, the calculation formula of the fifth expected gain value gain4 of the slow deceleration condition can refer to formula (6).
[0121]
[0122] In some embodiments of the present disclosure, when the sample vehicle is in an idle condition, the incident sound to the human ear under the idle condition is recorded to calculate the sixth average sound pressure level Spl5 of the idle condition, and the sixth expected gain value gain5 of the idle condition is determined based on the first average sound pressure level Spl0, the sixth average sound pressure level Spl5 and the first expected gain value gain0.
[0123] As an example, the calculation formula of the sixth expected gain value gain5 of the idle condition can refer to formula (7).
[0124]
[0125] Step 406 , performing gain smoothing approximation processing on the operating condition gain value at the second moment according to the target expected gain value, to obtain the operating condition gain value of the vehicle at the first moment.
[0126] Step 407 : sending the operating condition gain value at the first moment to the active sound compensation system on the vehicle, where the operating condition gain value at the first moment is used to perform gain processing on the synthetic sound generated by the active sound compensation system.
[0127] Figure 5 FIG. 1 is a schematic diagram showing a working condition gain modulation for active acoustic wave compensation according to an exemplary embodiment. Figure 5 As shown, the working condition information of the vehicle at the first moment is determined according to the vehicle speed information and historical vehicle speed information at the first moment. According to the working condition information at the first moment, the corresponding working condition gain value is determined, and the synthetic sound generated by the active sound compensation system is gain processed, so that the driver can receive active sound matching the real environment under different working conditions.
[0128] It should be noted that in the embodiments of the present disclosure, steps 401 to 404 and steps 406 to 407 may be implemented in any manner in the embodiments of the present disclosure, and the present disclosure is not limited thereto.
[0129] According to the working condition gain modulation method for active sound compensation of the embodiment of the present disclosure, the working condition information is judged by using the vehicle speed information which has wider applicability and is strongly related to the vehicle working condition, so as to enhance the adaptability of the working condition gain modulation for active sound compensation. The target expected gain values corresponding to a variety of working condition information are calibrated in advance. When modulating the working condition gain, the target expected gain value corresponding to the working condition information is obtained from a plurality of expected gain values under a plurality of working conditions that are pre-calibrated, so as to improve the processing speed of the synthetic sound. In addition, based on the target expected gain value corresponding to the working condition information, the working condition gain value at the second moment is subjected to gain smoothing approximation processing, which can avoid, to a certain extent, the sudden change of the synthetic sound after gain processing that causes the deterioration of the auditory sense, and has better robustness. The present disclosure can realize working condition discrimination and gain generation with high followability, obtain gain modulation that changes with working conditions during the entire operation cycle of the vehicle, and optimize the synthetic sound effect.
[0130] Figure 6 FIG. 1 is a flow chart showing another working condition gain modulation method for active acoustic wave compensation according to an exemplary embodiment. Figure 6 As shown, the working condition gain modulation method for active acoustic wave compensation may include the following steps.
[0131] Step 601, obtaining the vehicle speed information at the first moment.
[0132] Step 602: Obtain at least one historical vehicle speed information of at least one previous moment of the first moment.
[0133] Step 603: Obtain a first vehicle speed change rate according to the vehicle speed information at the first moment and at least one piece of historical vehicle speed information.
[0134] Step 604: Determine the operating condition information of the vehicle at the first moment according to the vehicle speed information at the first moment and the first vehicle speed change rate.
[0135] Step 605, obtaining the target expected gain value corresponding to the operating condition information, and obtaining the operating condition gain value of the vehicle at a second moment, wherein the second moment is a moment before the first moment.
[0136] Step 606: Determine the expected difference value according to the operating condition gain value and the target expected gain value at the second moment.
[0137] As an example, according to the working condition gain value at the second moment last and the target expected gain value gain k , determine the expected difference gain error The calculation formula of can refer to formula (8).
[0138] gain error =gain k -gain last (8)
[0139] Step 607: determine the gain approximation value according to the operating condition gain value at the second moment and the expected difference.
[0140] Optionally, in some embodiments of the present disclosure, a gain approximation reference value may be obtained according to the operating condition gain value at the second moment and the gain approximation reference function. In order to provide a non-obtrusive transition during gain approximation, in some embodiments of the present disclosure, a logarithmic function is used as a gain approximation reference function, and the gain approximation reference value gain′ is t The calculation formula of can refer to formula (9).
[0141] gain t =ln(coef×t+1) (9)
[0142] Among them, t is the number of iterations corresponding to the first moment, ln() is a logarithmic function with base e, and coef is an approximation rate parameter, whose value can be changed according to the style of the sound wave carried.
[0143] Since the absolute value of the gain approximation should not exceed the expected difference, the expected difference gain error The absolute value and gain approach the reference value gain′ tThe minimum value among the absolute values of is determined as the gain approximation gain t , please refer to formula (10).
[0144] gain t =min(|ln(coef×t+1)|,|gain error |) (10)
[0145] Combined with the working condition gain value at the second moment, the above formula (10) can be transformed into the following formula (11), that is, the calculation formula for defining the gain approximation is expressed as follows:
[0146] gain t =min(|ln(1+1 / exp(gain last ))|,|gain error |) (11)
[0147] Step 608, determining the operating condition gain value of the vehicle at the first moment according to the operating condition gain value at the second moment, the expected difference and the gain approximation.
[0148] In some embodiments of the present disclosure, when the expected difference is greater than a second value, the sum of the operating condition gain value at the second moment and the gain approximation is determined as the operating condition gain value of the vehicle at the first moment. The second value may be 0.
[0149] In some embodiments of the present disclosure, when the expected difference is less than the second value, the difference between the operating condition gain value at the second moment and the gain approximation is determined as the operating condition gain value of the vehicle at the first moment.
[0150] In some embodiments of the present disclosure, when the expected difference is equal to the second value, the operating condition gain value at the second moment is determined as the operating condition gain value of the vehicle at the first moment.
[0151] As an example, the calculation formula for the operating condition gain value of the vehicle at the first moment may refer to formula (12).
[0152]
[0153] Step 609: Send the operating condition gain value at the first moment to the active sound compensation system on the vehicle. The operating condition gain value at the first moment is used to perform gain processing on the synthetic sound generated by the active sound compensation system.
[0154] It should be noted that in the embodiments of the present disclosure, steps 601 to 605 and step 609 may be implemented in any manner in the embodiments of the present disclosure, and the present disclosure is not limited thereto.
[0155] According to the working condition gain modulation method for active sound compensation of the embodiment of the present disclosure, the working condition information is judged by using the vehicle speed information which has wider applicability and is strongly related to the vehicle working condition, so that the adaptability of the working condition gain modulation for active sound compensation can be enhanced. In addition, based on the target expected gain value, the expected difference value, the working condition gain value at the second moment, and the gain approximation corresponding to the working condition information, the working condition gain value at the first moment is further determined, and the working condition gain value at the second moment is subjected to gain smoothing approximation processing, which can avoid, to a certain extent, the sudden change of the synthesized sound after gain processing that causes the deterioration of the auditory sense, and has better robustness. The present disclosure can realize working condition discrimination and gain generation with high followability, obtain gain modulation that changes with working conditions during the entire operation cycle of the vehicle, and further optimize the effect of the synthesized sound.
[0156] In order to implement the above embodiments, the present disclosure provides a working condition gain modulation device for active acoustic wave compensation. Figure 7 FIG. 1 is a schematic diagram showing a structure of a working condition gain modulation device for active acoustic wave compensation according to an exemplary embodiment. Figure 7 As shown, the working condition gain modulation device for active acoustic wave compensation may include: a first acquisition module 701, a second acquisition module 702, a determination module 703, a third acquisition module 704, a processing module 705 and a sending module 706.
[0157] The first acquisition module 701 is used to acquire the vehicle speed information of the vehicle at a first moment.
[0158] The second acquisition module 702 is used to acquire at least one historical vehicle speed information of at least one previous moment of the first moment.
[0159] The third acquisition module 703 is used to acquire a first vehicle speed change rate according to the vehicle speed information at the first moment and at least one piece of historical vehicle speed information.
[0160] The determination module 704 is used to determine the operating condition information of the vehicle at the first moment according to the vehicle speed information at the first moment and the first vehicle speed change rate.
[0161] The fourth acquisition module 705 is used to acquire the target expected gain value corresponding to the operating condition information, and acquire the operating condition gain value of the vehicle at a second moment; wherein the second moment is a moment before the first moment.
[0162] The processing module 706 is used to perform gain smoothing approximation processing on the operating condition gain value at the second moment according to the target expected gain value to obtain the operating condition gain value of the vehicle at the first moment.
[0163] The sending module 707 is used to send the working condition gain value at the first moment to the active sound compensation system on the vehicle, and the working condition gain value at the first moment is used to perform gain processing on the synthetic sound generated by the active sound compensation system.
[0164] In some embodiments of the present disclosure, the third acquisition module 703 is specifically used to: obtain a first record number for recording vehicle speed information, and at least one second record number for recording at least one historical vehicle speed information; calculate the vehicle speed slope using the least squares method based on the vehicle speed information at the first moment, at least one historical vehicle speed information, the first record number and at least one second record number; and determine the calculated vehicle speed slope as the first vehicle speed change rate.
[0165] In some embodiments of the present disclosure, the determination module 704 is specifically used to: in response to the vehicle speed information at the first moment being a first vehicle speed value, determine that the operating condition information of the vehicle at the first moment is an idle condition; or, in response to the vehicle speed information at the first moment being a non-first vehicle speed value, determine the operating condition information of the vehicle at the first moment according to the first vehicle speed change rate and multiple operating condition identification thresholds; wherein the multiple operating condition identification thresholds include a uniform speed operating condition identification threshold, a sudden acceleration operating condition identification threshold, and a sudden deceleration operating condition identification threshold.
[0166] In some embodiments of the present disclosure, the determination module 704 is specifically used to: in response to the absolute value of the first vehicle speed change rate being less than the uniform speed condition recognition threshold, determine that the vehicle's operating condition information at the first moment is a uniform speed condition; or, in response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition recognition threshold, and the first vehicle speed change rate being greater than or equal to the first value, and the first vehicle speed change rate being greater than or equal to the rapid acceleration condition recognition threshold, determine that the vehicle's operating condition information at the first moment is a rapid acceleration condition; or, in response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition recognition threshold, and the first vehicle speed change rate being greater than or equal to the first value, and the first vehicle speed change rate being greater than or equal to the rapid acceleration condition recognition threshold. In response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition recognition threshold, the first vehicle speed change rate being less than the first value, and the first vehicle speed change rate being greater than the rapid deceleration condition recognition threshold, the operating condition information of the vehicle at the first moment is determined to be a slow deceleration condition; or, in response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition recognition threshold, the first vehicle speed change rate being less than the first value, and the first vehicle speed change rate being less than or equal to the rapid deceleration condition recognition threshold, the operating condition information of the vehicle at the first moment is determined to be a rapid deceleration condition.
[0167] In some embodiments of the present disclosure, the fourth acquisition module 705 is specifically used to acquire a target expected gain value corresponding to the operating condition information from a plurality of expected gain values under a plurality of pre-calibrated operating conditions.
[0168] In some embodiments of the present disclosure, the processing module 706 is specifically used to: determine the expected difference based on the operating condition gain value at the second moment and the target expected gain value; determine the gain approximation based on the operating condition gain value at the second moment and the expected difference; determine the operating condition gain value of the vehicle at the first moment based on the operating condition gain value at the second moment, the expected difference and the gain approximation.
[0169] In some embodiments of the present disclosure, the processing module 706 is specifically used to: obtain a gain approximation reference value based on the operating condition gain value at the second moment and the gain approximation reference function; and determine the minimum value between the absolute value of the expected difference and the absolute value of the gain approximation reference value as the gain approximation amount.
[0170] In some embodiments of the present disclosure, the processing module 706 is specifically used to: in response to the expected difference being greater than the second value, determine the sum of the operating condition gain value at the second moment and the gain approximation as the operating condition gain value of the vehicle at the first moment; or, in response to the expected difference being less than the second value, determine the difference between the operating condition gain value at the second moment and the gain approximation as the operating condition gain value of the vehicle at the first moment.
[0171] Optionally, in some embodiments of the present disclosure, Figure 8 As shown, the working condition gain modulation device for active sound compensation may also include a first pre-calibration module 808. The first pre-calibration module 808 is used to: when the sample vehicle is in a rapid acceleration condition, a rapid deceleration condition and a constant speed condition, synchronously record the vehicle speed under each of the rapid acceleration condition, the rapid deceleration condition and the constant speed condition; according to the recorded vehicle speed under each condition, use the least square method to calculate multiple vehicle speed slopes under each condition, and determine multiple working condition recognition thresholds from the multiple vehicle speed slopes under each condition. Figure 8 801-807 and Figure 7 701-707 have the same function and structure.
[0172] Optionally, in some embodiments of the present disclosure, the multiple expected gain values under multiple operating conditions include a first expected gain value for a rapid acceleration condition, a second expected gain value for a slow acceleration condition, a third expected gain value for a constant speed condition, a fourth expected gain value for a rapid deceleration condition, a fifth expected gain value for a slow deceleration condition, and a sixth expected gain value for an idle condition. Fig. 9 As shown, the operating gain modulation device for active acoustic wave compensation may further include a second pre-calibration module 909 .
[0173] Among them, the second pre-calibration module 909 is used for: when the sample vehicle is in a rapid acceleration condition, recording the incident sound of the human ear under the rapid acceleration condition, and calculating the first average sound pressure level of the rapid acceleration condition based on the incident sound of the human ear under the rapid acceleration condition, and setting the first expected gain value of the rapid acceleration condition, wherein the first expected gain value is the global maximum gain; when the sample vehicle is in a slow acceleration condition, recording the incident sound of the human ear under the slow acceleration condition to calculate the second average sound pressure level of the slow acceleration condition, and determining the second expected gain value of the slow acceleration condition based on the first average sound pressure level, the second average sound pressure level and the first expected gain value; when the sample vehicle is in a uniform speed condition, recording the incident sound of the human ear under the uniform speed condition to calculate the third average sound pressure level of the uniform speed condition, and setting the first expected gain value based on the first average sound pressure level, the third average sound pressure level and the first expected gain value , determine the third expected gain value of the uniform speed condition; when the sample vehicle is in a rapid deceleration condition, record the incident sound of the human ear under the rapid deceleration condition to calculate the fourth average sound pressure level of the rapid deceleration condition, and determine the fourth expected gain value of the rapid deceleration condition based on the first average sound pressure level, the fourth average sound pressure level and the first expected gain value; when the sample vehicle is in a slow deceleration condition, record the incident sound of the human ear under the slow deceleration condition to calculate the fifth average sound pressure level of the slow deceleration condition, and determine the fifth expected gain value of the slow deceleration condition based on the first average sound pressure level, the fifth average sound pressure level and the first expected gain value; when the sample vehicle is in an idle condition, record the incident sound of the human ear under the idle condition to calculate the sixth average sound pressure level of the idle condition, and determine the sixth expected gain value of the idle condition based on the first average sound pressure level, the sixth average sound pressure level and the first expected gain value. Wherein, Fig. 9 901-908 and Figure 8 801-808 have the same function and structure.
[0174] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0175] According to the working condition gain modulation device for active sound compensation of the embodiment of the present disclosure, the working condition information is judged by using the vehicle speed information which has wider applicability and is strongly related to the vehicle working condition, so as to enhance the adaptability of the working condition gain modulation for active sound compensation. In addition, based on the target expected gain value corresponding to the working condition information, the working condition gain value at the second moment is subjected to gain smoothing approximation processing, which can avoid the sudden change of the synthesized sound after gain processing that causes the deterioration of the auditory sense to a certain extent, and has better robustness. The present disclosure can realize working condition discrimination and gain generation with high followability, obtain gain modulation that changes with working conditions during the entire operation cycle of the vehicle, and optimize the effect of synthesized sound.
[0176] Fig.10 is a block diagram of a vehicle according to an exemplary embodiment. Fig.10, the vehicle 1000 may include one or more of the following components: a processing component 1002 , a memory 1004 , a power component 1006 , a multimedia component 1008 , an audio component 1010 , an input / output (I / O) interface 1012 , a sensor component 1014 , and a communication component 1016 .
[0177] The processing component 1002 generally controls the overall operation of the vehicle 1000, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 1002 may include one or more modules to facilitate the interaction between the processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate the interaction between the multimedia component 1008 and the processing component 1002.
[0178] The memory 1004 is configured to store various types of data to support operations on the vehicle 1000. Examples of such data include instructions for any application or method operating on the vehicle 1000, contact data, phone book data, messages, pictures, videos, etc. The memory 1004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0179] The power assembly 1006 provides power to various components of the vehicle 1000. The power assembly 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the vehicle 1000.
[0180] The multimedia component 1008 includes a screen that provides an output interface between the vehicle 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front camera and / or a rear camera. When the vehicle 1000 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0181] The audio component 1010 is configured to output and / or input audio signals. For example, the audio component 1010 includes a microphone (MIC), and when the vehicle 1000 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1004 or sent via the communication component 1016. In some embodiments, the audio component 1010 also includes a speaker for outputting audio signals.
[0182] I / O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0183] The sensor assembly 1014 includes one or more sensors for providing various aspects of the status assessment of the vehicle 1000. For example, the sensor assembly 1014 can detect the open / closed state of the vehicle 1000, the relative positioning of components, such as the display and keypad of the vehicle 1000, the sensor assembly 1014 can also detect the position change of the vehicle 1000 or a component of the vehicle 1000, the presence or absence of user contact with the vehicle 1000, the orientation or acceleration / deceleration of the vehicle 1000, and the temperature change of the vehicle 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0184] The communication component 1016 is configured to facilitate wired or wireless communication between the vehicle 1000 and other devices. The vehicle 1000 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0185] In an exemplary embodiment, the vehicle 1000 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described methods.
[0186] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1004 including instructions, which can be executed by a processor 1020 of the vehicle 1000 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0187] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0188] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A working condition gain modulation method for active acoustic wave compensation, characterized in that: include: Obtain vehicle speed information at the first moment; Acquire at least one historical vehicle speed information of at least one previous moment of the first moment; acquiring a first vehicle speed change rate according to the vehicle speed information at the first moment and the at least one historical vehicle speed information; Determining the operating condition information of the vehicle at the first moment according to the vehicle speed information at the first moment and the first vehicle speed change rate; Acquire a target expected gain value corresponding to the operating condition information, and acquire an operating condition gain value of the vehicle at a second moment; wherein the second moment is a moment before the first moment; Performing a gain smoothing approximation process on the operating condition gain value at the second moment according to the target expected gain value to obtain the operating condition gain value of the vehicle at the first moment; The operating condition gain value at the first moment is sent to an active sound compensation system on the vehicle, and the operating condition gain value at the first moment is used to perform gain processing on the synthetic sound generated by the active sound compensation system.
2. The method according to claim 1, characterized in that The acquiring a first vehicle speed change rate according to the vehicle speed information at the first moment and the at least one historical vehicle speed information includes: Acquire a first record serial number for recording the vehicle speed information and at least one second record serial number for recording the at least one historical vehicle speed information; Calculating the vehicle speed slope by using the least square method according to the vehicle speed information at the first moment, the at least one piece of historical vehicle speed information, the first record sequence number and the at least one second record sequence number; The calculated vehicle speed slope is determined as the first vehicle speed change rate.
3. The method according to claim 1, characterized in that The determining, based on the vehicle speed information at the first moment and the first vehicle speed change rate, the operating condition information of the vehicle at the first moment includes: In response to the vehicle speed information at the first moment being a first vehicle speed value, determining that the operating condition information of the vehicle at the first moment is an idle operating condition; or, In response to the vehicle speed information at the first moment being a non-first vehicle speed value, the operating condition information of the vehicle at the first moment is determined according to the first vehicle speed change rate and multiple operating condition identification thresholds; wherein the multiple operating condition identification thresholds include a uniform speed operating condition identification threshold, a sudden acceleration operating condition identification threshold and a sudden deceleration operating condition identification threshold.
4. The method according to claim 3, characterized in that The determining the operating condition information of the vehicle at the first moment according to the first vehicle speed change rate and a plurality of operating condition identification thresholds includes: In response to the absolute value of the first vehicle speed change rate being less than the uniform speed condition recognition threshold, determining that the vehicle's operating condition information at the first moment is a uniform speed condition; or, In response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition identification threshold, the first vehicle speed change rate being greater than or equal to a first value, and the first vehicle speed change rate being greater than or equal to the sudden acceleration condition identification threshold, determining that the vehicle's operating condition information at the first moment is a sudden acceleration condition; or, In response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition recognition threshold, the first vehicle speed change rate being greater than or equal to the first value, and the first vehicle speed change rate being less than the rapid acceleration condition recognition threshold, determining that the vehicle's operating condition information at the first moment is a slow acceleration condition; or, In response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition recognition threshold, the first vehicle speed change rate being less than the first value, and the first vehicle speed change rate being greater than the rapid deceleration condition recognition threshold, determining that the vehicle's operating condition information at the first moment is a slow deceleration condition; or, In response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition identification threshold, and the first vehicle speed change rate being less than the first value, and the first vehicle speed change rate being less than or equal to the sudden deceleration condition identification threshold, it is determined that the vehicle's operating condition information at the first moment is a sudden deceleration condition.
5. The method according to claim 3 or 4, characterized in that The multiple operating condition identification thresholds are pre-calibrated in the following manner: When the sample vehicle is in a rapid acceleration condition, a rapid deceleration condition, and a constant speed condition, respectively, the vehicle speed under each of the rapid acceleration condition, the rapid deceleration condition, and the constant speed condition is synchronously recorded; According to the recorded vehicle speeds under the various operating conditions, a plurality of vehicle speed slopes under the various operating conditions are calculated using a least squares method, and the plurality of operating condition recognition thresholds are determined from the plurality of vehicle speed slopes under the various operating conditions.
6. The method according to claim 1, characterized in that The obtaining of the target expected gain value corresponding to the operating condition information includes: A target expected gain value corresponding to the operating condition information is obtained from a plurality of expected gain values under a plurality of pre-calibrated operating conditions.
7. The method according to claim 6, characterized in that The multiple expected gain values under the multiple working conditions include a first expected gain value under a rapid acceleration condition, a second expected gain value under a slow acceleration condition, a third expected gain value under a constant speed condition, a fourth expected gain value under a rapid deceleration condition, a fifth expected gain value under a slow deceleration condition, and a sixth expected gain value under an idle speed condition; wherein the multiple expected gain values under the multiple working conditions are pre-calibrated in the following manner: When the sample vehicle is in the rapid acceleration condition, recording the incident sound of the human ear under the rapid acceleration condition, calculating the first average sound pressure level of the rapid acceleration condition according to the incident sound of the human ear under the rapid acceleration condition, and setting the first expected gain value of the rapid acceleration condition, wherein the first expected gain value is the global maximum gain; When the sample vehicle is in the slow acceleration condition, recording the incident sound of a human ear under the slow acceleration condition to calculate a second average sound pressure level of the slow acceleration condition, and determining a second expected gain value of the slow acceleration condition according to the first average sound pressure level, the second average sound pressure level and the first expected gain value; When the sample vehicle is in the uniform speed condition, the incident sound of the human ear under the uniform speed condition is recorded to calculate the third average sound pressure level of the uniform speed condition, and the third expected gain value of the uniform speed condition is determined according to the first average sound pressure level, the third average sound pressure level and the first expected gain value; When the sample vehicle is in the rapid deceleration condition, the incident sound of a human ear under the rapid deceleration condition is recorded to calculate a fourth average sound pressure level of the rapid deceleration condition, and a fourth expected gain value of the rapid deceleration condition is determined according to the first average sound pressure level, the fourth average sound pressure level and the first expected gain value; When the sample vehicle is in the slow deceleration condition, the incident sound of a human ear under the slow deceleration condition is recorded to calculate the fifth average sound pressure level of the slow deceleration condition, and the fifth expected gain value of the slow deceleration condition is determined according to the first average sound pressure level, the fifth average sound pressure level and the first expected gain value; When the sample vehicle is in the idle condition, the incident sound to the human ear under the idle condition is recorded to calculate the sixth average sound pressure level of the idle condition, and the sixth expected gain value of the idle condition is determined according to the first average sound pressure level, the sixth average sound pressure level and the first expected gain value.
8. The method according to claim 1, characterized in that The step of performing a gain smoothing approximation process on the operating condition gain value at the second moment according to the target expected gain value to obtain the operating condition gain value of the vehicle at the first moment includes: Determining an expected difference value according to the operating condition gain value at the second moment and the target expected gain value; Determining a gain approximation value according to the operating condition gain value at the second moment and the expected difference; The operating condition gain value of the vehicle at the first moment is determined according to the operating condition gain value at the second moment, the expected difference and the gain approximation.
9. The method according to claim 8, characterized in that The step of determining the gain approximation value according to the operating condition gain value at the second moment and the expected difference value comprises: Obtaining a gain approximation reference value according to the operating condition gain value at the second moment and a gain approximation reference function; The minimum value between the absolute value of the expected difference and the absolute value of the gain approximation reference value is determined as the gain approximation amount.
10. The method according to claim 8 or 9, characterized in that The determining the operating condition gain value of the vehicle at the first moment according to the operating condition gain value at the second moment, the expected difference and the gain approximation comprises: In response to the expected difference being greater than a second value, determining the sum of the operating condition gain value at the second moment and the gain approximation value as the operating condition gain value of the vehicle at the first moment; or, In response to the expected difference being smaller than the second value, the difference between the operating condition gain value at the second moment and the gain approximation value is determined as the operating condition gain value of the vehicle at the first moment.
11. A working condition gain modulation device for active acoustic wave compensation, characterized in that: include: A first acquisition module, used to acquire vehicle speed information of the vehicle at a first moment; A second acquisition module, used to acquire at least one historical vehicle speed information of at least one previous moment of the first moment; A third acquisition module, configured to acquire a first vehicle speed change rate according to the vehicle speed information at the first moment and the at least one historical vehicle speed information; a determination module, configured to determine the operating condition information of the vehicle at the first moment according to the vehicle speed information at the first moment and the first vehicle speed change rate; a fourth acquisition module, configured to acquire a target expected gain value corresponding to the operating condition information, and acquire an operating condition gain value of the vehicle at a second moment; wherein the second moment is a moment before the first moment; a processing module, configured to perform a gain smoothing approximation process on the operating condition gain value at the second moment according to the target expected gain value, so as to obtain the operating condition gain value of the vehicle at the first moment; A sending module is used to send the operating condition gain value at the first moment to the active sound compensation system on the vehicle, and the operating condition gain value at the first moment is used to perform gain processing on the synthetic sound generated by the active sound compensation system.
12. The device according to claim 11, characterized in that The third acquisition module is specifically used for: Acquire a first record serial number for recording the vehicle speed information and at least one second record serial number for recording the at least one historical vehicle speed information; Calculating the vehicle speed slope by using the least square method according to the vehicle speed information at the first moment, the at least one piece of historical vehicle speed information, the first record sequence number and the at least one second record sequence number; The calculated vehicle speed slope is determined as the first vehicle speed change rate.
13. The device according to claim 11, characterized in that The determination module is specifically used for: In response to the vehicle speed information at the first moment being a first vehicle speed value, determining that the operating condition information of the vehicle at the first moment is an idle operating condition; or, In response to the vehicle speed information at the first moment being a non-first vehicle speed value, the operating condition information of the vehicle at the first moment is determined according to the first vehicle speed change rate and multiple operating condition identification thresholds; wherein the multiple operating condition identification thresholds include a uniform speed operating condition identification threshold, a sudden acceleration operating condition identification threshold and a sudden deceleration operating condition identification threshold.
14. The device according to claim 13, characterized in that The determination module is specifically used for: In response to the absolute value of the first vehicle speed change rate being less than the uniform speed condition recognition threshold, determining that the vehicle's operating condition information at the first moment is a uniform speed condition; or, In response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition recognition threshold, the first vehicle speed change rate being greater than or equal to a first value, and the first vehicle speed change rate being greater than or equal to the sudden acceleration condition recognition threshold, determining that the vehicle's operating condition information at the first moment is a sudden acceleration condition; or, In response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition recognition threshold, the first vehicle speed change rate being greater than or equal to the first value, and the first vehicle speed change rate being less than the rapid acceleration condition recognition threshold, determining that the vehicle's operating condition information at the first moment is a slow acceleration condition; or, In response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition recognition threshold, the first vehicle speed change rate being less than the first value, and the first vehicle speed change rate being greater than the rapid deceleration condition recognition threshold, determining that the vehicle's operating condition information at the first moment is a slow deceleration condition; or, In response to the absolute value of the first vehicle speed change rate being greater than or equal to the uniform speed condition identification threshold, and the first vehicle speed change rate being less than the first value, and the first vehicle speed change rate being less than or equal to the sudden deceleration condition identification threshold, it is determined that the vehicle's operating condition information at the first moment is a sudden deceleration condition.
15. The device according to claim 13 or 14, characterized in that Also includes a first pre-calibration module; wherein the first pre-calibration module is used to: When the sample vehicle is in a rapid acceleration condition, a rapid deceleration condition, and a constant speed condition, respectively, the vehicle speed under each of the rapid acceleration condition, the rapid deceleration condition, and the constant speed condition is synchronously recorded; According to the recorded vehicle speeds under the various operating conditions, a plurality of vehicle speed slopes under the various operating conditions are calculated using a least squares method, and the plurality of operating condition recognition thresholds are determined from the plurality of vehicle speed slopes under the various operating conditions.
16. The device according to claim 11, characterized in that The fourth acquisition module is specifically used for: A target expected gain value corresponding to the operating condition information is obtained from a plurality of expected gain values under a plurality of pre-calibrated operating conditions.
17. The device according to claim 16, characterized in that The multiple expected gain values under the multiple working conditions include a first expected gain value for a rapid acceleration working condition, a second expected gain value for a slow acceleration working condition, a third expected gain value for a constant speed working condition, a fourth expected gain value for a rapid deceleration working condition, a fifth expected gain value for a slow deceleration working condition, and a sixth expected gain value for an idle working condition; the device further includes: a second pre-calibration module; wherein the second pre-calibration module is used to: When the sample vehicle is in the rapid acceleration condition, recording the incident sound of the human ear under the rapid acceleration condition, calculating the first average sound pressure level of the rapid acceleration condition according to the incident sound of the human ear under the rapid acceleration condition, and setting the first expected gain value of the rapid acceleration condition, wherein the first expected gain value is the global maximum gain; When the sample vehicle is in the slow acceleration condition, recording the incident sound of a human ear under the slow acceleration condition to calculate a second average sound pressure level of the slow acceleration condition, and determining a second expected gain value of the slow acceleration condition according to the first average sound pressure level, the second average sound pressure level and the first expected gain value; When the sample vehicle is in the uniform speed condition, the incident sound of the human ear under the uniform speed condition is recorded to calculate the third average sound pressure level of the uniform speed condition, and the third expected gain value of the uniform speed condition is determined according to the first average sound pressure level, the third average sound pressure level and the first expected gain value; When the sample vehicle is in the rapid deceleration condition, the incident sound of a human ear under the rapid deceleration condition is recorded to calculate a fourth average sound pressure level of the rapid deceleration condition, and a fourth expected gain value of the rapid deceleration condition is determined according to the first average sound pressure level, the fourth average sound pressure level and the first expected gain value; When the sample vehicle is in the slow deceleration condition, the incident sound of a human ear under the slow deceleration condition is recorded to calculate the fifth average sound pressure level of the slow deceleration condition, and the fifth expected gain value of the slow deceleration condition is determined according to the first average sound pressure level, the fifth average sound pressure level and the first expected gain value; When the sample vehicle is in the idle condition, the incident sound to the human ear under the idle condition is recorded to calculate the sixth average sound pressure level of the idle condition, and the sixth expected gain value of the idle condition is determined according to the first average sound pressure level, the sixth average sound pressure level and the first expected gain value.
18. The device according to claim 11, characterized in that The processing module is specifically used for: Determining an expected difference value according to the operating condition gain value at the second moment and the target expected gain value; Determining a gain approximation value according to the operating condition gain value at the second moment and the expected difference; The operating condition gain value of the vehicle at the first moment is determined according to the operating condition gain value at the second moment, the expected difference and the gain approximation.
19. The device according to claim 18, characterized in that The processing module is specifically used for: Obtaining a gain approximation reference value according to the operating condition gain value at the second moment and a gain approximation reference function; The minimum value between the absolute value of the expected difference and the absolute value of the gain approximation reference value is determined as the gain approximation amount.
20. The device according to claim 18 or 19, characterized in that The processing module is specifically used for: In response to the expected difference being greater than a second value, determining the sum of the operating condition gain value at the second moment and the gain approximation value as the operating condition gain value of the vehicle at the first moment; or, In response to the expected difference being smaller than the second value, the difference between the operating condition gain value at the second moment and the gain approximation value is determined as the operating condition gain value of the vehicle at the first moment.
21. A vehicle, characterized in that: include: processor; A memory for storing processor-executable instructions; wherein the instructions are executed by the processor to enable the processor to perform the method according to any one of claims 1 to 10.
22. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.
