A Vehicle Button Control Method and System That Varies with Temperature
By sampling the electrical performance of automotive touch buttons at different temperatures and processing the signal function, the problem of inconsistent sensitivity of touch buttons under temperature changes is solved, and the stability and consistency of touch experience is achieved.
Patent Information
- Application Number
- CN202410429465.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-10
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2044-04-10
AI Technical Summary
The sensitivity of existing automotive touch buttons changes at different temperatures lead to inconsistent touch experience, affecting the user experience.
By sampling the electrical performance of the touch key at different temperatures, fitting the signal function, configuring the key function trigger threshold, and fitting the real signal value using the least squares method to achieve stable touch recognition of the key function.
在不同温度环境下保持触控按键的灵敏度稳定,减少误触发或卡滞现象,提高触控体验一致性。
Smart Images

Figure CN118331448B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle-mounted buttons, and particularly to a vehicle button control method and system that vary with temperature. Background Art
[0002] Currently, the touch signals generated by existing vehicle touch buttons are generally signal configurations with a fixed intensity. For example, existing touch buttons can only trigger the button function when the detected touch signal is greater than the signal threshold. This setting is to avoid false touch caused by slight touches on the one hand, and on the other hand, to solve the problem of setting the button sensitivity. Appropriate button sensitivity is beneficial to improving the user's button touch experience. However, since the touch buttons are composed of electronic components including but not limited to capacitors, the above-mentioned electronic components such as capacitors are usually temperature-sensitive elements, and temperature-sensitive elements exhibit different electrical properties at different temperatures. Therefore, the signal intensities shown by temperature-sensitive elements at different temperatures are different, and the touch buttons with traditional fixed-intensity signal configurations will have obvious sensitivity changes in a temperature-changing environment, resulting in the technical problem of inconsistent button touch experiences in different temperature-changing scenarios. Summary of the Invention
[0003] One object of the present invention is to provide a vehicle button control method and system that vary with temperature. The method and system first sample the electrical properties related to touch of the touch button at different temperatures, obtain the true signal values of the touch signals at different temperatures, and adjust the base signal values corresponding to the temperatures according to the true signal values, so as to keep the touch function sensitivity stable and improve the consistency of the touch experience of vehicle-mounted buttons in different temperature environments.
[0004] Another object of the present invention is to provide a vehicle button control method and system that vary with temperature. After sampling the true signal values of the touch signals at different temperatures, the method and system perform curve fitting on the true signal values at different temperature points. In the present invention, the least squares method is used to fit the change curve of the true signal value and temperature, and a fitting signal function is obtained. The change curve of the fitted true signal value and temperature can obtain a relatively smooth true signal curve, making the function trigger of the touch signal relatively more stable and smooth, and avoiding the influence of small sampling deviations on the touch signal.
[0005] Another object of the present invention is to provide a vehicle key control method and system configuration that vary with temperature, set a key function trigger threshold, configure a basic signal value function according to the fitting signal function and in accordance with the preset key function trigger threshold, and determine whether to trigger the key function based on the basic signal value function and the actually detected true signal value. The touch recognition of the key function is carried out by constructing a function. The digital function control method has a more stable control effect compared with the analog state recognition control.
[0006] In order to achieve at least one of the above-mentioned objects of the invention, the present invention further provides a vehicle key control method that varies with temperature, and the method includes:
[0007] Calibrate the touch signals on the touch surface of the touch key under different temperature changes to obtain the touch signal calibration values at different temperature sampling points;
[0008] Perform curve fitting on the touch signal calibration values at different temperatures to obtain a fitting signal function for the calibrated touch signal curve;
[0009] Pre-configure a key function trigger threshold, and calculate a basic signal value function according to the fitting signal function;
[0010] Obtain the current scene temperature value and the actually detected true signal value, and calculate the basic signal value corresponding to the temperature according to the current scene temperature value;
[0011] Determine whether the current true signal value triggers the key function based on the currently detected actual true signal value, the calculated basic signal value corresponding to the temperature, and the key function trigger threshold.
[0012] According to one preferred embodiment of the present invention, the calibration method of the touch signal at different temperatures includes: controlling the temperature of the touch key itself, using a capacitance signal detection device to detect the touch signal value under standard contact of the touch key, obtaining the touch signal calibration value of the touch key at each temperature sampling point, and the touch signal calibration value of each temperature sampling point.
[0013] According to another preferred embodiment of the present invention, the method for obtaining the fitting signal function includes: after obtaining the touch signal calibration value of each temperature sampling point, performing polynomial fitting on the touch signal calibration value according to the temperature change by using the least squares method, and obtaining the fitting signal function after fitting.
[0014] According to another preferred embodiment of the present invention, the fitting method of the fitting signal function includes: pre-configuring the type of the fitting curve and the polynomial fitting parameters of the fitting curve, calibrating the touch signal calibration value of each temperature sampling point and the fitting value of the corresponding fitting curve at the same temperature, and calculating the sum of the squared differences between the touch signal calibration value and the fitting value at all the same temperatures. The fitting parameters with the smallest sum of the squared differences are configured as the fitting parameters of the corresponding fitting curve, and the fitting signal function is obtained.
[0015] According to another preferred embodiment of the present invention, after obtaining the fitting signal function F(t), where t is the temperature value, and acquiring the pre-configured key function trigger threshold M, the basic signal value function of the key is Q(t) = F(t) - M. At the same temperature t1, the difference between the actually detected real signal value f(t1) and the basic signal value function Q(t1) of the key is calculated as a parameter for determining whether the current real signal value triggers the touch function.
[0016] According to another preferred embodiment of the present invention, when the difference f(t1) - Q(t1) between the real signal value and the basic signal value function of the key is greater than 0, the touch function corresponding to the key is generated; when the difference f(t1) - Q(t1) between the actually detected real signal value and the basic signal value function of the key is less than 0, the touch function corresponding to the key is no longer generated.
[0017] According to another preferred embodiment of the present invention, the basic signal value function Q(t) is saved and uploaded to the vehicle control system. The vehicle control system obtains the in-vehicle temperature data t in real time according to the in-vehicle temperature sensor n and obtains a key fitness adjustment parameter Q(t n ) according to the basic signal value function, and the key fitness adjustment parameter Q(t n ) is sent to the corresponding key processor for performing the identification and adjustment of the corresponding key touch signal.
[0018] According to another preferred embodiment of the present invention, the vehicle control system detects the real signal value f(t n ) of the key in real time, and performs a difference calculation according to the key fitness adjustment parameter Q(t n ) sent by the vehicle control system in real time. When the difference is greater than 0, the corresponding key touch function is executed.
[0019] To achieve at least one of the above-mentioned invention purposes, the present invention further provides a vehicle key control system that changes with temperature, and the system executes the above-mentioned vehicle key control method that changes with temperature.
[0020] The present invention further provides a computer-readable storage medium storing a computer program, which is executed by a processor to implement the above-mentioned vehicle key control method that varies with temperature. Description of the Drawings
[0021] Figure 1 Shown is a schematic flowchart of a vehicle key control method that varies with temperature according to the present invention.
[0022] Figure 2 Shown is a schematic diagram of regulating the temperature change of the touch signal of the vehicle key in the present invention. Detailed Embodiments
[0023] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and other obvious variations can be thought of by those skilled in the art. The basic principles defined in the following description can be applied to other implementation schemes, variant schemes, improvement schemes, equivalent schemes, and other technical schemes that do not depart from the spirit and scope of the present invention.
[0024] It can be understood that the term "one" should be understood as "at least one" or "one or more". That is, in one embodiment, the number of an element can be one, and in other embodiments, the number of the element can be multiple. The term "one" cannot be understood as a limitation on the number.
[0025] Please refer to Figure 1 and Figure 2 , the present invention discloses a vehicle key control method and system that vary with temperature. The method mainly includes the following steps: First, a temperature control box needs to be configured. The temperature control box can adjust the ambient temperature. Place the in-vehicle touch key in the temperature control box for temperature adjustment, where the adjustable temperature of the temperature control box is from 80°C to -40°C. Detect the signal intensity of the in-vehicle touch key at different temperatures through relevant signal detection components, calibrate the key signals of the in-vehicle touch key at different temperatures, further perform relevant function fitting according to the calibration values to obtain a calibrated fitting signal function, use the fitting signal function to perform relevant numerical calculations to obtain a key fitness function, and perform touch case signal regulation that adapts to temperature changes according to the key fitness function, so that the touch key maintains relatively stable sensitivity at different ambient temperatures, thereby reducing mis-triggering or jamming phenomena of the touch key at different temperatures and improving the touch experience of the touch key.
[0026] Specifically, the touch keys in the present invention are generally capacitive or resistive touch keys. The electronic components of the capacitive or resistive touch keys are affected by the environment. For example, the resistance element of the resistive touch key has good electrical conductivity at low temperatures. Therefore, the touch voltage signal generated by the resistance element will be lower. While the resistance element has poor electrical conductivity at higher temperatures, the touch voltage signal generated across the resistance element will be higher. The control method described in the present invention can be applied to, including but not limited to, the above-mentioned capacitive touch keys or resistive touch keys. The key signal calibration method for the in-vehicle touch keys includes the following steps: Place the in-vehicle touch key into the temperature control box, and adjust the temperature of the temperature control box to slowly decrease starting from 80°C. A standard contact is configured on the in-vehicle touch key. The standard contact can be a standard stylus or a contact that simulates a finger touching a fixed area. The contact is placed on the touch panel of the touch key. The touch key is powered on and establishes a communication connection with the host computer through a relevant communication module. When the contact is placed on the touch panel of the touch key, the touch key records the touch signal intensity at the start of 80°C to complete the initial temperature sampling, and binds the sampling temperature of 80°C and the corresponding touch signal intensity sampling result p1 and saves them. Further, adjust the temperature of the temperature control box to slowly decrease, so that the temperature of the temperature control box remains at a fixed temperature for a period of time, and then sample the signal intensity of the touch key again. For example, when it steadily drops to 75°C, sample the signal intensity of the touch key again under the condition of 75°C stability, obtain the sampling result p2 under the sampling temperature of 75°C, and bind the sampling temperature of 75°C and the sampling result p2 and save them as a sampling point data. Sequentially control the temperature to decrease through the temperature control box according to a specified temperature decrease range until all sampling point data within the temperature range from 80°C to -40°C are collected, and obtain the following sampling point data [t n , p n , where n is the number of samplings, t n is the temperature value controlled for the nth sampling, and p n is the touch signal intensity value detected for the nth sampling. It should be noted that in the present invention, the above temperature decrease range can be set to any value within 1 - 5°C, and the present invention does not limit the above temperature decrease range. And in order to avoid large deviations that may exist in single sampling data, the present invention can sample the sampling points at the same temperature multiple times according to different temperature decrease amplitudes, and calculate the average value of the multiple sampling results of the sampling points at the same temperature as the final sampling result of the corresponding temperature sampling point.
[0027] After obtaining the sampling results of each temperature sampling point, the sampling results are used as the calibration values of the corresponding temperature touch signals. The present invention further performs data fitting on the calibration values of the corresponding temperature sampling points, and obtains the fitting signal function F(t) after fitting. The method for performing data fitting on the calibration values includes: selecting a fitting function curve F. In the present invention, a polynomial F(x) = ax n +bx n-1 +cx n-2 ....+υ is selected as the fitting function curve F, where a, b, c, etc. are polynomial coefficients, and υ is a polynomial constant. During the fitting process, a, b, c, etc. are polynomial coefficients and the polynomial constant υ is a parameter value to be solved, and the above parameter values are initialized and configured as the initial fitting function curve F. It should be noted that the fitting function curve F described in the present invention can be selected to include but not limited to log functions, exponential functions, etc., and the present invention does not make specific limitations on the type of the fitting function. In the initial stage, the sampling point data [t n , p n is input into the polynomial to obtain the fitting value F(t n ), and further calculate the square of the difference between the fitting value F(t n ) of the fitted curve and the calibration value p n of the sampling point data: (F(t n ) - p n ) 2 ; further calculate the sum of the squares of the differences between the calibration values p n of all sampling point data detections and the corresponding curve fitting values F(t n ) Further adjust the parameters a, b, c, and υ of the fitting function curve F, and calculate the sum of the squares of the differences G again. After multiple iterative calculations, calculate the minimum value G min of the sum of the squares of the differences, and use the parameter values corresponding to the minimum value G min of the sum of the squares of the differences as the finally fitted parameter values of the fitting function curve F, and solidify the parameter values to obtain the final fitting signal function F(t).
[0028] Further, the present invention saves the fitting signal functions F(t) calibrated and fitted at different temperatures, and uploads the fitting signal function F(t) to the vehicle control system in a real scenario. The vehicle control system is preferably an ECU controller. The communication connection of the ECU controller includes but not limited to each button sensor, as well as temperature sensors, humidity sensors, etc. related to the vehicle body. The ECU controller is used to receive the data of each sensor connected by communication. Relevant processing logics or algorithms can be configured in the ECU controller, and corresponding processing operations of the sensor data are performed according to the relevant processing logics or algorithms.
[0029] Specifically, in the ECU controller of the present invention, a key function trigger threshold M is pre-configured. The threshold M is a signal strength threshold. After obtaining the fitting signal function F(t) according to the calibration value of the corresponding temperature sampling point, the fitting function is stored in the ECU controller. The ECU controller calculates the basic signal value function as Q(t)=F(t)-M according to the key function trigger threshold M and the fitting signal function F(t). The basic signal value function Q(t) is the Figure 2 baseline value in the appendix, and the adc_raw value in the appendix is the original actual detected true signal value. The basic signal value function is a reference function for whether the touch key triggers the corresponding function at the corresponding temperature. For example, at the same temperature t1, the difference between the actually detected true signal value f(t1) and the basic signal value function Q(t1) of the key is calculated as a parameter for whether the current true signal value triggers the touch function. When the difference f(t1)-Q(t1) between the true signal value and the basic signal value function of the key is greater than 0, a touch function instruction corresponding to the key is generated. When the difference f(t1)-Q(t1) between the actual true signal value and the basic signal value function of the key is less than 0, the touch function corresponding to the key is no longer generated. Figure 2 It is worth mentioning that the reference signal of the key touch signal in the present invention is calculated by a fitting function from the basic signal value function Q(t1) stored in the ECU controller. The fitting function is generally a smooth curve function. Therefore, during the adaptive adjustment of the key sensitivity, it also belongs to smooth adjustment, and there will be no problem of excessive local adjustment deviation caused by accidental errors in a single calibration. The present invention can quickly respond to the adjustment result through digital key sensitivity adjustment.
[0030] In one preferred embodiment of the present invention, after the ECU controller is powered on and started, it real-time obtains the temperature signal of the temperature sensor inside the vehicle, converts the temperature signal into an identifiable temperature value, and further inputs the identified temperature value into the basic signal value function Q(t1) through the ECU controller to calculate a key fitness adjustment parameter Q(t
[0031] ) and sends the key fitness adjustment parameter Q(t n ) to the corresponding key processor for performing corresponding key touch signal recognition and adjustment. When the key processor obtains the key fitness adjustment parameter Q(t n ), the vehicle control system further real-time detects the true signal value f(t n ) of the key. The true signal value f(t n ) n) is the touch signal value obtained by the user's actual touch detection of the button at the current temperature, and the ECU controller of the vehicle control system adjusts the parameter Q(t according to the button fitness parameters sent in real time n ) to perform a difference calculation: f(t n ) - Q(t n ). When the difference between f(t n ) and Q(t n ) is greater than 0, the corresponding button touch function is executed. If the difference between f(t n ) and Q(t n ) is less than or equal to 0, the corresponding button touch function is no longer executed.
[0032] Embodiments disclosed in the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. Embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program codes for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), the above-mentioned functions defined in the method of the present application are performed. It should be noted that the computer-readable medium mentioned above in the present application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of a computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wire segments, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or combined with an instruction execution system, apparatus, or device. And in the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program codes. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program for use by or combined with an instruction execution system, apparatus, or device. The program codes contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wireless, wire segments, optical cables, RF, etc., or any suitable combination of the above.
[0033] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur in a different order than that noted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0034] Those skilled in the art should understand that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The objectives of the present invention have been fully and effectively achieved. The functions and structural principles of the present invention have been demonstrated and illustrated in the embodiments. Without departing from the said principles, the embodiments of the present invention may have any variations or modifications.
Claims
1. A vehicle button control method that varies with temperature, characterized in that, The method includes: Calibrating touch signals on the touch surface of the touch key under different temperature changes to obtain touch signal calibration values at different temperature sampling points; Performing curve fitting on the touch signal calibration values at different temperatures to obtain a fitting signal function for the calibrated touch signal curve; Pre-configuring a key function trigger threshold and calculating a basic signal value function according to the fitting signal function; Obtaining the current scene temperature value and the detected real signal value, and calculating the basic signal value corresponding to the temperature according to the current scene temperature value; Among them, the method for obtaining the fitting signal function includes: after obtaining the touch signal calibration value of each temperature sampling point, performing polynomial fitting on the touch signal calibration value according to the temperature change by using the least squares method, and obtaining the fitting signal function after fitting; The fitting method of the fitting signal function includes: pre-configuring the fitting curve type and the polynomial fitting parameters of the fitting curve, according to the touch signal calibration value of each temperature sampling point and the fitting value of the corresponding fitting curve at the same temperature, and calculating the sum of the squared differences between the touch signal calibration value and the fitting value at all the same temperatures, and configuring the fitting parameters with the smallest sum of squared differences as the fitting parameters of the corresponding fitting curve to obtain the fitting signal function; After obtaining the fitting signal function F(t), where t is the temperature value, obtaining the pre-configured key function trigger threshold M, then the basic signal value function of the key is Q(t)=F(t)-M. At the same temperature t1, calculating the difference between the detected actual real signal value f(t1) and the basic signal value function Q(t1) of the key as a parameter for whether the current real signal value triggers the touch function; When the difference f(t1)-Q(t1) between the real signal value and the basic signal value function of the key is greater than 0, the touch function corresponding to the key is generated. When the difference f(t1)-Q(t1) between the actual real signal value and the basic signal value function of the key is less than 0, the touch function corresponding to the key is no longer generated.
2. The vehicle key control method that varies with temperature according to claim 1, wherein The calibration method of the touch signal at different temperatures includes: controlling the temperature of the touch key itself, using a touch signal detection device to detect the touch signal value under standard contact of the touch key, obtaining the touch signal calibration value of the touch key at each temperature sampling point, and the touch signal calibration value of each temperature sampling point.
3. A vehicle button control method that varies with temperature according to claim 1, characterized in that, Save and upload the basic signal value function Q(t) to the vehicle control system, which obtains the in-vehicle temperature data t in real time according to the in-vehicle temperature sensor n , and obtain a key fitness adjustment parameter Q(t n ) according to the basic signal value function. n Send the key fitness adjustment parameter Q(t ) to the corresponding key processor for performing the recognition and adjustment of the corresponding key touch signal.
4. A vehicle button control method that varies with temperature according to claim 3, characterized in that, The vehicle-mounted control system detects the true signal value f(t n of the key at different temperatures in real time, and performs difference calculation according to the key fitness adjustment parameter Q(t n ) sent by the vehicle-mounted control system in real time. When the difference is greater than 0, the corresponding key touch function is executed.
5. A vehicle key control system that changes with temperature, and the system executes a vehicle key control method that changes with temperature according to any one of the above claims 1-4.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement a vehicle key control method that changes with temperature according to any one of the above claims 1-4.
Citation Information
Patent Citations
Temperature compensation method and temperature compensation device for touch key
CN105373253A
Capacitive touch key reference value correction method, device and equipment and readable medium
CN117687535A