Headrest audio adjustment method, device, electronic device and storage medium

By obtaining the vehicle's speed change information and adjusting the volume of the headrest audio according to the quadratic function relationship, the driver's problem of sudden volume changes during vehicle acceleration or braking is solved, improving the driving experience and protecting hearing.

CN117255284BActive Publication Date: 2024-09-17CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311249895.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2024-09-17
Estimated Expiration
2043-09-26

AI Technical Summary

Technical Problem

When the driver accelerates or brakes the vehicle, the relative position of the headrest audio changes, causing the volume to suddenly increase or decrease, affecting the driving experience and possibly causing damage to hearing.

Method used

By obtaining the vehicle's speed change information, it determines whether it meets the preset range, selects the corresponding volume adjustment mode, uses the quadratic function relationship to calculate the volume adjustment value, and adjusts the volume of the headrest audio to maintain a stable volume experience.

Benefits of technology

It effectively avoids drastic changes in volume when the driver accelerates or brakes the vehicle, improves the driving experience and reduces hearing damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117255284B
    Figure CN117255284B
Patent Text Reader

Abstract

The present application relates to the field of vehicle technology, and provides a method, device, electronic device and storage medium for adjusting a headrest speaker. The method comprises: obtaining the speed change information of the vehicle; determining whether the speed change information meets a preset range; if the speed change information meets the preset range, selecting a corresponding volume adjustment mode based on the speed change information; obtaining a corresponding volume adjustment value based on the volume adjustment mode; and adjusting the volume of the headrest speaker based on the volume adjustment value. The present application improves the problem of a sudden increase in the volume perceived by the driver due to a change in the relative position between the driver and the headrest speaker, which causes damage to the driver's single ear, thereby improving the driving experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, electronic device and storage medium for adjusting headrest audio. Background Art

[0002] Headrest audio is a new audio source that has gradually emerged in the development of smart cars. The function of headrest audio is similar to that of Bluetooth headphones, which can provide drivers with a more private sound playback function. At present, some vehicles have installed headrest audio devices, which can allow drivers to hear the sound of navigation, music or videos without affecting the passenger's riding experience.

[0003] However, since the position of the headrest speakers is fixed and close to the driver's ears, once the relative position of the driver and the headrest speakers changes, the sound effects perceived by the driver will change significantly. For example, when the driver controls the vehicle to accelerate, the driver's head may suddenly get very close to the headrest speaker on one side, but the volume of the headrest speakers does not change, causing the volume heard by the driver's ear to increase sharply. This will not only affect the driving experience, but may even damage the driver's hearing in one ear. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a method, device, electronic device and storage medium for adjusting a headrest speaker to solve the problem in the prior art that the volume perceived by the driver will suddenly increase due to a change in the relative position of the driver and the headrest speaker.

[0005] According to a first aspect of an embodiment of the present application, a method for adjusting a headrest speaker is provided, comprising:

[0006] Get the vehicle's speed change information;

[0007] Determine whether the speed change information meets a preset range;

[0008] If the speed change information meets the preset range, then based on the speed change information, a corresponding volume adjustment mode is selected; the function relationship between the volume adjustment value in the volume adjustment mode and the speed change information is a quadratic function;

[0009] Obtaining a corresponding volume adjustment value based on the volume adjustment mode;

[0010] Adjust the volume of the headrest speakers based on the volume adjustment value.

[0011] According to a second aspect of the embodiment of the present application, there is provided a headrest audio adjustment device, comprising:

[0012] A first acquisition module is configured to acquire speed change information of a vehicle;

[0013] A first judgment module is configured to judge whether the speed change information meets a preset range;

[0014] A first selection module is configured to select a corresponding volume adjustment mode based on the speed change information if the speed change information satisfies a preset range; the function relationship between the volume adjustment value in the volume adjustment mode and the speed change information is a quadratic function;

[0015] A first obtaining module is configured to obtain a corresponding volume adjustment value based on a volume adjustment mode;

[0016] The first adjustment module is configured to adjust the volume of the headrest audio based on the volume adjustment value.

[0017] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0018] According to a fourth aspect of an embodiment of the present application, a storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0019] Compared with the prior art, the embodiments of the present application have the following beneficial effects: by obtaining the speed change information of the vehicle; judging whether the speed change information meets the preset range; if the speed change information meets the preset range, selecting the corresponding volume adjustment mode based on the speed change information; obtaining the corresponding volume adjustment value based on the volume adjustment mode; and adjusting the volume of the headrest audio based on the volume adjustment value. The embodiments of the present application improve the problem of the sudden increase in volume perceived by the driver due to the change in the relative position between the driver and the headrest audio, which causes damage to the driver's single ear, and thus improves the driving experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 It is a flowchart of a method for adjusting a headrest speaker provided in an embodiment of the present application;

[0022] Figure 2 It is a schematic diagram of the implementation logic flow of the acceleration adjustment mode provided in the embodiment of the present application;

[0023] Figure 3 It is a schematic diagram of the implementation logic flow of the first time adjustment mode provided in the embodiment of the present application;

[0024] Figure 4 It is a schematic diagram of the implementation logic flow of the deceleration adjustment mode provided in the embodiment of the present application;

[0025] Figure 5 It is a schematic diagram of the implementation logic flow of the second time adjustment mode provided in the embodiment of the present application;

