Pressure sensing methods, electronic devices, readable storage media and chips
By detecting touch pressure with a single sensing element, the vibration frequency and amplitude of the electric toothbrush can be adjusted in a two-dimensional, cyclical manner, which solves the problems of structural redundancy and high cost of electric toothbrushes and improves the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI AWINIC TECH CO LTD
- Filing Date
- 2023-05-30
- Publication Date
- 2026-05-26
AI Technical Summary
Existing electric toothbrushes use multiple buttons to adjust vibration modes, resulting in structural redundancy, high costs, and limited adjustable modes. This fails to meet the cleaning intensity needs of different users and negatively impacts the user experience.
By detecting touch pressure with a single sensing element, and using pressure-sensitive detection methods to control the vibration frequency and amplitude of electronic devices for two-dimensional cyclic gradual adjustment, the structure is simplified and the cost is reduced.
It allows users to have a wide range of choices regarding the vibration intensity of electric toothbrushes, improves the user experience, simplifies the structure, and reduces costs.
Smart Images

Figure CN116602780B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of pressure sensing technology, and more specifically to a pressure sensing method, an electronic device, a readable storage medium, and a chip. Background Technology
[0002] Currently, electric toothbrushes are widely used in users' lives. Electric toothbrushes are generally equipped with multiple buttons corresponding to different vibration modes to adjust the cleaning intensity. However, adjusting the vibration mode through multiple buttons results in structural redundancy, high cost, and a limited number of adjustable modes, which cannot meet the various cleaning intensity needs of different users when using electric toothbrushes, thus affecting the user experience. Summary of the Invention
[0003] In view of this, embodiments of this application provide a pressure-sensitive detection method, an electronic device, a readable storage medium, and a chip. By controlling the force and duration of pressing a single sensing element, the electronic device can be controlled to operate at the user's desired intensity, thus improving the user experience.
[0004] In a first aspect, embodiments of this application provide a pressure-sensitive detection method for an electronic device, the electronic device including a sensing element; the method includes: detecting that the pressure value corresponding to the pressure applied by a user to the sensing element is greater than a first threshold; controlling the operation of the electronic device based on a first parameter corresponding to a first operating feature and a third parameter corresponding to a second operating feature; detecting that the pressure value is greater than the first threshold for a first preset time; when the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the first threshold and less than or equal to a second threshold at the first moment, controlling the operation of the electronic device based on a second parameter corresponding to the first operating feature and a third parameter corresponding to the second operating feature; and when the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the second threshold at the first moment, controlling the operation of the electronic device based on a fourth parameter corresponding to the second operating feature and a first parameter corresponding to the first operating feature.
[0005] Based on the above solution, it is possible to drive electronic devices to operate based on touch pressure detected by a single sensing element (i.e., a single pressure-sensitive button). For example, it is possible to perform two-dimensional cyclical gradual adjustment of the first and second operating characteristics of the electronic device. Instead of separately setting operating modes and preset fixed operating parameters, the first and second operating characteristics can be automatically and cyclically adjusted according to the pressure applied and the duration of the press. This simplifies the structure, reduces costs, and improves the user experience, giving users a wider range of choices regarding the operating modes of the electronic device.
[0006] In this embodiment, the electronic device can be any device that requires pressure sensitivity detection to achieve mode switching, such as a mobile phone or a toothbrush.
[0007] In one possible implementation of the first aspect above, the first operating feature is a first vibration feature, and the second operating feature is a second vibration feature; controlling the operation of the electronic device based on a first parameter corresponding to the first vibration feature and a third parameter corresponding to the second vibration feature includes: controlling the motor vibration of the electronic device based on the first parameter corresponding to the first vibration feature and the third parameter corresponding to the second vibration feature; controlling the operation of the electronic device based on the second parameter corresponding to the first operating feature and the third parameter corresponding to the second operating feature includes: controlling the motor vibration of the electronic device based on the second parameter corresponding to the first vibration feature and the third parameter corresponding to the second vibration feature.
[0008] In some embodiments, the electronic device can be an electric toothbrush. Based on the above solution, this application enables the motor of the electronic device to be driven by touch pressure detected by a single sensing element (i.e., a single pressure-sensitive button), and allows for two-dimensional, cyclical, gradual adjustment of vibration characteristics such as vibration frequency and amplitude. Instead of separately setting vibration modes and preset fixed vibration parameters, the vibration frequency and amplitude can be automatically and cyclically adjusted according to the pressure applied and the duration of the pressure. This simplifies the structure, reduces costs, and improves the user experience, allowing users to choose a wider range of vibration intensity from the electronic device.
[0009] In one possible implementation of the first aspect above, the method further includes: the first vibration feature is vibration amplitude, and the second vibration feature is vibration frequency, or the first vibration feature is vibration frequency and the second vibration feature is vibration amplitude.
[0010] In one possible implementation of the first aspect above, the method further includes: a second parameter corresponding to the first vibration feature includes multiple first feature values, the multiple first feature values satisfying a first preset rule; controlling the motor vibration of the electronic device based on the second parameter corresponding to the first vibration feature and a third parameter corresponding to the second vibration feature, including: controlling the periodic vibration of the motor of the electronic device based on the multiple first feature values and the third parameter corresponding to the second vibration feature; during the process of controlling the periodic vibration of the motor of the electronic device based on the multiple first feature values and the third parameter corresponding to the second vibration feature, if at a second moment the pressure value corresponding to the pressure applied by the user to the sensing element is less than a first threshold, vibration is performed based on the first feature value and the third parameter corresponding to the second vibration feature at the second moment.
[0011] In one possible implementation of the first aspect above, the method further includes: controlling the motor vibration of the electronic device based on a second parameter corresponding to the first vibration characteristic and a third parameter corresponding to the second vibration characteristic, including:
[0012] In the process of controlling the periodic vibration of the motor of the electronic device based on the third parameter corresponding to multiple first characteristic values and second vibration characteristics, when the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the second threshold at the third moment, the vibration of the motor of the electronic device is controlled based on the first characteristic value corresponding to the third moment and the fourth parameter corresponding to the second vibration characteristics.
[0013] In one possible implementation of the first aspect above, the method further includes: controlling the motor vibration of the electronic device based on the first characteristic value corresponding to the third time and the fourth parameter corresponding to the second vibration characteristic, including: the fourth parameter corresponding to the second vibration characteristic includes a plurality of second characteristic values, and the plurality of second characteristic values included in the fourth parameter corresponding to the second vibration characteristic satisfy a second preset law; controlling the motor vibration of the electronic device based on the first characteristic value corresponding to the third time and the fourth parameter corresponding to the second vibration characteristic includes: controlling the periodic vibration of the motor of the electronic device based on the first characteristic value corresponding to the third time and the plurality of second characteristic values.
[0014] In one possible implementation of the first aspect above, the method further includes: the fourth parameter corresponding to the second vibration feature includes multiple second feature values, the multiple second feature values satisfy a second preset law, and the motor vibration of the electronic device is controlled based on the fourth parameter corresponding to the second vibration feature and the first parameter corresponding to the first vibration feature, including: controlling the periodic vibration of the motor of the electronic device based on the multiple second feature values and the first parameter corresponding to the first vibration feature; during the process of controlling the periodic vibration of the motor of the electronic device based on the multiple second feature values and the first parameter corresponding to the first vibration feature, at the fourth moment, it is detected that the pressure value corresponding to the pressure applied by the user to the sensing element is less than a first threshold, and vibration is performed based on the second feature value corresponding to the fourth moment and the first parameter corresponding to the first vibration feature.
[0015] In one possible implementation of the first aspect above, the method further includes: controlling the motor vibration of the electronic device based on the fourth parameter corresponding to the second vibration feature and the first parameter corresponding to the first vibration feature, including: during the process of controlling the periodic vibration of the motor of the electronic device based on multiple second feature values and the first parameter corresponding to the first vibration feature, when the pressure value corresponding to the pressure applied by the user to the sensing element is detected to be greater than the first threshold and less than or equal to the second threshold at the fifth moment, the vibration is based on the second feature value corresponding to the fifth moment and the second parameter corresponding to the first vibration feature parameter.
[0016] Secondly, embodiments of this application provide an electronic device, including a sensing element and a processor. The sensing element is used to detect that the pressure value corresponding to the pressure applied by the user to the sensing element is greater than a first threshold. The processor is used to control the operation of the electronic device based on a first parameter corresponding to a first operating feature and a third parameter corresponding to a second operating feature when it detects that the pressure value is greater than the first threshold for a first preset time. The processor is used to control the operation of the electronic device based on a second parameter corresponding to the first operating feature and a third parameter corresponding to the second operating feature when it detects that the pressure value corresponding to the pressure applied by the user to the sensing element for a first preset time is greater than the first threshold, and the pressure value is greater than the first threshold and less than or equal to a second threshold. The processor is used to control the operation of the electronic device based on a fourth parameter corresponding to the second operating feature and a first parameter corresponding to the first operating feature when it detects that the pressure value corresponding to the pressure applied by the user to the sensing element for a first time is greater than the second threshold.
[0017] In one possible implementation of the second aspect above, the first operating feature is a first vibration feature, and the second operating feature is a second vibration feature; controlling the operation of the electronic device based on a first parameter corresponding to the first vibration feature and a third parameter corresponding to the second vibration feature includes: controlling the motor vibration of the electronic device based on the first parameter corresponding to the first vibration feature and the third parameter corresponding to the second vibration feature; controlling the operation of the electronic device based on the second parameter corresponding to the first operating feature and the third parameter corresponding to the second operating feature includes: controlling the motor vibration of the electronic device based on the second parameter corresponding to the first vibration feature and the third parameter corresponding to the second vibration feature.
[0018] In one possible implementation of the second aspect above, the first vibration characteristic is the vibration amplitude and the second vibration characteristic is the vibration frequency, or the first vibration characteristic is the vibration frequency and the second vibration characteristic is the vibration amplitude.
[0019] Thirdly, embodiments of this application provide a readable storage medium on which a stored program or instructions are stored. When the stored program or instructions are run, any one of the pressure-sensitive detection methods described in the first aspect and its possible implementations is implemented.
[0020] Fourthly, embodiments of this application provide a chip for performing any of the pressure-sensitive detection methods described in the first aspect and its possible implementations. Attached Figure Description
[0021] Figure 1A According to some embodiments provided in this application, an application scenario diagram of an electric toothbrush is shown;
[0022] Figure 1B According to some embodiments provided in this application, another application scenario diagram of an electric toothbrush is shown;
[0023] Figure 2 According to some embodiments provided in this application, a structural schematic diagram of an electric toothbrush is shown;
[0024] Figure 3 According to some embodiments provided in this application, a schematic flowchart of a pressure sensing method is shown;
[0025] Figure 4 According to some embodiments provided in this application, a detailed flowchart of a pressure sensing detection method is shown;
[0026] Figure 5 According to some embodiments provided in this application, a detailed flowchart of another pressure sensing method is shown. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions provided by the embodiments of this application will be described below in conjunction with the accompanying drawings and specific implementation methods.
[0028] It is understood that the pressure sensing method provided in this application can be used in electric toothbrushes, or in other electronic devices that support pressure sensing technology, such as game controllers, beauty devices, massagers, etc., and is not limited thereto.
[0029] As mentioned earlier, adjusting the vibration mode via multiple buttons results in structural redundancy, high cost, and a limited range of adjustable vibration parameters, failing to meet the different cleaning intensity needs of different users when using an electric toothbrush, thus affecting the user experience.
[0030] To address the above problems, in some embodiments, such as Figure 1A As shown, a frequency adjustment button 21 and a vibration amplitude adjustment button 22 can be provided on the surface of the electric toothbrush 20 to adjust the vibration frequency. The user can adjust the vibration frequency of the electric toothbrush 20 by pressing button 21. Button 21 can adjust the vibration frequency to three progressively higher vibration frequency levels: F1, F2, and F3. Each press of button 21 switches the vibration frequency. The user can adjust the vibration amplitude of the electric toothbrush 20 by pressing button 22. Button 22 can adjust the vibration amplitude to three progressively higher vibration amplitude levels: A1, A2, and A3. Each press of button 22 switches the vibration amplitude.
[0031] However, the aforementioned electronic devices still require two physical buttons, resulting in relatively high hardware costs. Furthermore, each button only corresponds to adjusting one vibration characteristic, and generally only three fixed levels can be adjusted, which still cannot meet the usage needs of different users.
[0032] In view of this, embodiments of this application provide a pressure sensing method for an electronic device. The electronic device detects that the pressure value corresponding to the pressure applied by the user to the sensing element is greater than a first threshold; controls the operation of the electronic device based on a first parameter corresponding to a first operating feature and a third parameter corresponding to a second operating feature; the electronic device detects that the pressure value is greater than the first threshold for a first preset time; when the electronic device detects that the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the first threshold and less than or equal to a second threshold at the first moment, it controls the operation of the electronic device based on the second parameter corresponding to the first operating feature and the third parameter corresponding to the second operating feature; when the electronic device detects that the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the second threshold at the first moment, it controls the operation of the electronic device based on the fourth parameter corresponding to the second operating feature and the first parameter corresponding to the first operating feature.
[0033] Based on the above method, it is possible to drive the electronic device to operate based on the recognized touch pressure, and to perform two-dimensional cyclical gradual adjustment based on the first and second operating characteristics of the electronic device. This eliminates the need to separately set the operating mode and preset fixed operating parameters of the electronic device; instead, the first and second operating characteristics can be automatically and cyclically adjusted based on the pressure value, simplifying the structure of the electronic device while improving the user experience.
[0034] In this embodiment, the first operating characteristic of the electronic device can be a first vibration characteristic, and the second operating characteristic of the electronic device can be a second vibration characteristic. The first and second parameters of the first operating characteristic of the electronic device can be the third and fourth parameters of the second vibration characteristic; the third and fourth parameters of the second operating characteristic of the electronic device can be the first and second parameters of the second vibration characteristic. In this embodiment, the electronic device can be an electric toothbrush, the first vibration characteristic of the electronic device can be vibration amplitude, and the second vibration characteristic of the electronic device can be vibration frequency. The first and second parameters of the first vibration characteristic of the electronic device can be the first and second amplitude parameters of the vibration amplitude; the third and fourth parameters of the second vibration characteristic of the electronic device can be the third and fourth frequency parameters of the vibration frequency. It is understood that in other embodiments, vibration amplitude can be used as the first vibration characteristic, and vibration frequency can be used as the second vibration characteristic, which is not limited here. In this embodiment, the electronic device can include a sensing element and a motor. When the electronic device detects that the user has turned on the device, for example, when it detects that the pressure value corresponding to the pressure applied by the user to the sensing element is greater than a first threshold, it can control the vibration of the motor of the electronic device based on the first frequency parameter and the first amplitude parameter. When the electronic device detects that the user has pressed and held the sensing element, that is, there is an intention to adjust the vibration frequency, amplitude and other parameters, for example, when it detects that the pressure value is greater than the first threshold for a first preset time, it determines the magnitude of the pressure value corresponding to the pressure applied by the user to the sensing element at the current time (that is, the moment corresponding to the first preset time), and adjusts the vibration frequency and vibration amplitude of the motor based on the magnitude of the pressure value.
[0035] For example, when the pressure value is determined to be greater than the first threshold and less than or equal to the second threshold, the amplitude is adjusted, that is, the motor is cyclically controlled to vibrate based on the preset first amplitude parameter and the third frequency parameter. When the user releases their hand, that is, when the user is satisfied with the current amplitude, the motor vibration is controlled based on the amplitude value and frequency value corresponding to the moment of release.
[0036] Once the pressure value is determined to be greater than the second threshold, the frequency is adjusted. That is, the motor vibration is cyclically controlled based on the preset fourth frequency parameter and the first amplitude parameter. When the user releases their hand, that is, when the user is satisfied with the current frequency and amplitude, the motor vibration is controlled based on the frequency and amplitude values corresponding to the moment the hand is released.
[0037] It is understood that the above is merely a schematic illustration based on the adjustment of vibration frequency and vibration amplitude in the vibration characteristics. In some embodiments, frequency adjustment may be performed when the pressure value is determined to be greater than a first threshold and less than or equal to a second threshold, and amplitude adjustment may be performed when the pressure value is determined to be greater than the second threshold. In some embodiments, the above-mentioned frequency and amplitude vibration characteristics may also be replaced with other vibration characteristics.
[0038] The above method enables two-dimensional cyclic gradual adjustment of vibration parameters using a single sensing element, simplifying the structure and reducing costs. In addition, users can control the electric toothbrush to vibrate at various frequencies and amplitudes as desired by controlling the pressure and duration of pressing the single sensing element, thus improving the user experience.
[0039] To facilitate the description of the pressure detection method provided in this application's embodiments, the following explanation uses an electric toothbrush 20 as an example. For example, Figure 1B The illustration shows an application scenario of an electric toothbrush 20. (Reference) Figure 1B The electric toothbrush 20 has only one pressure-sensitive button 23 (i.e., a sensing element) on its outer shell. After the electric toothbrush 20 is turned on, when the user presses the pressure-sensitive button 23, the electric toothbrush first vibrates at an initial vibration frequency F0 and vibration amplitude A0. The pressure sensor continuously detects the pressure signal. When it detects that the user has pressed the pressure-sensitive button for a long time, for example, for 2 seconds, if it is determined that the pressure value corresponding to the pressure applied by the user to the pressure-sensitive button is greater than a first threshold and less than or equal to a second threshold, the vibration motor (i.e., motor) of the electric toothbrush is controlled to vibrate based on a set of amplitude parameters A0 to An and frequency parameter F0. If it is determined that the pressure value corresponding to the pressure applied by the user to the pressure-sensitive button is greater than the second threshold, the vibration motor of the electric toothbrush is controlled to vibrate based on a set of frequency parameters F0 to Fn and amplitude parameter A0. When it detects that the user has removed their hand, the frequency and amplitude parameters at the time of removal are used as the frequency and amplitude parameters selected by the user, and the vibration motor is controlled to vibrate based on the frequency and amplitude parameters at the time of removal.
[0040] To facilitate understanding of the pressure sensing method provided in this application's embodiments, the following is combined with... Figure 2 The diagram of the electric toothbrush control system shown is as follows: Figure 3 The flowchart of the electric toothbrush control system shown here details the technical solution of this application.
[0041] first, Figure 2 A schematic diagram of an electric toothbrush control system device is shown according to some embodiments of this application. (Reference) Figure 2 The electric toothbrush 20 mainly includes a vibration motor 201, a pressure sensor 202, a microcontroller 203, and a motor driver chip IC 204. Among them:
[0042] The pressure sensor 202 is responsible for recognizing the touch pressure generated by the user pressing the pressure-sensitive button and generating a pressure signal.
[0043] The microcontroller 203 internally includes an analog-to-digital converter (ADC) 2031 and an inter-integrated circuit (I2C) 2032. The ADC 2031 is responsible for acquiring pressure signals at sampling periods. The acquisition method can be: acquiring pressure signals multiple times and averaging the acquired pressure signals to obtain the effective pressure value. Averaging means that the ADC takes the average value of the pressure values corresponding to the multiple acquired pressure signals, and extreme value removal means filtering out extreme values (maximum or minimum values caused by accidental touch) from the pressure values corresponding to the multiple acquired pressure signals.
[0044] The microcontroller 203 can be used to execute the pressure detection method of this application. For example, when it is determined that the pressure value processed by the ADC 2031 is greater than the first threshold and less than or equal to the second threshold, or the pressure value is greater than the second threshold, it can send a command to control the change of vibration characteristic parameters to the motor driver chip so as to drive the vibration motor to vibrate with vibration parameters of different vibration ranges under different pressure values.
[0045] The motor driver chip (integrated circuit, IC) 204 receives the pressure signal and drives the vibration motor 201 to vibrate through the pressure signal; the vibration motor 201 responds to the drive of the motor driver chip IC 204 and vibrates in the default vibration mode.
[0046] It is understandable that the ADC's processing of pressure signals may include acquiring pressure signals multiple times, performing mean filtering on the acquired pressure signals to obtain an effective pressure value, and when the difference between the current effective pressure value and the previous effective pressure value and the slope of the change of the current effective pressure value are greater than a set trigger threshold, the ADC outputs the pressure value to the microcontroller.
[0047] To facilitate understanding of the pressure sensing method provided in the embodiments of this application, please refer to... Figure 3 The flowchart illustrating the pressure sensing method of this application is shown below. This method can be executed by an electronic device, and the specific process is as follows:
[0048] S301: The pressure value corresponding to the pressure applied by the user to the sensing element is greater than the first threshold.
[0049] For example, the microcontroller inside an electronic device can acquire the pressure signal received by the sensing element of the electronic device, and then perform averaging on the acquired pressure signal to obtain the pressure value corresponding to the pressure signal.
[0050] S302: Control the operation of electronic devices based on the first parameter corresponding to the first operating feature and the third parameter corresponding to the second operating feature.
[0051] For example, if the collected pressure value is detected to be greater than the first threshold, the operation of the electronic device is controlled based on the first parameter corresponding to the first operating feature of the electronic device and the third parameter corresponding to the second operating feature.
[0052] In some embodiments, the first operating feature may be the first vibration feature mentioned in this application, namely vibration amplitude; the second operating feature may be the second vibration feature mentioned in this application, namely vibration frequency. When the pressure value corresponding to the pressure applied by the user to the sensing element is detected to be greater than the first threshold, the motor vibration of the electronic device may be controlled based on the third frequency parameter and the first amplitude parameter.
[0053] For example, when the electronic device detects that the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the first threshold, the drive motor of the electronic device drives the electronic device to vibrate with the initially set first amplitude parameter A0 and third frequency parameter F0.
[0054] It is understood that in some other embodiments, when the first vibration feature can be the vibration frequency and the second vibration feature can be the vibration amplitude, when the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the first threshold, the electronic device can control the operation of the electronic device based on the first frequency parameter and the third amplitude parameter.
[0055] For example, when the electronic device detects that the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the first threshold, the drive motor of the electronic device drives the electronic device to vibrate with the initially set first frequency parameter F0 and third amplitude parameter A0.
[0056] S303: If it is detected that the pressure value is greater than the first threshold for a first preset time and the pressure value is less than or equal to the second threshold at the first moment, the electronic device is controlled to operate based on the second parameter corresponding to the first operating feature and the third parameter corresponding to the second operating feature.
[0057] For example, at a first moment, the microcontroller inside the electronic device detects that the pressure value corresponding to the pressure signal received by the sensing element of the electronic device is greater than a first threshold for a first preset time, and detects that the pressure value at the first moment is greater than the first threshold and less than or equal to a second threshold, then controls the operation of the electronic device based on the second parameter corresponding to the first operating feature of the electronic device and the third parameter corresponding to the second operating feature of the electronic device.
[0058] For example, the first operating feature can be the first vibration feature mentioned in this application, and the second operating feature can be the second vibration feature mentioned in this application. When the first vibration feature can be the vibration amplitude and the second vibration feature can be the vibration frequency, at the first moment, when the time when the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the first threshold reaches the first preset time, and when the pressure value at the first moment is greater than the first threshold and less than or equal to the second threshold, the drive motor of the electronic device drives the electronic device to vibrate with the initially set second amplitude parameter A0 to An and third frequency parameter F0.
[0059] It is understood that in some other embodiments, the first vibration characteristic may be the vibration frequency and the second vibration characteristic may be the vibration amplitude, which is not limited here.
[0060] S304: If it is detected that the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the second threshold at the first moment, the electronic device is controlled to operate based on the fourth parameter corresponding to the second operating feature and the first parameter corresponding to the first operating feature.
[0061] For example, at a first moment, if the microcontroller inside the electronic device detects that the pressure value corresponding to the pressure signal received by the sensing element of the electronic device is greater than the second threshold, then the electronic device is controlled to operate based on the fourth parameter corresponding to the second operating feature of the electronic device and the first parameter corresponding to the first operating feature.
[0062] For example, the first operating feature can be the first vibration feature mentioned in this application, and the second operating feature can be the second frequency feature mentioned in this application. When the first vibration feature is the vibration amplitude and the second vibration feature is the vibration frequency, at the first moment, when the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the second threshold, the drive motor of the electronic device drives the electronic device to vibrate with the initially set fourth frequency parameters F0 to Fn and the first vibration parameter A0.
[0063] It is understood that in some other embodiments, the first vibration characteristic may be the vibration frequency and the second vibration characteristic may be the vibration amplitude, which is not limited here.
[0064] further, Figure 4 According to an embodiment of this application, a detailed flowchart of a pressure sensing method is provided. This method can be executed by the microcontroller of an electric toothbrush, and the specific process is as follows:
[0065] S401: Acquires pressure signals from pressure sensors and processes the pressure signals to obtain the corresponding pressure values.
[0066] For example, the ADC 203 inside the microcontroller 203 acquires the pressure signal from the pressure sensor 202, performs averaging on the acquired pressure signal, and thus obtains the pressure value corresponding to the pressure signal.
[0067] S402: Determine whether the pressure value is greater than the first pressing threshold.
[0068] For example, based on the pressure value corresponding to the acquired pressure signal, a judgment is made as to whether the pressure value is greater than the first pressing threshold. If the pressure value is greater than the first pressing threshold, proceed to step S403.
[0069] S403: Drives the vibration motor to vibrate at the initially set frequency F0 and amplitude A0.
[0070] For example, after the microcontroller 203 determines that the pressure value is greater than the first pressing threshold, it outputs the pressure signal to the motor driver chip IC 204 through the communication interface I2C 2032. The motor driver chip IC 204 receives the pressure signal and drives the vibration motor 201 to vibrate through the pressure signal. Then, the vibration motor 201 responds to the drive of the motor driver chip IC 204 and starts to vibrate with the initially set vibration frequency F0 and vibration amplitude A0.
[0071] In this embodiment, when the microcontroller detects that the pressure value corresponding to the pressure applied by the user to the pressure sensor (sensing element) is greater than a first threshold, the microcontroller controls the vibration motor to vibrate based on the first parameter A0 corresponding to the first vibration characteristic (vibration amplitude) and the third parameter F0 corresponding to the second vibration characteristic (vibration frequency).
[0072] S404: During the vibration process with frequency F0 and amplitude A0, the pressure signal is collected and processed to obtain the corresponding pressure value.
[0073] For example, during the vibration of the vibration motor 201 at frequency F0 and amplitude A0, the microcontroller 203 detects that the pressure sensor 202 is pressed for a long time, collects the pressure signal of the pressure sensor 202, and processes the pressure signal to obtain the pressure value at the first moment.
[0074] S405: If the pressure value at the first moment is greater than the first threshold for a first preset time, determine whether the pressure value at the first moment is less than or equal to the second pressing threshold.
[0075] For example, the microcontroller 203 detects that the pressure value at the first moment is greater than the first threshold for a first preset time, and determines whether the pressure value at the first moment is less than or equal to the second pressing threshold. If the pressure value at the first moment is less than the second pressing threshold, that is, greater than the first pressing threshold and less than or equal to the second pressing threshold, proceed to step S406; if the pressure value at the first moment is greater than the second pressing threshold, proceed to step S407.
[0076] S406: Controls the vibration motor to circulate at a vibration frequency F0 and a vibration amplitude A0 to An.
[0077] For example, the microcontroller 203 determines that the pressure value at the first moment is greater than the first pressing threshold and less than or equal to the second pressing threshold. At this time, the microcontroller 203 controls the vibration motor 201 to start cyclical gradual vibration at A0 to An. At this time, the vibration frequency of the vibration motor 201 is F0, that is, at this time the vibration motor 201 maintains vibration at F0 and A0 to An.
[0078] In this embodiment, at a first moment, when the microcontroller detects that the pressure value corresponding to the pressure applied by the user to the pressure sensor (sensing element) is greater than a first threshold and less than or equal to a second pressing threshold, the microcontroller controls the vibration motor to vibrate based on the second parameter A0 to An corresponding to the first vibration characteristic (vibration amplitude) and the third parameter F0 corresponding to the second vibration characteristic (vibration frequency).
[0079] The second parameter corresponding to the first vibration characteristic (vibration amplitude) includes multiple first characteristic values A0 to An. The multiple first characteristic values A0 to An satisfy a first preset law. The microcontroller controls the vibration motor to vibrate periodically based on the multiple first characteristic values A0 to An and the first parameter F0 corresponding to the second vibration characteristic.
[0080] S407: Controls the vibration motor to circulate with vibration amplitude A0 and vibration frequency F0~Fn.
[0081] For example, the microcontroller 203 determines that the pressure value is greater than the second pressing threshold at the first moment. At this time, the microcontroller 203 controls the vibration motor 201 to start cyclical gradual vibration with F0 to Fn. At this time, the vibration amplitude of the vibration motor 201 is A0, that is, at this time the vibration motor 201 maintains vibration with A0 and F0 to Fn.
[0082] In this embodiment, at a first moment, when the microcontroller detects that the pressure value corresponding to the pressure applied by the user to the pressure sensor (sensing element) is greater than the second threshold, the microcontroller controls the vibration motor to vibrate based on the fourth parameter F0~Fn corresponding to the second operating characteristic (vibration frequency) and the first parameter A0 corresponding to the first operating characteristic (vibration amplitude).
[0083] Among them, the fourth parameter corresponding to the second vibration characteristic (vibration frequency) includes multiple second characteristic values F0 to Fn. The multiple second characteristic values F0 to Fn satisfy the second preset law. The microcontroller controls the vibration motor to control the periodic vibration of the vibration motor based on the multiple second characteristic values F0 to Fn and the first parameter A0 corresponding to the first vibration characteristic.
[0084] It is understandable that step S407 can be executed before step S406, and this is not a limitation here.
[0085] S408: During the cyclic vibration with frequency F0 and amplitude A0~An, pressure signals are collected and processed to obtain the corresponding pressure values.
[0086] For example, the microcontroller 203 detects a change in the pressure signal of the pressure sensor 202 during the cyclic vibration of the vibration motor at vibration frequency F0 and vibration amplitude A0~An, detects the pressure signal of the pressure sensor 202, and processes the pressure signal to obtain the pressure value.
[0087] S409: Determine that the pressure value is less than the first pressing threshold at the second moment, lock the current vibration amplitude Ax, and control the vibration motor to maintain vibration with F0 and Ax.
[0088] For example, after the microcontroller 203 determines that the pressure value at the second moment is less than the first pressing threshold, it determines that the pressure sensor 202 does not generate a pressure signal at this time, locks the vibration amplitude Ax and vibration frequency F0 at this time, and controls the vibration motor 201 to maintain vibration at the currently locked vibration frequency F0 and vibration amplitude Ax.
[0089] In this embodiment of the application, during the process of the microcontroller controlling the vibration motor to perform periodic vibration based on the second parameter A0~An corresponding to the first vibration feature (vibration amplitude) and the third parameter F0 corresponding to the second vibration feature (vibration frequency), at the second moment, the microcontroller detects that the pressure value corresponding to the pressure applied by the user to the pressure sensor (sensing element) is less than the first threshold, and the microcontroller controls the vibration motor to vibrate based on the first feature value Ax corresponding to the second moment and the third parameter F0 corresponding to the second vibration feature.
[0090] S410: When the pressure value is greater than the second pressing threshold and the duration is greater than the second preset time at the third moment, lock the current vibration amplitude Ax and control the vibration motor to cycle at the vibration frequency F0~Fn.
[0091] For example, the microcontroller 203 determines that the pressure value is greater than the first pressing threshold and the duration of the pressure is greater than the second preset time, locks the vibration amplitude Ax at this time, and controls the vibration motor 201 to cycle and vibrate at the currently locked vibration amplitude Ax and frequency F0 to Fn.
[0092] In this embodiment of the application, during the process of the microcontroller controlling the vibration motor to periodically vibrate based on multiple first feature values (A0~An) and the third parameter (F0) corresponding to the second vibration feature, at the third moment, the microcontroller detects that the pressure value corresponding to the pressure applied by the user to the pressure sensor (sensing element) is greater than the second threshold, and the time for which it is greater than the second threshold reaches the second preset time. The microcontroller then controls the vibration motor to vibrate based on the first feature value (Ax) corresponding to the third moment and the fourth parameter (F0~Fn) corresponding to the second vibration feature.
[0093] The fourth parameter (F0~Fn) corresponding to the second vibration characteristic includes multiple second characteristic values Fx, and these multiple second characteristic values satisfy a second preset law. The microcontroller controls the vibration motor to vibrate periodically based on the first characteristic value (Ax) corresponding to the third time and the multiple second characteristic values (F0~Fn).
[0094] It is understandable that step S410 can be executed before step S409, and this is not a limitation here.
[0095] S411: During the cyclic vibration with vibration amplitude A0 and vibration frequency F0~Fn, the pressure signal is collected and processed to obtain the corresponding pressure value.
[0096] For example, during the cyclic vibration of the vibration motor with vibration amplitude A0 to An and vibration frequency F0 to Fn, the microcontroller 203 detects a change in the pressure signal of the pressure sensor 202, detects the pressure signal of the pressure sensor 202, and processes the pressure signal to obtain the pressure value.
[0097] S412: At the fourth moment, if the pressure value is determined to be less than the first pressing threshold, lock the current vibration frequency Fx and control the vibration motor to maintain vibration with A0 and Fx.
[0098] For example, the microcontroller 203 determines that the pressure value at the fourth moment is greater than the first pressing threshold and less than the first pressing threshold, determines that the pressure sensor 202 does not generate a pressure signal at this time, locks the vibration frequency Fx and vibration amplitude A0 at this time, and controls the vibration motor 201 to maintain vibration with the currently locked vibration amplitude A0 and vibration frequency Fx.
[0099] In this embodiment of the application, if during the process of the microcontroller controlling the vibration motor to periodically vibrate based on multiple second characteristic values (F0~Fn) of the second vibration feature and the first parameter (A0) corresponding to the first vibration feature, at the fourth moment, the microcontroller detects that the pressure value corresponding to the pressure applied by the user to the pressure sensor (sensing element) is less than the first pressing threshold, the microcontroller controls the vibration motor to vibrate based on the second characteristic value (Fx) corresponding to the second vibration feature at the fourth moment and the first parameter (A0) corresponding to the first vibration feature.
[0100] S413: When the pressure value is greater than the first pressing threshold and less than or equal to the second pressing threshold at the fifth moment and the duration of the pressure value is greater than the second preset time, the current vibration frequency Fx is locked and the vibration motor is controlled to circulate with vibration amplitude A0 to An.
[0101] For example, the microcontroller 203 determines that the pressure value is greater than the first pressing threshold and less than or equal to the second pressing threshold and the duration of the pressure is greater than the second preset time, locks the current vibration frequency Fx, and controls the vibration motor to cycle with vibration amplitude A0 to An.
[0102] In this embodiment of the application, if during the process of the microcontroller controlling the vibration motor to periodically vibrate based on multiple second feature values (F0~Fn) corresponding to the second vibration feature and the first parameter (A0) corresponding to the first vibration feature, at the fifth moment, the microcontroller detects that the time when the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the first threshold and less than or equal to the second threshold reaches the second preset time, the microcontroller controls the vibration motor to vibrate based on the second feature value (Fx) corresponding to the fifth moment and the second parameter (Ax~An) corresponding to the first vibration feature parameter.
[0103] It is understandable that step S413 can be executed before step S412, and this is not a limitation here.
[0104] In other embodiments, such as Figure 5 According to an embodiment of this application, a flowchart of another pressure sensing method is provided. This method can be executed by the microcontroller of an electric toothbrush, and the specific process is as follows:
[0105] and Figure 4 The difference is that, within the first preset time, if the pressure value is greater than the first pressing threshold and less than or equal to the second pressing threshold, the vibration frequency F0 to Fn is cyclically adjusted; if the current pressure value is greater than the second pressing threshold, the vibration amplitude A0 to An is cyclically adjusted.
[0106] S501: Acquires pressure signals from pressure sensors and processes the pressure signals to obtain the corresponding pressure values.
[0107] For example, refer to step S401 above, which will not be repeated here.
[0108] S502: Determine whether the pressure value is greater than the first pressing threshold.
[0109] For example, based on the pressure value corresponding to the acquired pressure signal, a judgment is made as to whether the pressure value is greater than the first pressing threshold. If so, proceed to step S503.
[0110] S503: Drives the vibration motor to vibrate at the initially set frequency F0 and amplitude A0.
[0111] For example, refer to step S403 above, which will not be repeated here.
[0112] S504: During the vibration process with frequency F0 and amplitude A0, the pressure signal is collected and processed to obtain the corresponding pressure value.
[0113] For example, refer to step S404 above, which will not be repeated here.
[0114] S505: If the pressure value at the first moment is greater than the first threshold for a first preset time, determine whether the pressure value at the first moment is less than or equal to the second pressing threshold.
[0115] For example, refer to step S405 above, which will not be repeated here.
[0116] S506: Controls the vibration motor to circulate with vibration amplitude A0 and vibration frequency F0~Fn.
[0117] For example, the microcontroller 203 determines that the pressure value at the first moment is greater than the first pressing threshold and less than or equal to the second pressing threshold. At this time, the microcontroller 203 controls the vibration motor 201 to start cyclical gradual vibration at F0 to Fn. At this time, the vibration amplitude of the vibration motor 201 is A0, that is, at this time the vibration motor 201 maintains vibration at A0 and F0 to Fn.
[0118] S507: Controls the vibration motor to circulate at a vibration frequency F0 and a vibration amplitude A0 to An.
[0119] For example, the microcontroller 203 determines that the pressure value at the first moment is greater than the second pressing threshold. At this time, the microcontroller 203 controls the vibration motor 201 to start cyclical gradual vibration at A0 to An. At this time, the vibration frequency of the vibration motor 201 is F0, that is, at this time the vibration motor 201 maintains vibration at F0 and A0 to An.
[0120] S508: During the cyclic vibration process with vibration amplitude A0 and vibration frequency F0~Fn, pressure signals are collected and processed to obtain the corresponding pressure values.
[0121] For example, the microcontroller 203 detects a change in the pressure signal of the pressure sensor 202 during the cyclic vibration of the vibration motor with vibration amplitude A0 and vibration frequency F0~Fn, detects the pressure signal of the pressure sensor 202, and processes the pressure signal to obtain the pressure value.
[0122] S509: At the second moment, if the pressure value is determined to be less than the first pressing threshold, lock the current vibration frequency Fx and control the vibration motor to maintain vibration with A0 and Fx.
[0123] For example, after the microcontroller 203 determines that the pressure value at the second moment is less than the first pressing threshold, it determines that the pressure sensor 202 does not generate a pressure signal at this time, locks the vibration frequency Fx at this time, and controls the vibration motor 201 to maintain vibration with the currently locked vibration amplitude A0 and vibration frequency Fx.
[0124] S510: When the pressure value is greater than the second pressing threshold and the duration is greater than the second preset time at the third moment, lock the current vibration frequency Fx and control the vibration motor to cycle with vibration amplitude A0 to An.
[0125] For example, after the microcontroller 203 determines that the pressure value is greater than the first pressing threshold and the duration is greater than the second preset time, it locks the vibration frequency Fx at this time and controls the vibration motor 201 to cycle with the currently locked vibration frequency Fx and vibration amplitude A0 to An.
[0126] It is understandable that step S510 can be executed before step S509, and this is not a limitation here.
[0127] S511: During the cyclic vibration process with vibration frequency F0 and vibration amplitude A0~An, pressure signals are collected and processed to obtain the corresponding pressure values.
[0128] For example, during the cyclic vibration of the vibration motor at a vibration frequency F0 and vibration amplitude A0~An, the microcontroller 203 detects a change in the pressure signal of the pressure sensor 202, detects the pressure signal of the pressure sensor 202, and processes the pressure signal to obtain the pressure value.
[0129] S512: At the fourth moment, if the pressure value is determined to be less than the first pressing threshold, lock the current vibration amplitude Ax and control the vibration motor to maintain vibration with F0 and Ax.
[0130] For example, after the microcontroller 203 determines that the pressure value at the fifth moment is less than the first pressing threshold, it determines that the pressure sensor 202 does not generate a pressure signal at this time, locks the vibration amplitude Ax and vibration frequency F0 at this time, and controls the vibration motor 201 to maintain vibration with the currently locked vibration amplitude Ax and vibration frequency F0.
[0131] S513: When the pressure value is greater than the first pressing threshold and less than or equal to the second pressing threshold at the fifth moment and the duration of the pressure value is greater than the second preset time, the current vibration amplitude Ax is locked and the vibration motor is controlled to circulate at the vibration frequency F0 to Fn.
[0132] For example, the microcontroller 203 determines that the pressure value is greater than the first pressing threshold and less than or equal to the second pressing threshold, locks the current vibration amplitude Ax, and controls the vibration motor to circulate at vibration frequencies F0 to Fn.
[0133] It is understandable that step S513 can be executed before step S512, and this is not a limitation here.
[0134] The technical solution of this application embodiment enables the automatic identification of touch pressure by a single pressure sensor and microcontroller to drive a vibration motor, and allows for two-dimensional cyclical and gradual adjustment of the vibration frequency and amplitude of the electronic device. Instead of separately setting vibration modes and preset fixed vibration parameters, the vibration frequency and amplitude can be automatically and cyclically adjusted according to the pressure applied and the duration of the press. This simplifies the structure, reduces costs, and improves the user experience, providing users with a wider range of vibration intensity options for the electronic device.
[0135] This application provides an electronic device, including a sensing element and a processor. Wherein:
[0136] A sensing element is used to detect that the pressure value corresponding to the pressure applied by the user to the sensing element is greater than a first threshold.
[0137] The processor is configured to control the operation of the electronic device based on the first parameter corresponding to the first operating feature and the first parameter corresponding to the second operating feature when the time when the pressure value is greater than the first threshold reaches the first preset time.
[0138] The processor is configured to control the operation of the electronic device based on a second parameter corresponding to a first operating feature and a third parameter corresponding to a second operating feature when a first preset time is reached after detecting that the pressure value corresponding to the pressure applied by the user to the sensing element at a first moment is greater than a first threshold, and the pressure value is greater than the first threshold and less than or equal to a second threshold.
[0139] The processor is used to control the operation of the electronic device based on the fourth parameter corresponding to the second operating feature and the first parameter corresponding to the first operating feature when it detects that the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the second threshold at the first moment.
[0140] This application provides an electronic device in which:
[0141] The first operating characteristic is the first vibration characteristic, and the second operating characteristic is the second vibration characteristic;
[0142] Controlling the operation of electronic equipment based on a first parameter corresponding to a first vibration characteristic and a third parameter corresponding to a second vibration characteristic; including: controlling the motor vibration of the electronic equipment based on the first parameter corresponding to a first vibration characteristic and the third parameter corresponding to a second vibration characteristic;
[0143] Controlling the operation of electronic equipment based on a second parameter corresponding to a first operating characteristic and a third parameter corresponding to a second operating characteristic; including: controlling the motor vibration of electronic equipment based on a second parameter corresponding to a first vibration characteristic and a third parameter corresponding to a second vibration characteristic.
[0144] This application provides an electronic device in which: the first vibration feature is vibration amplitude and the second vibration feature is vibration frequency, or the first vibration feature is vibration frequency and the second vibration feature is vibration amplitude.
[0145] This application provides a readable storage medium on which a program or instruction is stored. When the program or instruction is run, the electronic device executes the pressure sensing method provided in this application.
[0146] This application provides a chip that can execute the pressure sensing method provided in this application.
[0147] The embodiments disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. Embodiments of this application can be implemented as computer programs or program code executable on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.
[0148] Program code can be applied to input instructions to execute the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, the processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application-specific integrated circuit (ASIC), or a microprocessor.
[0149] The program code can be implemented using a high-level procedural language or an object-oriented programming language to communicate with the processing system. Assembly language or machine language can also be used when needed. In fact, the mechanisms described in this application are not limited to any particular programming language. In either case, the language can be a compiled language or an interpreted language.
[0150] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored thereon on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine-readable (e.g., computer-readable) form, including but not limited to floppy disks, optical disks, CD-ROMs, magneto-optical disks, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic cards or optical cards, flash memory, or tangible machine-readable storage for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in the form of electrical, optical, acoustic, or other propagation signals. Therefore, machine-readable media include any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a machine-readable (e.g., computer-readable) form.
[0151] In the accompanying drawings, some structural or methodological features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be necessary. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Furthermore, the inclusion of structural or methodological features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may be omitted or may be combined with other features.
[0152] It should be noted that all units / modules mentioned in the device embodiments of this application are logical units / modules. Physically, a logical unit / module can be a physical unit / module, a part of a physical unit / module, or a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important factor; the combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed in this application. Furthermore, to highlight the innovative aspects of this application, the above-described device embodiments of this application have not introduced units / modules that are not closely related to solving the technical problems proposed in this application. This does not mean that the above-described device embodiments do not contain other units / modules.
[0153] It should be noted that in the examples and description of this patent, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the term "comprising" or any other variations thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0154] Although this application has been illustrated and described with reference to certain preferred embodiments thereof, those skilled in the art should understand that various changes in form and detail may be made thereto without departing from the spirit and scope of this application.
Claims
1. A pressure-sensitive detection method for use in pressure-sensing devices, characterized in that, The pressure sensing device includes a sensing element; the method includes: The pressure value corresponding to the pressure applied by the user to the sensing element is detected to be greater than a first threshold. The pressure sensing device is controlled to operate based on the first parameter corresponding to the first operating characteristic and the third parameter corresponding to the second operating characteristic. The time when the pressure value at the first moment is greater than the first threshold reaches a first preset time; When the pressure value corresponding to the pressure applied by the user to the sensing element is detected to be greater than the first threshold and less than or equal to the second threshold at the first moment, the pressure sensing device is controlled to operate based on the second parameter corresponding to the first operating feature and the third parameter corresponding to the second operating feature; When the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the second threshold at the first moment, the pressure sensing device is controlled to operate based on the fourth parameter corresponding to the second operating feature and the first parameter corresponding to the first operating feature; Wherein, the first operating characteristic is a first vibration characteristic, and the second operating characteristic is a second vibration characteristic; Controlling the operation of the pressure sensing device based on a first parameter corresponding to the first vibration feature and a third parameter corresponding to the second vibration feature includes: controlling the motor vibration of the pressure sensing device based on the first parameter corresponding to the first vibration feature and the third parameter corresponding to the second vibration feature; Controlling the operation of the pressure sensing device based on the second parameter corresponding to the first operating feature and the third parameter corresponding to the second operating feature includes: controlling the motor vibration of the pressure sensing device based on the second parameter corresponding to the first vibration feature and the third parameter corresponding to the second vibration feature.
2. The pressure sensing method according to claim 1, wherein The first vibration feature is the vibration amplitude, and the second vibration feature is the vibration frequency, or the first vibration feature is the vibration frequency and the second vibration feature is the vibration amplitude.
3. The pressure-sensitive detection method according to claim 1 or 2, characterized by, The second parameter corresponding to the first vibration feature includes multiple first feature values, and the multiple first feature values satisfy a first preset rule; The method of controlling the motor vibration of the pressure sensing device based on the second parameter corresponding to the first vibration feature and the third parameter corresponding to the second vibration feature includes: The motor of the pressure sensing device is controlled to vibrate periodically based on the third parameter corresponding to the multiple first characteristic values and the second vibration characteristics. During the process of controlling the periodic vibration of the motor of the pressure sensing device based on the third parameter corresponding to the plurality of first characteristic values and second vibration characteristics, at the second moment, it is detected that the pressure value corresponding to the pressure applied by the user to the sensing element is less than the first threshold, and vibration is based on the first characteristic value and the third parameter corresponding to the second vibration characteristic at the second moment.
4. The pressure sensing method according to claim 3, wherein The method of controlling the motor vibration of the pressure sensing device based on the second parameter corresponding to the first vibration feature and the third parameter corresponding to the second vibration feature includes: During the process of controlling the periodic vibration of the motor of the pressure sensing device based on the third parameter corresponding to the plurality of first feature values and second vibration features, when the pressure value corresponding to the pressure applied by the user to the sensing element is detected to be greater than the second threshold at the third moment, the motor vibration of the pressure sensing device is controlled based on the first feature value corresponding to the third moment and the fourth parameter corresponding to the second vibration feature.
5. The pressure sensing method according to claim 4, wherein The method of controlling the motor vibration of the pressure sensing device based on the first characteristic value corresponding to the third time moment and the fourth parameter corresponding to the second vibration characteristic includes: The fourth parameter corresponding to the second vibration feature includes multiple second feature values, and the multiple second feature values included in the fourth parameter corresponding to the second vibration feature satisfy a second preset rule; The motor of the pressure sensing device is controlled to vibrate periodically based on the first feature value corresponding to the third time point and the plurality of second feature values.
6. The pressure sensing method according to claim 1, characterized in that, The fourth parameter corresponding to the second vibration characteristic includes multiple second characteristic values, and the multiple second characteristic values satisfy a second preset rule; Controlling the motor vibration of the pressure sensing device based on the fourth parameter corresponding to the second vibration feature and the first parameter corresponding to the first vibration feature includes: The motor of the pressure sensing device is controlled to vibrate periodically based on the multiple second characteristic values and the first vibration characteristic corresponding to the first parameter. During the process of controlling the periodic vibration of the motor of the pressure sensing device based on the plurality of second feature values and the first parameter corresponding to the first vibration feature, at the fourth moment, it is detected that the pressure value corresponding to the pressure applied by the user to the sensing element is less than the first threshold, and the motor vibration of the pressure sensing device is controlled based on the second feature value corresponding to the fourth moment and the first parameter corresponding to the first vibration feature.
7. The pressure sensing detection method according to claim 6, characterized in that, The method of controlling the motor vibration of the pressure sensing device based on the fourth parameter corresponding to the second vibration feature and the first parameter corresponding to the first vibration feature includes: During the process of controlling the periodic vibration of the motor of the pressure sensing device based on the plurality of second feature values and the first parameter corresponding to the first vibration feature, when the pressure value corresponding to the pressure applied by the user to the sensing element is detected to be greater than the first threshold and less than or equal to the second threshold at the fifth moment, the motor vibration of the pressure sensing device is controlled based on the second feature value corresponding to the fifth moment and the second parameter corresponding to the first vibration feature parameter.
8. A pressure sensing device, characterized in that, Including sensing elements and processors, The sensing element is used to detect that the pressure value corresponding to the pressure applied by the user to the sensing element is greater than a first threshold. The processor is configured to control the pressure sensing device to operate based on a first parameter corresponding to a first operating feature and a third parameter corresponding to a second operating feature when the time when the pressure value is greater than the first threshold reaches a first preset time. The processor is configured to control the pressure sensing device to operate based on a second parameter corresponding to the first operating feature and a third parameter corresponding to the second operating feature when a first preset time is reached after detecting that the pressure value corresponding to the pressure applied by the user to the sensing element at a first moment is greater than the first threshold, and the pressure value is greater than the first threshold and less than or equal to the second threshold. The processor is configured to control the pressure sensing device to operate based on the fourth parameter corresponding to the second operating feature and the first parameter corresponding to the first operating feature when it detects that the pressure value corresponding to the pressure applied by the user to the sensing element is greater than the second threshold at the first moment. Wherein, the first operating characteristic is a first vibration characteristic, and the second operating characteristic is a second vibration characteristic; The method of controlling the operation of the pressure sensing device based on the first parameter corresponding to the first vibration feature and the third parameter corresponding to the second vibration feature includes: controlling the motor vibration of the pressure sensing device based on the first parameter corresponding to the first vibration feature and the third parameter corresponding to the second vibration feature; The control of the pressure sensing device based on the second parameter corresponding to the first operating feature and the third parameter corresponding to the second operating feature includes: controlling the motor vibration of the pressure sensing device based on the second parameter corresponding to the first vibration feature and the third parameter corresponding to the second vibration feature.
9. The pressure sensing device according to claim 8, characterized in that, The first vibration feature is the vibration amplitude, and the second vibration feature is the vibration frequency, or the first vibration feature is the vibration frequency and the second vibration feature is the vibration amplitude.
10. A readable storage medium, characterized in that, The readable storage medium has a stored program or instructions that, when executed, cause the pressure sensing device to perform the method of any one of claims 1 to 7.
11. A chip, characterized in that, The chip is used to perform the method according to any one of claims 1 to 7.