Elastic wave signal compensation method, device, controller, vehicle and storage medium
By dynamically adjusting the reference compensation coefficient of the elastic wave sensor, the stability problem of the elastic wave sensor in changing environments is solved, realizing the perceptual consistency and safety of user tapping actions, and improving the stability of human-vehicle interaction and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-14
- Publication Date
- 2026-07-28
AI Technical Summary
In existing technologies, elastic wave sensors cannot achieve effective dynamic compensation under varying natural environments and external interference, resulting in poor consistency in user tapping perception, misjudgment, and safety hazards.
By acquiring the original voltage value of the elastic wave signal and the current environmental parameters, the reference compensation coefficient is dynamically adjusted. By utilizing the dynamic compensation and adaptive iterative correction mechanism of environmental parameters, the stability and consistency of the user's tapping action are ensured under different environments.
This improves the output stability and user experience of elastic wave sensors under different environments, reduces misjudgments and safety hazards, and enhances the reliability of human-vehicle interaction.
Smart Images

Figure CN122468253A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of signal processing technology, specifically to an elastic wave signal compensation method, device, controller, vehicle, and storage medium. Background Technology
[0002] As the level of automotive intelligence continues to improve, human-vehicle interaction methods are constantly innovating. The ability to control window operation by tapping on the car door using elastic wave sensors is gaining popularity and is gradually being adopted due to its ease of use and strong interactivity. This technology uses elastic wave sensors to detect the vibration signals generated by tapping, converting these signals into electrical signals that are then recognized by the onboard controller to execute corresponding actions.
[0003] However, due to the inherent characteristics of the sensor and the complexity of the automotive environment, this function suffers from significant technical defects and insufficient stability in practical applications. Firstly, the sensitivity of the elastic wave sensor is easily affected by environmental factors such as temperature, humidity, rain, and snow, leading to significant differences in the striking force required to trigger the window under different conditions, resulting in poor perception consistency and severely impacting the user experience. Secondly, in severe weather conditions such as heavy rain or hail, the pulse signals generated by raindrops impacting the vehicle body or hail hitting the car body are easily misinterpreted as valid strikes, causing malfunctions in the window operation. This not only interferes with normal use but may also damage the vehicle's interior or glass, posing a safety hazard.
[0004] To address the aforementioned issues, existing technologies often employ fixed threshold adjustments to optimize sensor adaptability, resulting in limited compensation accuracy. This fails to meet the complex dynamic compensation requirements of elastic wave sensors in dealing with varying natural environments and external interference. Summary of the Invention
[0005] In view of the above, it is necessary to propose an elastic wave signal compensation method, device, controller, vehicle and storage medium to solve the technical problem that existing technologies mostly use fixed threshold adjustment to optimize sensor adaptability, resulting in limited compensation accuracy and failing to meet the complex requirements of elastic wave sensors for dynamic compensation when dealing with changing natural environments and external interference.
[0006] In a first aspect, this application provides an elastic wave signal compensation method applied to a vehicle, the vehicle including an elastic wave sensor, the method comprising: responding to an elastic wave signal collected by the elastic wave sensor, acquiring an original voltage value corresponding to the elastic wave signal, and acquiring current environmental parameters of the vehicle; acquiring a corresponding reference compensation coefficient based on the current environmental parameters, and compensating the original voltage value based on the reference compensation coefficient to obtain a compensated impact voltage value; acquiring the cumulative number of the compensated impact voltage values, and when the cumulative number of the compensated impact voltage values reaches N, determining the confidence level of the reference compensation coefficient under the current environmental parameters based on the voltage difference between the N compensated impact voltage values and a preset calibration voltage value; if the confidence level is greater than or equal to a preset warning threshold, correcting the reference compensation coefficient according to the confidence level and the voltage difference to obtain a corrected compensation coefficient; and compensating the original voltage value corresponding to the elastic wave signal subsequently collected by the elastic wave sensor based on the corrected compensation coefficient.
[0007] In the elastic wave signal compensation method of this application embodiment, firstly, in response to the elastic wave signal collected by the elastic wave sensor, the original voltage value corresponding to the elastic wave signal is obtained, and the current environmental parameters of the vehicle are obtained; secondly, a corresponding reference compensation coefficient is obtained based on the current environmental parameters, and the original voltage value is compensated based on the reference compensation coefficient to obtain a compensated impact voltage value; then, when the cumulative number of the compensated impact voltage values reaches N, the confidence level of the reference compensation coefficient under the current environmental parameters is determined based on the voltage difference between the N compensated impact voltage values and a preset calibration voltage value; then, if the confidence level is greater than or equal to a preset warning threshold, the reference compensation coefficient is corrected according to the confidence level and the voltage difference to obtain a corrected compensation coefficient; finally, the original voltage value corresponding to the elastic wave signal subsequently collected by the elastic wave sensor is compensated based on the corrected compensation coefficient. Based on this, this application introduces a dynamic compensation and adaptive iterative correction mechanism for environmental parameters, so that the output of the elastic wave sensor is no longer affected by changes in environmental factors, achieving a consistent perception of user tapping actions under different environmental factors, which significantly improves the stability of human-vehicle interaction and user experience.
[0008] In some embodiments of this application, determining the confidence level of the benchmark compensation coefficient under the current environmental parameters based on the voltage difference between N compensated impact voltage values and a preset calibration voltage value includes: calculating the voltage difference between the N compensated impact voltage values and the calibration voltage value, and taking the average of the N voltage differences as the deviation value; calculating the percentage deviation between the absolute value of the deviation value and the calibration voltage value, and determining the corresponding confidence level according to the preset deviation range in which the deviation percentage falls, wherein the confidence level is negatively correlated with the deviation percentage.
[0009] In some embodiments of this application, the step of correcting the reference compensation coefficient based on the confidence level and the voltage difference to obtain the corrected compensation coefficient includes: determining the correction range of the reference compensation coefficient based on the confidence level, wherein the correction range is negatively correlated with the confidence level; if the deviation value is positive, reducing the correction range based on the reference compensation coefficient to obtain the corrected compensation coefficient; if the deviation value is negative, increasing the correction range based on the reference compensation coefficient to obtain the corrected compensation coefficient.
[0010] In some embodiments of this application, obtaining the corresponding benchmark compensation coefficient based on the current environmental parameters includes: obtaining the benchmark compensation coefficient corresponding to the current environmental parameters based on the current environmental parameters and a preset mapping table, wherein the mapping table is used to record the correspondence between the environmental parameters and the benchmark compensation coefficient.
[0011] In some embodiments of this application, the method further includes: if the confidence level is less than the warning threshold, compensating the original voltage value corresponding to the elastic wave signal subsequently acquired by the elastic wave sensor based on the compensation coefficient used most recently, and generating preset interactive fault warning information.
[0012] In some embodiments of this application, the method further includes: identifying the user's tapping intention based on the compensated tapping voltage value, and performing corresponding control actions according to the tapping intention, wherein the control actions include opening the car window and closing the car window.
[0013] Secondly, this application also provides an elastic wave signal compensation device applied to a vehicle, the vehicle including an elastic wave sensor, the device comprising: a response module, configured to respond to an elastic wave signal collected by the elastic wave sensor, acquire the original voltage value corresponding to the elastic wave signal, and acquire the current environmental parameters of the vehicle; a compensation module, configured to acquire a corresponding reference compensation coefficient based on the current environmental parameters, and compensate the original voltage value based on the reference compensation coefficient to obtain a compensated impact voltage value; a determination module, configured to acquire the cumulative number of the compensated impact voltage values, and when the cumulative number of the compensated impact voltage values reaches N, determine the confidence level of the reference compensation coefficient under the current environmental parameters based on the voltage difference between the N compensated impact voltage values and a preset calibration voltage value; a correction module, configured to correct the reference compensation coefficient according to the confidence level and the voltage difference if the confidence level is greater than or equal to a preset warning threshold, to obtain a corrected compensation coefficient; the compensation module is further configured to compensate the original voltage value corresponding to the elastic wave signal subsequently collected by the elastic wave sensor based on the corrected compensation coefficient.
[0014] Thirdly, this application also provides a controller, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the elastic wave signal compensation method described in the above embodiments.
[0015] Fourthly, this application also provides a vehicle, the vehicle including an elastic wave sensor and a controller as described in the above embodiments, the controller being communicatively connected to the elastic wave sensor, the elastic wave sensor being installed on a corresponding component of the vehicle for collecting elastic wave signals generated by a user striking the corresponding component.
[0016] Fifthly, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the elastic wave signal compensation method described in the above embodiments.
[0017] Understandably, the elastic wave signal compensation device of the second aspect, the controller of the third aspect, the vehicle of the fourth aspect, and the computer-readable storage medium of the fifth aspect all correspond to the elastic wave signal compensation method of the first aspect. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding elastic wave signal compensation method provided above, and will not be repeated here. Attached Figure Description
[0018] Figure 1 This is a schematic flowchart of an embodiment of the elastic wave signal compensation method provided in this application.
[0019] Figure 2 This is a schematic diagram of the experimental voltage value changing with temperature T according to an embodiment of this application.
[0020] Figure 3 This is a schematic diagram of the K0 / K value changing with each temperature T according to an embodiment of this application.
[0021] Figure 4 This is a schematic diagram of the functional modules of an elastic wave signal compensation device provided in an embodiment of this application.
[0022] Figure 5 This is a schematic diagram of the hardware structure of a controller provided in one embodiment of this application.
[0023] Explanation of main component symbols Vehicle 1 Controller 10 Memory 11 Processor 12 Elastic wave sensor 20 Elastic wave signal compensation device 100 Response module 110 Compensation Module 120 Determine module 130 Correction Module 140 The following detailed description, in conjunction with the accompanying drawings, will further illustrate this application. Detailed Implementation
[0024] To make the technical problems, technical solutions, and beneficial effects solved by this application clearer, the following detailed description is provided in conjunction with embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0025] To provide a clearer understanding of the embodiments of the present invention, the invention will be described in detail below with reference to the accompanying drawings and specific examples. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.
[0026] Please see Figure 1 This is a flowchart illustrating an elastic wave signal compensation method provided in an embodiment of this application.
[0027] The elastic wave signal compensation method of this application embodiment can be applied to... Figure 5In one or more vehicles 1 shown, specifically, vehicle 1 includes a controller 10 and an elastic wave sensor 20. The controller 10 is communicatively connected to the elastic wave sensor 20. The elastic wave sensor 20 is installed on a corresponding component (e.g., a window) of vehicle 1 to collect elastic wave signals generated by a user striking the corresponding component. The controller 10 is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0028] In one example, controller 10 can be an on-board device of vehicle 1, such as a body control module (BCM), vehicle control unit (VCU), microcontroller unit (MCU), etc.
[0029] Specifically, the elastic wave signal compensation method includes the following steps. Depending on different needs, the order of some steps in the flowchart can be changed, and some steps can be omitted.
[0030] Step S10: In response to the elastic wave signal collected by the elastic wave sensor, obtain the original voltage value corresponding to the elastic wave signal, and obtain the current environmental parameters of the vehicle.
[0031] Among them, the elastic wave sensor is used to detect the elastic waves generated on the surface of the vehicle body due to mechanical actions such as impacts, and convert the elastic waves into elastic wave signals that can be read by the controller.
[0032] Elastic wave signals are electrical signals generated by elastic waves excited by effective impacts or environmental disturbances (such as raindrops or hail) and converted by elastic wave sensors. They are usually represented as voltage waveforms that change over time.
[0033] The original voltage value is a feature value extracted from the elastic wave signal, such as the peak voltage of the elastic wave signal, which is used to characterize the impact intensity.
[0034] Current environmental parameters include environmental factors that affect the sensitivity of the elastic wave sensor, such as temperature. In other embodiments, current environmental parameters may also include humidity and air pressure.
[0035] Specifically, when a user taps on a car window or other body part outside the vehicle, the elastic wave sensor responds to the tapping event and collects the elastic wave signal. At this time, the controller collects the amplitude of the elastic wave signal in real time as the raw voltage value and obtains the current temperature T through the vehicle's temperature sensor.
[0036] Step S11: Obtain the corresponding reference compensation coefficient based on the current environmental parameters, and compensate the original voltage value based on the reference compensation coefficient to obtain the compensated impact voltage value.
[0037] Since the same impact force produces different voltage values at different temperatures T, the reference compensation coefficient K0 is a pre-calibrated coefficient used to calibrate the original voltage values corresponding to the elastic wave signals collected by the elastic wave sensor at different temperatures T to the calibrated voltage value V0 corresponding to the standard temperature (e.g., 25℃). The reference compensation coefficient K0 is different for different temperatures T.
[0038] In some embodiments of this application, when obtaining the baseline compensation coefficient K0 corresponding to the current environmental parameters, the baseline compensation coefficient K0 is obtained based on the current environmental parameters and a preset mapping table. The mapping table records the correspondence between environmental parameters and the baseline compensation coefficient K0.
[0039] Specifically, during the development of the elastic wave function, the vehicle is pre-placed in an environmental chamber to simulate different temperatures T (selected from the vehicle's operating temperature of -40℃ to 85℃, with each 10℃ interval representing a segment). Experimenters of different ages and body types knock on the car window from the same position with the same force. An elastic wave sensor collects the impact voltage value V corresponding to the elastic wave signal generated after each impact event. The average of all impact voltage values V collected at each temperature T is used as the experimental voltage value corresponding to that temperature T. Further, it can be combined with... Figure 2 The curve showing the change of experimental voltage value with temperature T indicates that in practical applications, the experimental voltage value gradually increases with increasing temperature T. Here, T=25℃ is taken as the standard temperature, and the experimental voltage value collected at T=25℃ is taken as the calibration voltage value V0. Based on the calculation formula "experimental voltage value × K0 = calibration voltage value V0", the reference compensation coefficient K0 is calculated at different temperatures T to ensure that the experimental voltage value remains consistent with the calibration voltage value V0, and a mapping table is formed. The mapping table includes, but is not limited to, the following: T=+25℃→K0=1.00, that is, at the standard temperature, the experimental voltage value remains consistent with the calibration voltage value V0; T=-20℃→K0=1.25…T=+60℃→K0=0.85…. The above K0 values are only examples, and this application does not impose any limitations on them. Further, it can be combined with… Figure 3As shown by the curve of K0 value changing with each temperature T, K0 value actually decreases gradually as temperature T increases. Therefore, based on the reference compensation coefficient K0, the original voltage value corresponding to the elastic wave signal collected by the elastic wave sensor at different temperatures T can be calibrated to the calibration voltage value V0 corresponding to the standard temperature (e.g., 25℃).
[0040] In some embodiments of this application, the original voltage value is compensated based on the calculation formula "compensated impact voltage value V = original voltage value × K0" to obtain the compensated impact voltage value V, and corresponding control actions are performed based on the compensated impact voltage value V, wherein the control actions include opening the window and closing the window.
[0041] Step S12: Obtain the cumulative number of compensated impact voltage values, and when the cumulative number of compensated impact voltage values reaches N, determine the confidence level of the benchmark compensation coefficient under the current environmental parameters based on the voltage difference between the N compensated impact voltage values and the preset calibration voltage value.
[0042] In practical applications, due to the significant fluctuations in elastic wave signals, even when the same user strikes the same location with the same force at the same temperature (T), the original voltage values of the elastic wave signals collected each time may differ (e.g., due to factors such as the striking angle and sensor status). If only the voltage difference corresponding to a single striking event is considered... Using this method to assess the confidence level Kz of the benchmark compensation coefficient K0 may lead to unstable assessment results and excessive randomness.
[0043] Therefore, this application continuously monitors the cumulative number of compensated impact voltage values V. Whenever a compensated impact voltage value V is detected, it is temporarily stored in a buffer, and the cumulative number of compensated impact voltage values V is incremented by 1. When the cumulative number of compensated impact voltage values V reaches a preset number N, the controller triggers a round of confidence level Kz calculation, specifically: The voltage difference between the impact voltage value V after N compensations and the calibrated voltage value V0 When determining the confidence level Kz of the baseline compensation coefficient K0 under the current environmental parameters, calculate the voltage difference between N compensated impact voltage values V and the calibrated voltage value V0. and N voltage differences The average value is used as the deviation value; the absolute value of the deviation value is calculated as the percentage of deviation between the absolute value of the deviation value and the calibrated voltage value V0, and the corresponding confidence level Kz is determined according to the preset deviation range in which the deviation percentage is located, wherein the confidence level Kz is negatively correlated with the deviation percentage.
[0044] Specifically, first, calculate the voltage difference between each compensated impact voltage value V and the calibrated voltage value V0: Where i = 1, 2, ..., N; next, calculate the deviation value: N can be 100, and can be adjusted according to the actual application scenario (such as tapping frequency, accuracy requirements), which provides high flexibility.
[0045] For example, in the absolute value of the deviation | When the percentage deviation from the calibrated voltage value V0 is between 0% and 5%, that is... When | / V0≤5%, the confidence level Kz=1; when the absolute value of the deviation is | When the percentage deviation from the calibrated voltage value V0 is between 5% and 10%, i.e., 5% < | When | / V0≤10%, the confidence level Kz=0.9; when the absolute value of the deviation is | When the percentage deviation from the calibrated voltage value V0 is between 10% and 15%, i.e., 10% < | When | / V≤15%, the confidence level Kz=0.85 is obtained. The above Kz values are for illustrative purposes only, and this application does not impose any restrictions on them.
[0046] It should be noted that after the current confidence level Kz calculation process is completed, the controller will reset the cumulative number of compensated knock voltage values V to zero in order to prepare for the next round of compensated knock voltage values V. In other words, every time the cumulative number of compensated knock voltage values V reaches N, a new confidence level Kz calculation process will be triggered to recalculate the cumulative number of compensated knock voltage values V from 0.
[0047] Based on this, the confidence level Kz is determined by averaging N times, which reduces the impact of random error from a single hit on the confidence level Kz, ensuring the stability and accuracy of the confidence level Kz. Furthermore, the confidence level Kz is updated once every N hits, avoiding frequent calculations and saving computing power.
[0048] Step S13: Determine whether the confidence level is greater than or equal to the preset warning threshold.
[0049] The preset warning threshold can be 0.75.
[0050] In some embodiments of this application, if the confidence level Kz is greater than or equal to a preset warning threshold, i.e., Kz≥0.75, the controller 10 continues to execute step S13.
[0051] In some embodiments of this application, if the confidence level Kz is less than a preset warning threshold, i.e., Kz is less than 0.75, the controller 10 continues to execute step S16.
[0052] Step S14: Correct the reference compensation coefficient based on the confidence level and voltage difference to obtain the corrected compensation coefficient.
[0053] In some embodiments of this application, based on confidence level Kz and voltage difference When revising the baseline compensation coefficient K0 to obtain the revised compensation coefficient K, the revision range of the baseline compensation coefficient K0 is determined based on the confidence level Kz. The revision range is negatively correlated with the confidence level Kz. For example, when Kz=0.9, the revision range is 5%, and when Kz=0.85, the revision range is 10%. If the deviation value is positive, the revision range is reduced based on the baseline compensation coefficient K0 to obtain the revised compensation coefficient K. If the deviation value is negative, the revision range is increased based on the baseline compensation coefficient K0 to obtain the revised compensation coefficient K.
[0054] For example, when Kz=1, it indicates that the deviation is acceptable and no correction is needed for K0; the corrected compensation coefficient K=K0. When Kz=0.9, it indicates that there is a deviation and K0 needs to be corrected. In this case, when the deviation value is positive, it indicates that the compensated impact voltage value V is slightly greater than the rated voltage value V0. Under the condition that "the compensated impact voltage value V=the original voltage value × K0", in order to make the compensated impact voltage value V close to the rated voltage value V0, the compensation coefficient needs to be reduced, i.e., K=K0×(1-5%). When the deviation value is negative, it indicates that the compensated impact voltage value V is slightly less than the rated voltage value V0. In order to make the compensated impact voltage value V close to the rated voltage value V0, the compensation coefficient needs to be increased, i.e., K=K0×(1+5%). Further, this can be combined with... Figure 3 As shown by the curve of K value changing with each temperature T, K value actually decreases gradually as temperature T increases. Therefore, based on the corrected compensation coefficient K, the original voltage value corresponding to the elastic wave signal collected by the elastic wave sensor at different temperatures T can be more accurately calibrated to the calibration voltage value V0 corresponding to the standard temperature (e.g., 25℃).
[0055] Step S15: Based on the corrected compensation coefficient, compensate the original voltage value corresponding to the elastic wave signal subsequently acquired by the elastic wave sensor.
[0056] Among them, the elastic wave signal subsequently acquired by the elastic wave sensor is the elastic wave signal acquired by the elastic wave sensor when the cumulative number of impact voltage values V after the next round of compensation has not reached N.
[0057] In some embodiments of this application, when the cumulative number of the knock voltage values V after the next round of compensation does not reach N, the controller compensates the original voltage value based on the corrected compensation coefficient K.
[0058] Step S16: Based on the compensation coefficient used most recently, compensate the original voltage value corresponding to the elastic wave signal subsequently acquired by the elastic wave sensor, and generate preset interactive fault warning information.
[0059] In some embodiments of this application, when the confidence level Kz is less than a preset warning threshold, i.e., Kz is less than 0.75, the controller determines that the current environmental change has exceeded the safe range of adaptive adjustment. In this case, to avoid relying on unreliable deviation values... If the compensation coefficient correction causes excessive deviation and triggers a larger fault, the controller will suspend the automatic correction function of the compensation coefficient and compensate the original voltage value corresponding to the elastic wave signal subsequently acquired by the elastic wave sensor based on the most recently used compensation coefficient (i.e., the last compensation coefficient used before the confidence level Kz was not lower than the warning threshold), to obtain the compensated impact voltage value V. At the same time, the controller generates a preset interactive fault warning message and outputs it through at least one of the following methods: Local interactive prompts: The system sends interactive fault warning messages to users through the vehicle's human-machine interface (such as the central control display, car audio, etc.), such as "Elastic wave interaction abnormal, please go to the 4S store to check the situation", to remind users to perform professional maintenance in a timely manner.
[0060] Remote upload prompt: Generate the corresponding Diagnostic Trouble Code (DTC) and actively upload it to the cloud server or vehicle networking platform through the controller to prompt the quality management personnel or after-sales service team that there is an abnormality in the elastic wave interaction, so as to proactively contact the user to arrange maintenance.
[0061] It should be noted that when the controller enters the fuse protection state due to the confidence level Kz being lower than the warning threshold, it must be confirmed by a professional (e.g., by a technician from a 4S store) and unlocked through an authorized operation (e.g., by entering a security code) before the fuse protection state can be deactivated and the automatic correction function of the compensation coefficient can be restored.
[0062] Based on this, this mechanism can effectively prevent the compensation coefficient from being incorrectly adjusted due to severe drift in the performance of the elastic wave sensor or interference from extreme environments, thus ensuring the safety and reliability of elastic wave interaction.
[0063] Step S17: Identify the user's tapping intention based on the compensated tapping voltage value, and execute the corresponding control action according to the tapping intention.
[0064] The control actions include, but are not limited to, opening and closing the car windows.
[0065] In the elastic wave signal compensation method of this application embodiment, firstly, in response to the elastic wave signal collected by the elastic wave sensor, the original voltage value corresponding to the elastic wave signal is obtained, and the current environmental parameters of the vehicle are obtained; secondly, based on the current environmental parameters, the corresponding reference compensation coefficient K0 is obtained, and the original voltage value is compensated based on the reference compensation coefficient K0 to obtain the compensated impact voltage value V; then, when the cumulative number of compensated impact voltage values V reaches N, the voltage difference between N compensated impact voltage values V and the preset calibration voltage value V0 is calculated. First, determine the confidence level Kz of the baseline compensation coefficient K0 under the current environmental parameters; then, if the confidence level Kz is greater than or equal to the preset warning threshold, based on the confidence level Kz and the voltage difference... The baseline compensation coefficient K0 is corrected to obtain the corrected compensation coefficient K. Finally, based on the corrected compensation coefficient K, the original voltage value corresponding to the elastic wave signal subsequently acquired by the elastic wave sensor is compensated. Based on this, this application introduces a dynamic compensation and adaptive iterative correction mechanism for environmental parameters, so that the output of the elastic wave sensor is no longer affected by changes in environmental factors. This achieves a consistent perception of user tapping actions under different environmental conditions, significantly improving the stability of human-vehicle interaction and user experience.
[0066] Please see Figure 4 This is a schematic diagram of the functional modules of an elastic wave signal compensation device 100 provided in an embodiment of this application.
[0067] In this embodiment, based on the above... Figure 1 Following the same concept as the elastic wave signal compensation method in the illustrated embodiments, this application also provides an elastic wave signal compensation device 100, which can be used to perform the above-described elastic wave signal compensation method. For ease of explanation, the schematic diagram of the elastic wave signal compensation device 100 embodiment only shows the parts relevant to the embodiments of this application. Those skilled in the art will understand that the illustrated structure does not constitute a limitation on the elastic wave signal compensation device 100, and it may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.
[0068] Specifically, the elastic wave signal compensation device 100 provided in this application embodiment includes a response module 110, a compensation module 120, a determination module 130, and a correction module 140. The response module 110 is used to respond to the elastic wave signal collected by the elastic wave sensor, obtain the original voltage value corresponding to the elastic wave signal, and obtain the current environmental parameters of the vehicle; the compensation module 120 is used to obtain the corresponding reference compensation coefficient K0 based on the current environmental parameters, and compensate the original voltage value based on the reference compensation coefficient K0 to obtain the compensated impact voltage value V; the determination module 130 is used to obtain the cumulative number of compensated impact voltage values V, and when the cumulative number of compensated impact voltage values V reaches N, it determines the voltage difference between the N compensated impact voltage values V and the preset calibration voltage value V0. The confidence level Kz of the baseline compensation coefficient K0 under the current environmental parameters is determined; the correction module 140 is used to, if the confidence level Kz is greater than or equal to the preset warning threshold, adjust the warning based on the confidence level Kz and the voltage difference. The reference compensation coefficient K0 is corrected to obtain the corrected compensation coefficient K; the compensation module 120 is also used to compensate the original voltage value corresponding to the elastic wave signal subsequently acquired by the elastic wave sensor based on the corrected compensation coefficient K.
[0069] Specific limitations regarding the elastic wave signal compensation device 100 can be found in the limitations of the elastic wave signal compensation method described above, and will not be repeated here. Each module in the aforementioned elastic wave signal compensation device 100 can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor 12 in the controller 10, or stored in software in the memory 11 of the controller 10, so that the processor 12 can call and execute the corresponding operations of each module.
[0070] Please see Figure 5 This is a schematic diagram of the hardware structure of the controller 10 provided in an embodiment of this application.
[0071] The controller 10 provided in this application includes, but is not limited to, a memory 11, a processor 12, and a computer program stored in the memory 11 and executable on the processor 12, such as an elastic wave signal compensation program. When the computer program is executed by the processor 12, it implements the elastic wave signal compensation method as described in the above embodiments.
[0072] Figure 5 Only the controller 10, which includes a memory 11 and a processor 12, is shown. Those skilled in the art will understand that... Figure 5 The structure shown does not constitute a limitation on the controller 10 and may include fewer or more components than shown, or combine certain components, or have different component arrangements.
[0073] In some embodiments of this application, the controller 10 can be communicatively connected to devices such as desktop computers, laptops, handheld computers, and cloud servers.
[0074] In some embodiments of this application, the controller 10 can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control device.
[0075] In some embodiments of this application, the controller 10 may further include network devices and / or client devices. These network devices include, but are not limited to, a single network server, a server group consisting of multiple network servers, and a cloud server based on cloud computing, consisting of a large number of hosts or network servers.
[0076] In some embodiments of this application, the network where the controller 10 is located includes, but is not limited to, the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN), etc.
[0077] In some embodiments of this application, the memory 11 stores multiple computer-readable instructions to implement an elastic wave signal compensation method. The processor 12 can execute multiple instructions to achieve: in response to the elastic wave signal collected by the elastic wave sensor, obtaining the original voltage value corresponding to the elastic wave signal and obtaining the current environmental parameters of the vehicle; obtaining the corresponding reference compensation coefficient K0 based on the current environmental parameters, and compensating the original voltage value based on the reference compensation coefficient K0 to obtain the compensated impact voltage value V; obtaining the cumulative number of compensated impact voltage values V, and when the cumulative number of compensated impact voltage values V reaches N, calculating the voltage difference between the N compensated impact voltage values V and the preset calibration voltage value V0. Determine the confidence level Kz of the baseline compensation coefficient K0 under the current environmental parameters; if the confidence level Kz is greater than or equal to the preset warning threshold, based on the confidence level Kz and the voltage difference... The reference compensation coefficient K0 is corrected to obtain the corrected compensation coefficient K; based on the corrected compensation coefficient K, the original voltage value corresponding to the elastic wave signal subsequently acquired by the elastic wave sensor is compensated.
[0078] Specifically, the processor 12's implementation method for the above instructions can be found in [reference needed]. Figure 1 The descriptions of the relevant steps in the corresponding embodiments are not repeated here.
[0079] Those skilled in the art will understand that the schematic diagram is merely an example of the controller 10 and does not constitute a limitation on the controller 10. The controller 10 can be a bus topology or a star topology. The controller 10 may also include more or fewer other hardware or software than shown in the diagram, or different component arrangements. For example, the controller 10 may also include an input / output controller 10, a network access device, etc.
[0080] The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, in... Figure 5 The symbol is represented by only one arrow, but this does not mean that there is only one bus or one type of bus. The bus is configured to implement communication between memory 11 and processor 12, etc.
[0081] It should be noted that controller 10 is only an example. Other existing or future electronic products that are suitable for this application should also be included within the scope of protection of this application and are incorporated herein by reference.
[0082] In some embodiments of this application, the processor 12 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 12 is the control core of the controller 10, connecting various components of the controller 10 via various interfaces and lines. It executes programs or modules stored in the memory 11 (e.g., executing a damper control program) and calls data stored in the memory 11 to perform various functions of the controller 10 and process data.
[0083] The processor 12 executes the operating system of the controller 10 and various installed applications. The processor 12 executes these applications to implement the steps described in each of the above embodiments of the elastic wave signal compensation method, for example... Figure 1 The steps are shown.
[0084] For example, a computer program can be divided into one or more modules / units, one or more of which are stored in memory 11 and executed by processor 12 to complete this application. One or more modules / units can be a series of computer-readable instruction segments capable of performing a specific function, which describe the execution process of the computer program in controller 10. For example, a computer program can be divided into... Figure 4 The module shown.
[0085] The integrated unit implemented as a software functional module described above can be stored in a computer-readable storage medium. This software functional module, stored in a storage medium, includes several instructions to cause a computer device (which may be a personal computer, computer equipment, or network device, etc.) or processor to execute a portion of an elastic wave signal compensation method according to various embodiments of this application.
[0086] If the modules / units integrated into controller 10 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware devices. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above.
[0087] Computer programs include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. Computer-readable media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory, and other types of memory.
[0088] This application also provides a computer-readable storage medium (not shown), which stores computer-readable instructions. These computer-readable instructions are executed by a processor in a controller 10 to implement an elastic wave signal compensation method according to any of the above embodiments.
[0089] Specifically, the computer-readable storage medium can be non-volatile or volatile. Computer-readable storage media include flash memory, portable hard drives, multimedia cards, card-type memories (e.g., SD memory, DX memory, etc.), magnetic storage, magnetic disks, optical disks, etc. In some embodiments, memory 11 can be an internal storage unit of the controller 10, such as the portable hard drive of the controller 10. In other embodiments, memory 11 can also be an external storage device of the controller 10, such as a plug-in portable hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the controller 10. Memory 11 can be used not only to store application software and various types of data installed on the controller 10, such as the code of a damper control program, but also to temporarily store data that has been output or will be output.
[0090] Furthermore, the computer-readable storage medium may primarily include a stored program area and a stored data area, wherein the stored program area may store the operating system, applications required for the functions, etc.; and the stored data area may store data created based on the use of blockchain nodes, etc.
[0091] In the embodiments of this application, it should be noted that, unless otherwise explicitly specified and limited, "multiple" means two or more.
[0092] In the embodiments of this application, it should be noted that, unless otherwise expressly specified and limited, the word "for example" is used to indicate an example, illustration, or description. Any embodiment or design scheme described as "for example" in the embodiments of this application should not be construed as being better or more advantageous than other embodiments or design schemes. Specifically, the use of the word "for example" is intended to present the relevant concepts in a specific manner.
[0093] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between them; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication between two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0094] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" and "second" may explicitly or implicitly include one or more features.
[0095] In the description of this application, it should be noted that, unless otherwise explicitly stated and limited, "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Furthermore, the character " / " in this application generally indicates that the preceding and following related objects have an "or" relationship.
[0096] Unless otherwise specified, all steps in this application may be performed sequentially or randomly. For example, if a method includes steps A and B, it means that the method may include steps A and B performed sequentially, or it may include steps B and A performed sequentially. For example, if a method may also include step C, it means that step C may be added to the method in any order. For example, the method may include steps A, B, and C, or it may include steps A, C, and B, or it may include steps C, A, and B, etc.
[0097] The above are merely preferred embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the scope of protection of this application.
[0098] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.
[0099] In the various embodiments of this application, the functional modules 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 integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.
[0100] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices described in the specification may also be implemented by a single unit or device through software or hardware.
[0101] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.
Claims
1. A method for compensating elastic wave signals, characterized in that, Applied to a vehicle, the vehicle including an elastic wave sensor, the method includes: In response to the elastic wave signal collected by the elastic wave sensor, the original voltage value corresponding to the elastic wave signal is obtained, and the current environmental parameters of the vehicle are obtained. Based on the current environmental parameters, the corresponding reference compensation coefficient is obtained, and the original voltage value is compensated based on the reference compensation coefficient to obtain the compensated impact voltage value. The cumulative number of the compensated impact voltage values is obtained, and when the cumulative number of the compensated impact voltage values reaches N, the confidence level of the benchmark compensation coefficient under the current environmental parameters is determined based on the voltage difference between the N compensated impact voltage values and the preset calibration voltage value. If the confidence level is greater than or equal to the preset warning threshold, the reference compensation coefficient is corrected according to the confidence level and the voltage difference to obtain the corrected compensation coefficient; Based on the corrected compensation coefficient, the original voltage value corresponding to the elastic wave signal subsequently acquired by the elastic wave sensor is compensated.
2. The elastic wave signal compensation method as described in claim 1, characterized in that, The step of determining the confidence level of the reference compensation coefficient under the current environmental parameters based on the voltage difference between N compensated impact voltage values and preset calibration voltage values includes: Calculate the voltage difference between the N compensated impact voltage values and the calibrated voltage value, and take the average of the N voltage differences as the deviation value; Calculate the percentage deviation between the absolute value of the deviation value and the calibrated voltage value, and determine the corresponding confidence level based on the preset deviation range in which the percentage deviation falls, wherein the confidence level is negatively correlated with the percentage deviation.
3. The elastic wave signal compensation method as described in claim 2, characterized in that, The step of correcting the reference compensation coefficient based on the confidence level and the voltage difference to obtain the corrected compensation coefficient includes: The correction magnitude for the baseline compensation coefficient is determined based on the confidence level, wherein the correction magnitude is negatively correlated with the confidence level; If the deviation value is positive, the correction range is reduced based on the baseline compensation coefficient to obtain the corrected compensation coefficient; If the deviation value is negative, the correction range is added to the baseline compensation coefficient to obtain the corrected compensation coefficient.
4. The elastic wave signal compensation method as described in claim 1, characterized in that, The process of obtaining the corresponding baseline compensation coefficient based on the current environmental parameters includes: Based on the current environmental parameters and a preset mapping table, the baseline compensation coefficient corresponding to the current environmental parameters is obtained, wherein the mapping table is used to record the correspondence between the environmental parameters and the baseline compensation coefficient.
5. The elastic wave signal compensation method as described in claim 1, characterized in that, The method further includes: If the confidence level is less than the warning threshold, the original voltage value corresponding to the elastic wave signal subsequently acquired by the elastic wave sensor is compensated based on the compensation coefficient used most recently, and a preset interactive fault warning message is generated.
6. The elastic wave signal compensation method as described in claim 1 or claim 5, characterized in that, The method further includes: The system identifies the user's tapping intention based on the compensated tapping voltage value and executes corresponding control actions according to the tapping intention, including opening and closing the car window.
7. An elastic wave signal compensation device, characterized in that, Applied to a vehicle, the vehicle including an elastic wave sensor, the device includes: The response module is used to respond to the elastic wave signal collected by the elastic wave sensor, obtain the original voltage value corresponding to the elastic wave signal, and obtain the current environmental parameters of the vehicle. The compensation module is used to obtain the corresponding reference compensation coefficient based on the current environmental parameters, and to compensate the original voltage value based on the reference compensation coefficient to obtain the compensated impact voltage value. The determination module is used to obtain the cumulative number of the compensated impact voltage values, and when the cumulative number of the compensated impact voltage values reaches N, it determines the confidence level of the benchmark compensation coefficient under the current environmental parameters based on the voltage difference between the N compensated impact voltage values and the preset calibration voltage value. The correction module is used to correct the reference compensation coefficient based on the confidence level and the voltage difference if the confidence level is greater than or equal to a preset warning threshold, so as to obtain the corrected compensation coefficient. The compensation module is also used to compensate the original voltage value corresponding to the elastic wave signal subsequently acquired by the elastic wave sensor based on the corrected compensation coefficient.
8. A controller, characterized in that, The controller includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the elastic wave signal compensation method as described in any one of claims 1 to 6.
9. A vehicle, characterized in that, The vehicle includes an elastic wave sensor and a controller as described in claim 8, the controller being communicatively connected to the elastic wave sensor, the elastic wave sensor being mounted on a corresponding component of the vehicle for collecting elastic wave signals generated by a user striking the corresponding component.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program code that can be called by a processor to execute the elastic wave signal compensation method as described in any one of claims 1 to 6.