[0026] Figure 6 It is a structural schematic diagram of a headrest audio adjustment device provided in an embodiment of the present application;

[0027] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0029] The inventor of this application has conducted research and found that when the driver controls the acceleration of the car, because the new energy smart car itself does not have a gearbox, the acceleration value will be more stable during the acceleration of the car, and it is much greater than the acceleration of the traditional oil car. Therefore, during the acceleration of the car, the driver and the passengers will feel a strong sense of pushing back. In this case, the driver's upper body will inevitably be close to the seat due to inertia, and the degree of sinking into the sofa seat will be deeper than usual. When the driver is driving normally, the back may not fit the seat completely, and even if it fits, there will be a high probability of a gap. When the new energy vehicle accelerates, the stable and large acceleration will make the driver's body fit the back completely, and the distance between the driver's ears and the two headrest speakers will inevitably be shortened. If the volume is not adjusted actively at this time, the sound felt by the driver will increase sharply, which will not only affect the driver's driving experience, but also cause damage to the driver's hearing.

[0030] The inventor of the present application has also found through research that when the driver controls the car to brake, the driver will tend to rush forward due to his own inertia. At this time, the driver's upper body will be greatly away from the headrest speaker, so the volume felt by the driver will also drop sharply. Although the drastic change in volume at this time will not affect the driver's hearing, after the driver's inertia of rushing forward ends, his upper body will suddenly lean back on his back, and the volume felt by the driver himself will increase sharply during this process. This process will not only affect the driver's driving experience, but also affect the driver's hearing level to a certain extent. Therefore, when the driver brakes or brakes suddenly, the driver's body will experience two processes: violent forward rush and violent back leaning.

[0031] Therefore, during the above-mentioned process of the driver controlling the acceleration and braking of the car, the distance between the driver's head and the headrest speakers on both sides will also change due to the movement of the driver's entire upper body.

[0032] In order to avoid the situation where, when the driver's ear suddenly approaches a speaker on one side and changes posture due to the movement of the vehicle, the driver's perceived sound intensity changes drastically, affecting the experience and even hearing, the embodiments of the present application provide a method, device, electronic device and storage medium for adjusting the headrest speakers, aiming to solve the above technical problems in the prior art.

[0033] A method, device, electronic device and storage medium for adjusting a headrest speaker according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.

[0034] Figure 1 It is a flow chart of a method for adjusting a headrest speaker provided in an embodiment of the present application. Figure 1 The method for adjusting the headrest audio system may be executed by a vehicle control device.

[0035] like Figure 1 As shown, the adjustment method of the headrest audio system includes:

[0036] S101, obtaining speed change information of the vehicle;

[0037] S102, determining whether the speed change information meets a preset range;

[0038] S103, if the speed change information satisfies a preset range, then based on the speed change information, a corresponding volume adjustment mode is selected; the function relationship between the volume adjustment value in the volume adjustment mode and the speed change information is a quadratic function;

[0039] S104, obtaining a corresponding volume adjustment value based on the volume adjustment mode;

[0040] S105, adjusting the volume of the headrest audio system based on the volume adjustment value.

[0041] The embodiment of the present application adjusts the volume of the headrest speaker to a volume adjustment value according to the gear shift information, thereby improving the problem of a sudden increase in volume perceived by the driver due to a change in the relative position of the driver and the headrest speaker, which may cause damage to the driver's ear, thereby improving the driving experience.

[0042] In some embodiments, the speed change information may include acceleration values, deceleration values, vehicle speed and other information.

[0043] In one application scenario, the headrest sound adjustment method based on the vehicle controller of the embodiment of the present application is as follows:

[0044] The headrest speaker may include two sides, corresponding to the left ear and right ear of the driver respectively. Generally, the volume of the left side of the headrest speaker is equal to the volume of the right side of the headrest speaker. Of course, the volume of the left side of the headrest speaker and the volume of the right side of the headrest speaker may also be unequal. The headrest speaker adjustment method of the embodiment of the present application may be applicable to adjusting the volume of both sides of the headrest speaker at the same time. Of course, it may also be applicable to adjusting the volume of one side of the headrest speaker. This application does not make any special limitation. In the following description, the example of adjusting the volume of both sides of the headrest speaker at the same time is used for explanation.

[0045] First, the process of determining the preset volume value of the headrest audio system is introduced. The preset volume value in this embodiment refers to the volume that the driver is adapted to or accustomed to at a low volume.

[0046] Assume that the volume range of the headrest audio is 0-100. The headrest audio can play audio sources such as navigation sound, music, and video sound. For these three audio sources, the vehicle computer CDC will infer the driver's preference for volume by separately recording the driver's setting value for each audio source. The headrest audio adjustment method of the embodiment of the present application can be explained based on the example that the volume values ​​of the left and right sides of the headrest audio are equal and both are M, and the value range of M is 0-100.

[0047] For example, the car computer CDC records the driver's preference for the volume of music playback. The process is as follows:

[0048] Assume that the reference volume value is 25. When the volume value is below 25, it is the driver's adaptation volume for low volume. When the driver plays music through the headrest speaker, when the driver adjusts the music volume value below 25 for the first time, and there is no change within 30 seconds, the car computer CDC records the data, recorded as N1. When the driver plays music next time and adjusts the music volume to below 25, and there is no change within 30 seconds, the car computer CDC records the data, recorded as N2. At this time, the car computer CDC will perform internal logic processing to calculate the average value of N1 and N2, recorded as N M . N MThe data is defined as the driver's adaptation volume for listening to music at a low volume.

[0049] Similarly, the driver's adaptation volume for listening to video sound at a low volume is recorded as N V ; The driver's adaptation volume for the navigation sound at a low volume is recorded as N G .

[0050] For example, each time the driver adjusts the volume to a level lower than 25, the driver sets the volume N of the music to the low volume. M It will run and refresh once according to the above logic. The adaptive volume of the music is N M The volume value does not return to zero when the vehicle is powered off. Each time it is refreshed according to the above logic, the CDC will memorize the current volume value. Each time the vehicle is powered off and powered on again, the CDC will read the volume value before the last power off and repeat the subsequent logic. The data will not be reset to zero. V 、N, the customary volume of the navigation sound G The processing logic and the driver's adaptation volume N for setting the music at a low volume M The processing logic is the same and will not be repeated here.

[0051] The adjustment method of the headrest speaker in the embodiment of the present application is as follows: assuming that the driver plays music through the headrest speaker, a corresponding volume adjustment curve formula is set to automatically adjust the volume values ​​of the left and right channels of the headrest speaker according to the current acceleration and deceleration values ​​of the vehicle.

[0052] The headrest audio adjustment method provided in the present application is applicable to the adjustment of the volume of music, navigation sound, video sound, etc. For the convenience of description, in the following description, the adjustment of the volume of music of the headrest audio is taken as an example, and its preset volume value is N M The adjustment of the volume of other sounds such as navigation sound and video sound is also within the protection scope of this application.

[0053] In one embodiment, the speed shift information includes an acceleration value, and determining whether the speed shift information satisfies a preset range includes: determining whether the acceleration value is greater than a first preset value; if so, determining that the acceleration value satisfies the first preset range; optionally, the first preset value may be 0.35g, where g is the acceleration due to gravity. Of course, the first preset value may also be other values, such as 0.3g, 0.4g, etc., which are not limited in this application.

[0054] If the speed change information meets the preset range, the corresponding volume adjustment mode is selected based on the speed change information, including: if the acceleration value meets the first preset range, the volume adjustment mode is selected as the acceleration adjustment mode based on the acceleration value; the volume adjustment value in the acceleration adjustment mode is negatively correlated with the acceleration value.

[0055] Optionally, the functional relationship between the volume adjustment value in the acceleration adjustment mode and the acceleration value is a quadratic function, and the quadratic term coefficient and the constant term coefficient in the quadratic function are both determined according to the current volume value.

[0056] Specifically, when the driver controls the vehicle to accelerate, if the acceleration value is greater than a first preset value, for example, the first preset value is 0.35g, the acceleration value satisfies a first preset range, and the volume adjustment mode is selected as the acceleration adjustment mode based on the acceleration value, and the volume adjustment value in the acceleration adjustment mode is negatively correlated with the acceleration value.

[0057] The following is a detailed introduction to the acceleration adjustment mode, through which the volume can be reduced. Specifically, assuming that the current volume value is M, the volume adjustment value y of the left and right sides of the vehicle's main driver's seat headrest audio changes with the vehicle's acceleration value x, and can comply with the following expression - "Volume-Acceleration Curve Formula I":

[0058] 1.14M·(x / g) 2 +y-1.14M=0x∈(0.35g,1g);

[0059] In the above expression 1, M represents the current volume value, x represents the acceleration value, and y represents the volume adjustment value. It can be concluded from expression 1 that when the acceleration value reaches 1.0g, the volume values ​​on both sides of the headrest speakers are both 0. Furthermore, it can be seen from the above expression 1 that the functional relationship of the volume adjustment value y in the acceleration adjustment mode with respect to the acceleration value x is a quadratic function, in which the quadratic term coefficient and the constant term coefficient are both determined according to the current volume value M, and the volume adjustment value y is negatively correlated with the acceleration value x. The headrest speaker adjusts the volume to the volume adjustment value y. The volume on both sides of the headrest speaker can be adjusted simultaneously according to the above formula.

[0060] Specifically, the vehicle control device that executes the method of this embodiment may include an autonomous driving domain controller ADAS (Autonomous Driving Domain Controller), a vehicle computer CDC (Continuous Damping Control), a headrest speaker HRS (Headrest Sound), a gateway controller GW (Gateway), a vehicle controller VCU (Vehicle control unit), and a body stability system ESP (Electronic Stability Program) in the chassis.

[0061] like Figure 2 As shown in the figure, the implementation logic of the acceleration regulation mode is as follows:

[0062] The vehicle body stabilization system ESP obtains the acceleration value of the vehicle and sends the obtained acceleration value to the vehicle controller VCU. Specifically, the vehicle body stabilization system ESP sends data to the vehicle controller VCU every 100ms (milliseconds).

[0063] The vehicle controller VCU continuously receives the acceleration value obtained by the vehicle body stability system ESP, and initiates a judgment each time the acceleration value of the vehicle is received to determine whether the acceleration value is greater than the first preset value 0.35g. If so, an acceleration mode trigger opening signal is sent to the gateway controller GW, and the received acceleration value is sent to the gateway controller GW. If not, return to continue judging. It should be noted that in the process of continuously initiating judgments, before judging that the acceleration value is lower than 0.35g (that is, in the process where the acceleration is always higher than 0.35g), the vehicle controller VCU continues to send the acceleration value to the gateway controller GW.

[0064] The gateway controller GW receives the acceleration mode trigger opening signal and acceleration value and directly forwards it to the vehicle computer CDC.

[0065] After the vehicle computer CDC receives the acceleration mode trigger-on signal, it immediately chooses to apply expression 1: "Volume-acceleration curve formula Ⅰ" in the subsequent logic processing process, and immediately sends the acceleration mode adjustment on signal to the headrest speaker, and obtains the volume adjustment value according to expression 1, and sends the obtained volume adjustment value to the headrest speaker.

[0066] The car computer CDC continuously receives the acceleration value, once every 100ms, and periodically records it after receiving it, and continuously applies it in the process of processing the "Volume-Acceleration Curve Formula I". Every time the car computer CDC receives an acceleration value, it performs a logical processing according to the "Volume-Acceleration Curve Formula I" formula to obtain a volume adjustment value after adjustment. The car computer CDC obtains a volume adjustment value through logical processing and continuously sends the volume adjustment value to the headrest audio HRS. The acceleration value is a periodic signal with a period of 100ms.

[0067] The headrest audio HRS first receives the acceleration mode adjustment on signal and turns on the acceleration adjustment mode. The headrest audio HRS receives the volume adjustment value and performs logic processing to adjust the volume to the volume adjustment value to reduce the volume of the headrest audio and improve the driver's experience.

[0068] In some embodiments, after adjusting the volume of the headrest speaker based on the volume adjustment value, the following steps are performed:

[0069] Determine whether the speed change information exits the preset range;

[0070] If yes, based on the speed change information, select the corresponding time adjustment mode; the volume adjustment value in the time adjustment mode is positively correlated with the time and is related to the current volume value;

[0071] Obtain corresponding volume adjustment value based on the time adjustment mode;

[0072] Adjust the volume of the headrest speakers based on the volume adjustment value.

[0073] Specifically, the speed change information includes an acceleration value. Based on the volume adjustment value, after adjusting the volume of the headrest audio, it includes: determining whether the acceleration value is less than a first preset value, and if so, selecting a first time adjustment mode based on the acceleration value, the volume adjustment value in the first time adjustment mode is positively correlated with time and is related to the current volume value; obtaining a corresponding volume adjustment value based on the first time adjustment mode, and adjusting the volume of the headrest audio according to the volume adjustment value.

[0074] The first time adjustment mode is described in detail below, through which the volume callback can be achieved. Specifically, when the driver reduces the acceleration of the vehicle to the first preset value of 0.35g, the volume of the headrest audio is adjusted from the current volume value M0 to the original volume value M at a rate of 30 frames per second, in accordance with the following expression 2 "Volume-Time Curve Formula I":

[0075] 30t-y+M0=0;

[0076] In the above expression 2, M0 is the volume value at the moment when the acceleration of the vehicle decreases to the first preset value 0.35g, t represents time, and y represents the volume adjustment value. It can be seen from expression 2 that the volume adjustment value y is linearly positively correlated with time t. Further, it can be seen from expression 2 that the volume adjustment value y in the time adjustment mode is linearly positively correlated with time t. The volume of both sides of the headrest speakers can be adjusted simultaneously according to the above formula.

[0077] Continuing the above application scenario, such as Figure 3 As shown, the implementation logic of the first time adjustment mode is performed after entering the acceleration adjustment mode, as follows:

[0078] The body stability system ESP obtains the acceleration value of the vehicle and sends the obtained acceleration value to the vehicle controller VCU.

[0079] The vehicle controller VCU continues to receive the acceleration value and determines whether the acceleration value is not greater than the first preset value 0.35g. If so, it sends an acceleration mode trigger shutdown signal to the gateway controller GW. If not, it returns to continue judging.

[0080] The gateway controller GW receives the acceleration mode trigger shutdown signal and directly forwards it to the vehicle computer CDC.

[0081] When the vehicle computer CDC receives the acceleration mode trigger shutdown signal, it immediately chooses to apply expression 2 in the subsequent logic processing process: "Volume-time curve formula I", and immediately sends the acceleration mode adjustment shutdown signal to the headrest audio, and obtains a new volume adjustment value based on expression 2, and sends the obtained volume adjustment value to the headrest audio.

[0082] After the headrest audio HRS receives the acceleration mode adjustment shut-down signal, it exits the acceleration adjustment mode. The headrest audio HRS receives the volume adjustment value, performs logical processing, and adjusts the volume to the volume adjustment value to enhance the driver experience.

[0083] Optionally, before determining whether the speed change information satisfies a preset range, the method includes: obtaining map information and camera information of the vehicle; determining whether the vehicle will decelerate based on the map information and the camera information; and if so, generating a deceleration prediction signal;

[0084] And judging whether the speed change information satisfies a preset range, including: judging whether the deceleration value is greater than a second preset value based on the deceleration prediction signal.

[0085] In another embodiment, the speed change information includes a deceleration value and a speed value; determining whether the speed change information satisfies a preset range includes: determining whether the deceleration value is greater than a second preset value; if so, determining that the deceleration value satisfies the second preset range;

[0086] If the speed change information meets the preset range, the corresponding volume adjustment mode is selected based on the speed change information, including: if the deceleration value meets the second preset range, the volume adjustment mode is selected as the deceleration adjustment mode based on the deceleration value; the volume adjustment value in the deceleration adjustment mode is positively correlated with the speed value.

[0087] Optionally, the functional relationship between the volume adjustment value in the deceleration adjustment mode and the speed value is a quadratic function, and the quadratic term coefficient in the quadratic function is determined according to a preset volume value and a current speed value.

[0088] Optionally, the second preset value may be 1 m / s 2 Of course, other values ​​can be set according to actual conditions, and this application does not limit this.

[0089] The following specifically introduces the deceleration adjustment mode, through which the volume can be reduced.

[0090] In one application scenario, when the driver is driving, let the volume value of the music player at this time be M. Since the process of the driver controlling the vehicle to decelerate is easier to predict in advance, the deceleration prediction signal sent by the autonomous driving domain controller ADAS can be sent to the vehicle controller VCU, and then the corresponding volume adjustment mode and the preset volume value N can be selected. M , a volume adjustment value can be obtained, and according to the volume adjustment value, the volume of the headrest audio is adjusted to the volume adjustment value.

[0091] In some embodiments, since the deceleration value during vehicle deceleration is more irregular than the acceleration value during acceleration, the volume of the headrest audio is set to change with the vehicle speed during vehicle deceleration. The method of adjusting the volume through the deceleration adjustment mode in the embodiment of the present application can be performed after the autonomous driving domain controller ADAS determines that the vehicle is about to issue a deceleration warning and sends a deceleration prediction signal to the vehicle controller VCU. Of course, this method can also be implemented in the case where the main driver steps on the brakes himself during conventional driving, and this application does not limit it.

[0092] The vehicle controller VCU continuously determines that the deceleration value of the vehicle is greater than the second preset value 1m / s 2 When the vehicle controller VCU determines that the deceleration value of the vehicle is greater than the second preset value 1m / s 2 At the moment of the vehicle's speed, the speed value is set to V0. At this time, the volume adjustment value y of the headrest audio system complies with the following expression 3 "Volume-Speed ​​Curve Formula I":

[0093] (NM / V 2 0)·x 2 -y=0;

[0094] In the above expression 3, N M Indicates the preset volume value, V0 indicates that the vehicle's deceleration value is greater than the second preset value 1m / s 2 The vehicle speed value at the moment of the vehicle's acceleration is x, and y represents the vehicle speed value, and the volume adjustment value is y. It can be seen from the above expression 3 that when the speed value x is reduced to 0, the volume adjustment value of the headrest audio is synchronously reduced to 0. Further, it can be seen from the above expression 3 that the function relationship of the volume adjustment value y in the deceleration adjustment mode with respect to the speed value x is a quadratic function, and the quadratic term coefficient in the quadratic function is based on the preset volume value N M The volume adjustment value y is positively correlated with the speed value x and the current speed value V0. The volume of both sides of the headrest audio can be adjusted at the same time according to the above formula.

[0095] Specifically, Figure 4 As shown in the figure, the implementation logic of the deceleration adjustment mode is as follows:

[0096] The autonomous driving domain controller ADAS determines whether the vehicle will decelerate based on the map information and camera information. If so, it sends a deceleration prediction signal to the gateway controller GW. If not, it returns to continuous judgment.

[0097] The gateway controller GW receives the deceleration prediction signal and directly forwards the deceleration prediction signal to the vehicle controller VCU.

[0098] The body stability system ESP obtains the deceleration value and speed value of the vehicle, and sends the obtained deceleration value and speed value to the vehicle controller VCU. Specifically, the body stability system ESP sends data to the vehicle controller VCU every 100ms (milliseconds). It should be noted that the deceleration value and speed value sent by the body stability system ESP have nothing to do with the autonomous driving domain controller ADAS. As long as the vehicle is powered on, the body stability system ESP will continue to send the vehicle deceleration value and speed value to the vehicle controller VCU.

[0099] The vehicle controller VCU continuously receives the deceleration value and speed value obtained by the vehicle stability system ESP, and receives the deceleration prediction signal, and initiates a judgment based on the deceleration prediction signal. Specifically, each time the deceleration value of the vehicle is received, a judgment is initiated to determine whether the deceleration value is greater than the second preset value 1m / s 2If yes, then send a deceleration mode trigger opening signal to the gateway controller GW, and send the received deceleration value and speed value to the gateway controller GW. If no, return to continue judging. It should be noted that in the process of continuously initiating judgment, when judging that the deceleration value is lower than 1m / s 2 Before (that is, the deceleration is always higher than 1m / s 2 During the process), the vehicle controller VCU continues to send the deceleration value and speed value to the gateway controller GW.

[0100] The gateway controller GW receives the deceleration mode trigger opening signal, deceleration value and speed value, and directly forwards it to the vehicle computer CDC.

[0101] After the CDC receives the deceleration mode trigger opening signal, it immediately selects to apply expression 3: "Volume-speed curve formula I" in the subsequent logic processing process, and immediately sends the deceleration mode adjustment opening signal to the headrest speaker, and adjusts the volume according to the expression 3 and the preset volume value N. M , obtain the volume adjustment value, and send the obtained volume adjustment value to the headrest speaker.

[0102] The car computer CDC continuously receives the deceleration value every 100ms, and periodically records it after receiving it, and continuously applies it in the process of processing the "Volume-Speed ​​Curve Formula I". Every time the car computer CDC receives the deceleration value, it performs a logical processing according to the "Volume-Speed ​​Curve Formula I" formula to obtain a volume adjustment value after the adjustment change. The car computer CDC obtains a volume adjustment value through logical processing and continuously sends the volume adjustment value to the headrest audio HRS. The deceleration value is a periodic signal with a period of 100ms.

[0103] The headrest audio HRS first receives the deceleration mode adjustment on signal and then turns on the deceleration adjustment mode. The headrest audio HRS receives the volume adjustment value and performs logic processing to adjust the volume to the volume adjustment value to reduce the volume of the headrest audio and improve the driver's experience.

[0104] In some embodiments, after adjusting the volume of the headrest speaker based on the volume adjustment value, the following steps are performed:

[0105] Determine whether the speed change information exits the preset range;

[0106] If yes, based on the speed change information, a corresponding time adjustment mode is selected; the volume adjustment value in the time adjustment mode is positively correlated with time and is related to the current volume value;

[0107] Obtain corresponding volume adjustment value based on the time adjustment mode;

[0108] Adjust the volume of the headrest speakers based on the volume adjustment value.

[0109] Specifically, the speed change information includes a speed value. Based on the volume adjustment value, after adjusting the volume of the headrest audio, it includes: determining whether the deceleration value is less than a second preset value, and if so, selecting a second time adjustment mode based on the deceleration value, the volume adjustment value in the second time adjustment mode is positively correlated with time and is related to the current volume value; obtaining a corresponding volume adjustment value based on the second time adjustment mode, and adjusting the volume of the headrest audio according to the volume adjustment value.

[0110] The second time adjustment mode is described in detail below. The volume can be adjusted back by the second time adjustment mode. Specifically, when the driver controls the deceleration of the vehicle to decrease to the second preset value of 1m / s 2 At the moment of the sound, the volume of the headrest speaker is adjusted back from the current volume value M0 to the original volume value M at a rate of 20 frames / second, in accordance with the following expression 4 "Volume-time curve formula II":

[0111] 20t-y+M0=0;

[0112] In the above expression 4, M0 is the deceleration value of the vehicle reduced to the second preset value 1m / s 2 The volume value at the moment, t represents time, and y represents the volume adjustment value. Further, it can be seen from Expression 4 that the volume adjustment value y is linearly positively correlated with time t. The volume of both sides of the headrest speakers can be adjusted simultaneously according to the above formula.

[0113] Continuing the above application scenario, such as Figure 5 As shown, the implementation logic of the second time adjustment mode is performed after entering the deceleration adjustment mode, as follows:

[0114] The body stability system ESP obtains the deceleration value of the vehicle and sends the obtained deceleration value to the vehicle controller VCU.

[0115] The vehicle controller VCU continues to receive the deceleration value and determines whether the deceleration value is not greater than the second preset value 1m / s 2 If yes, send a deceleration mode trigger shutdown signal to the gateway controller GW, if not, return to continue judging.

[0116] The gateway controller GW receives the deceleration mode trigger shutdown signal and directly forwards it to the vehicle computer CDC.

[0117] When the vehicle computer CDC receives the deceleration mode trigger shutdown signal, it immediately chooses to apply expression four: "volume-time curve formula II" in the subsequent logic processing process, and immediately sends a deceleration mode adjustment shutdown signal to the headrest speaker, and obtains a new volume adjustment value according to expression four, and sends the obtained volume adjustment value to the headrest speaker.

[0118] After the headrest audio HRS receives the deceleration mode adjustment closing signal, it exits the deceleration adjustment mode. The headrest audio HRS receives the volume adjustment value, performs logical processing, and adjusts the volume to the volume adjustment value to enhance the driver experience.

[0119] In the above acceleration adjustment mode and deceleration adjustment mode, the volume adjustment value y changes in a curve to achieve volume adjustment.

[0120] As described below, the volume adjustment value y changes linearly to achieve volume adjustment. Specifically, the volume adjustment can be achieved through automatic settings, as follows:

[0121] When the car accelerates or decelerates in anticipation of autonomous driving, the change multiple and speed of the volume values ​​on the left and right sides of the headrest speakers can be automatically adjusted through settings. In automatic setting mode, the volume on both sides of the headrest speakers can be adjusted separately or simultaneously.

[0122] In one embodiment, assuming that the current volume of the left side of the headrest speaker is M L , the current volume of the right side of the headrest speaker is M R .

[0123] When the vehicle accelerates, the volume of the headrest audio system is automatically controlled as follows:

[0124] For example, when the vehicle controller VCU determines that the acceleration value of the vehicle is greater than the first preset value of 0.35g, the volume is adjusted to be lowered. Specifically, the volume of the left headrest audio system of the main driver's seat is uniformly changed to 0.5M L The volume of the right headrest audio changes at a constant speed of 0.6M R The change speed is 60 volume levels / second.

[0125] For example, when the vehicle controller VCU determines that the acceleration value of the vehicle is greater than the first preset value 0.35g, and then the acceleration value is lower than the first preset value 0.35g, the volume is called back and the volume is adjusted. L The volume of the right headrest audio changes to 1.1M at a constant speed R The change rate is 30 volume levels per second.

[0126] When the vehicle decelerates under the prediction of automatic driving, the volume of the headrest audio system is automatically controlled as follows:

[0127] For example, when the ADAS determines that the vehicle is about to perform a deceleration warning, it sends a deceleration prediction signal to the vehicle controller VCU. When the vehicle controller VCU determines that the deceleration value of the vehicle is greater than the second preset value 1m / s 2 Specifically, the volume of the left headrest audio on the driver's seat is changed to 0.2M at a uniform speed. L The volume of the right headrest audio changes at a constant speed of 0.15M R The change rate is 50 volume levels / second.

[0128] For example, when the vehicle controller VCU determines that the deceleration value of the vehicle is greater than the second preset value 1m / s 2 After that, it is lower than the second preset value of 1m / s again 2 Specifically, the volume of the left headrest speaker on the driver's seat is changed to 0.7M at a uniform speed. L The volume of the right headrest audio changes at a constant speed of 0.8M R The change speed is 15 volume levels / second.

[0129] It should be noted that the above numerical values ​​are only for example description, and other numerical values ​​can be adjusted according to actual conditions, and this application does not limit them.

[0130] In four cases, the volume reduction process during acceleration, the volume callback process after the acceleration process, the volume reduction process during the deceleration process under the prediction of automatic driving, and the volume callback process after the deceleration process under the prediction of automatic driving, the final target value of the volume change on the left and right sides of the headrest speakers or the increase or decrease multiple of the current volume, as well as the speed of volume change can be automatically set according to actual conditions.

[0131] In addition, it can also be set manually. For example, you can set the automatic adjustment option in the car computer CDC, and the driver can use the large screen to personalize the specific values ​​of the left and right audio volume change multiples in the above four situations. For example, when the driver is more accustomed to increasing the volume during the vehicle deceleration, the volume value of the left and right headrest speakers can be adjusted to 1.2 times when the vehicle turns left. The driver's customized volume value change multiple can be added as "Custom Mode 1", and the driver can rename the mode and use it as a commonly used setting mode. For example, the number of custom modes set by the driver is set to 5.

[0132] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0133] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0134] The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0135] Figure 6 Schematic diagram of a headrest audio adjustment device provided in an embodiment of the present application. Figure 6 As shown, the adjustment device of the headrest audio system includes:

[0136] A first acquisition module 601 is configured to acquire speed change information of a vehicle;

[0137] The first determination module 602 is configured to determine whether the speed change information meets a preset range;

[0138] The first selection module 603 is configured to select a corresponding volume adjustment mode based on the speed change information if the speed change information satisfies a preset range; the function relationship between the volume adjustment value in the volume adjustment mode and the speed change information is a quadratic function;

[0139] A first obtaining module 604 is configured to obtain a corresponding volume adjustment value based on a volume adjustment mode;

[0140] The first adjustment module 605 is configured to adjust the volume of the headrest speaker based on the volume adjustment value.

[0141] According to the technical solution provided in the embodiment of the present application, by selecting the corresponding volume adjustment mode according to the gear shift information, and then adjusting the volume of the headrest speaker, the problem of a sudden increase in volume perceived by the driver due to a change in the relative position of the driver and the headrest speaker, causing damage to the driver's ear, is improved, thereby improving the driving experience.

[0142] In some embodiments, the speed change information includes acceleration values;

[0143] The first determination module 602 is specifically configured to: determine whether the acceleration value is greater than a first preset value; if so, determine that the acceleration value meets the first preset range;

[0144] The first selection module 603 is specifically configured to: if the acceleration value meets the first preset range, based on the acceleration value, select the volume adjustment mode as the acceleration adjustment mode; the volume adjustment value in the acceleration adjustment mode is negatively correlated with the acceleration value.

[0145] In some embodiments, the functional relationship between the volume adjustment value in the acceleration adjustment mode and the acceleration value is a quadratic function, and the quadratic term coefficient and the constant term coefficient in the quadratic function are both determined according to the current volume value.

[0146] In some embodiments, the speed change information includes a deceleration value and a speed value;

[0147] The first determination module 602 is specifically configured to: determine whether the deceleration value is greater than a second preset value; if so, determine that the deceleration value meets the second preset range;

[0148] The first selection module 603 is specifically configured to: if the deceleration value satisfies the second preset range, then based on the deceleration value, select the volume adjustment mode as the deceleration adjustment mode; the volume adjustment value in the deceleration adjustment mode is positively correlated with the speed value.

[0149] In some embodiments, the functional relationship between the volume adjustment value in the deceleration adjustment mode and the speed value is a quadratic function, and the quadratic term coefficient in the quadratic function is determined according to a preset volume value and a current speed value.

[0150] In some embodiments, the headrest audio adjustment device further includes:

[0151] A second acquisition module is configured to acquire map information and camera information of the vehicle;

[0152] A third judgment module is configured to judge whether the vehicle will decelerate based on the map information and the camera information;

[0153] A generating module configured to generate a deceleration prediction signal if it is determined that the vehicle will decelerate;

[0154] The first judgment module 602 is specifically configured to judge whether the deceleration value is greater than a second preset value based on the deceleration prediction signal.

[0155] In some embodiments, the headrest audio adjustment device further includes:

[0156] The second determination module 606 is configured to determine whether the speed change information exits a preset range;

[0157] The second selection module 607 is configured to select a corresponding time adjustment mode based on the speed change information if the speed change information exits the preset range; the volume adjustment value in the time adjustment mode is positively correlated with the time and is related to the current volume value;

[0158] A second obtaining module 608 is configured to obtain a corresponding volume adjustment value based on the time adjustment mode;

[0159] The second adjustment module 609 is configured to adjust the volume of the headrest audio based on the volume adjustment value.

[0160] Figure 7 Schematic diagram of an electronic device 7 provided in an embodiment of the present application. Figure 7 As shown, the electronic device 7 of this embodiment includes: a processor 701, a memory 702, and a computer program 703 stored in the memory 702 and executable on the processor 701. When the processor 701 executes the computer program 703, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 701 executes the computer program 703, the functions of the modules / units in the above-mentioned device embodiments are implemented.

[0161] The electronic device 7 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 7 may include, but is not limited to, a processor 701 and a memory 702. Those skilled in the art will appreciate that Figure 7 The electronic device 7 is merely an example and does not limit the electronic device 7 , and may include more or less components than those shown in the figure, or different components.

[0162] The processor 701 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0163] The memory 702 may be an internal storage unit of the electronic device 7, for example, a hard disk or memory of the electronic device 7. The memory 702 may also be an external storage device of the electronic device 7, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 7. The memory 702 may also include both an internal storage unit of the electronic device 7 and an external storage device. The memory 702 is used to store computer programs and other programs and data required by the electronic device.

[0164] Based on the same inventive concept, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the above method are implemented.

[0165] The computer-readable storage medium provided in the embodiment of the present application has the same inventive concept and the same beneficial effects as the previous embodiments. The contents not shown in detail in the computer-readable storage medium can be referred to the previous embodiments and will not be repeated here.

[0166] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0167] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium (e.g., a computer-readable storage medium). Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, which may be in source code form, object code form, executable file or some intermediate form. Computer-readable storage media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0168] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for adjusting a headrest speaker. It is characterized in that include: Get the vehicle's speed change information; Determining whether the speed change information satisfies a preset range; If the speed change information satisfies the preset range, a corresponding volume adjustment mode is selected based on the speed change information, and the volume adjustment mode includes an acceleration adjustment mode and a deceleration adjustment mode; the function relationship of the volume adjustment value in the volume adjustment mode with respect to the speed change information is a quadratic function; Obtaining a corresponding volume adjustment value based on the volume adjustment mode; Based on the volume adjustment value, the volume of the headrest speaker is adjusted to achieve volume reduction.

2. The method according to claim 1, It is characterized in that The speed change information includes acceleration value; Determining whether the speed change information satisfies a preset range includes: Determining whether the acceleration value is greater than a first preset value; If yes, it is determined that the acceleration value satisfies a first preset range; If the speed change information satisfies the preset range, then based on the speed change information, a corresponding volume adjustment mode is selected, including: If the acceleration value satisfies the first preset range, the volume adjustment mode is selected as the acceleration adjustment mode based on the acceleration value; the volume adjustment value in the acceleration adjustment mode is negatively correlated with the acceleration value.

3. The method according to claim 2, It is characterized in that The functional relationship between the volume adjustment value in the acceleration adjustment mode and the acceleration value is a quadratic function, and the quadratic term coefficient and the constant term coefficient in the quadratic function are both determined according to the current volume value.

4. The method according to claim 1, It is characterized in that The speed change information includes a deceleration value and a speed value; Determining whether the speed change information satisfies a preset range includes: Determining whether the deceleration value is greater than a second preset value; If yes, it is determined that the deceleration value satisfies a second preset range; If the speed change information satisfies the preset range, then based on the speed change information, a corresponding volume adjustment mode is selected, including: If the deceleration value satisfies the second preset range, the volume adjustment mode is selected as the deceleration adjustment mode based on the deceleration value; the volume adjustment value in the deceleration adjustment mode is positively correlated with the speed value.

5. The method according to claim 4, It is characterized in that The functional relationship between the volume adjustment value in the deceleration adjustment mode and the speed value is a quadratic function, and the quadratic term coefficient in the quadratic function is determined according to the preset volume value and the current speed value.

6. The method according to claim 4, It is characterized in that Before determining whether the speed change information satisfies a preset range, the process includes: Acquiring map information and camera information of the vehicle; Determining whether the vehicle will decelerate based on the map information and the camera information; If so, a deceleration prediction signal is generated; And, determining whether the speed change information satisfies a preset range includes: Based on the deceleration prediction signal, it is determined whether the deceleration value is greater than a second preset value.

7. The method according to any one of claims 1 to 6, It is characterized in that After adjusting the volume of the headrest audio system based on the volume adjustment value, the method further comprises: determining whether the speed change information exits the preset range; If yes, based on the speed change information, a corresponding time adjustment mode is selected; the volume adjustment value in the time adjustment mode is positively correlated with time and is related to the current volume value; Obtaining a corresponding volume adjustment value based on the time adjustment mode; Based on the volume adjustment value, the volume of the headrest speaker is adjusted.

8. A headrest audio adjustment device, It is characterized in that include: A first acquisition module is configured to acquire speed change information of a vehicle; A first judgment module is configured to judge whether the speed change information meets a preset range; A first selection module is configured to select a corresponding volume adjustment mode based on the speed change information if the speed change information satisfies the preset range, the volume adjustment mode including an acceleration adjustment mode and a deceleration adjustment mode; the function relationship of the volume adjustment value in the volume adjustment mode with respect to the speed change information is a quadratic function; A first obtaining module is configured to obtain a corresponding volume adjustment value based on the volume adjustment mode; The first adjustment module is configured to adjust the volume of the headrest speaker based on the volume adjustment value to achieve volume reduction.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.