Control method for input device
By using the threshold conditions of voltage difference and slope change in the piezoelectric sensor to identify the user's pressing action control method, the problem of piezoelectric sensor accidentally touching during manual pressing detection is solved, and higher detection accuracy and reliability are achieved.
Patent Information
- Application Number
- CN202510105427.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-05-23
AI Technical Summary
压电传感器在人手按压检测过程中容易受到外部机械振动、电磁信号干扰、温度变化及振动反馈等因素的影响,导致误触现象,影响准确性和可靠性。
A control method is adopted to obtain the voltage difference of the piezoelectric module, and set the corresponding threshold and duration conditions according to the change of the absolute value and slope of the voltage difference, and send a trigger command to identify the user's pressing action to avoid accidentally touching caused by interference signals.
This method can accurately identify the user's pressing action, reduce the false touch phenomenon caused by the interference signal, and improve the detection accuracy and reliability of the input device.
Smart Images

Figure CN120029487A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of human-computer interaction technology, and in particular to a control method for an input device, an input device, and a computer-readable storage medium. Background Art
[0002] With the upgrading of various electronic products, users have put forward higher and higher demands on the user experience of electronic products, and tactile feedback is one of them. Tactile feedback technology can reproduce the sense of touch for users through a series of actions such as force and vibration, enriching the experience of human-computer interaction. At present, common solutions for tactile feedback include deflection mass motor (ERM), linear resonant actuator (LRA), and piezoelectric actuator (Piezo). With the continuous change of technology, the advantages of piezoelectric tactile technology are becoming more and more prominent. For example, if the user needs a tactile solution triggered when pressure is applied, it can be achieved by relying on only one piezoelectric vibrator and one piezoelectric driver, which can greatly save space. In addition, tactile feedback requires perfect timing to produce the best feedback, and piezoelectric tactile technology is more helpful in helping users achieve this goal. Its response time is faster and can produce clearer and more precise feedback.
[0003] However, despite the many advantages of piezoelectric sensors in tactile detection, they still face a series of problems that need to be overcome in practical applications. In the process of detecting hand pressure, the piezoelectric vibrator is the core component, and its working principle is based on the piezoelectric effect, that is, converting mechanical stress into electrical signals. However, when the mechanical vibration in the external environment acts on the piezoelectric vibrator, it will induce unexpected vibrations, thereby generating interference noise. These interference noises are often mistaken for signals generated by hand pressure, resulting in false touches. For example, in a complex electromagnetic environment, the piezoelectric sensor may be subject to electromagnetic interference from other electronic devices, resulting in fluctuations or abnormalities in the output signal. This electromagnetic interference may also be mistakenly identified as a signal of hand pressure, further increasing the possibility of false touches. Temperature changes are also an important factor affecting the performance of piezoelectric sensors. As the ambient temperature fluctuates, the physical properties of piezoelectric materials (such as dielectric constant, piezoelectric coefficient, etc.) will change, causing the output signal of the sensor to drift. This false touch phenomenon caused by temperature changes is particularly obvious in environments with large temperature changes, which seriously affects the accuracy and reliability of piezoelectric sensors in tactile detection. Summary of the invention
[0004] In view of the defects of the prior art, the present disclosure proposes a control method for an input device, which can accurately detect the pressing action from the user and avoid false touches caused by mechanical vibration, electromagnetic signal interference, temperature change interference, and vibration feedback from the external environment.
[0005] A first aspect of the present disclosure proposes a control method for an input device, wherein the input device includes a piezoelectric module, and the piezoelectric module is used to trigger a detection area. The method includes: obtaining a voltage difference from the piezoelectric module within a first time period; determining that the absolute value of the voltage difference meets the following conditions: (a) the absolute value of the voltage difference is greater than a first voltage threshold during a first duration; and / or (b) the absolute value of the slope of the absolute value of the voltage difference is greater than a first slope threshold during a second duration; and sending a trigger instruction corresponding to the detection area, wherein the trigger instruction is used to drive an electrical device to perform a control operation.
[0006] By adopting the above control method, the voltage signal can be screened from three dimensions: the absolute value of the voltage difference, the rate of change, and the duration, so as to more accurately identify the voltage signal generated by the user's press and avoid false touches caused by interference signals.
[0007] In one embodiment, the condition (a) further includes: the absolute value of the voltage difference is less than a second voltage threshold during the first duration.
[0008] In one embodiment, the condition (b) further includes: an absolute value of a slope of the absolute value of the voltage difference is smaller than a second slope threshold during the second duration.
[0009] Generally, the absolute value of the voltage difference corresponding to the vibration feedback is between tens of volts and hundreds of volts. By further limiting condition (a) or (b), this method can also exclude interference signals with a fast voltage change rate or a high voltage amplitude, such as the voltage signal generated by the vibration feedback.
[0010] In one embodiment, the method further comprises: sending a driving vibration instruction to make the detection area vibrate. The method provides vibration feedback to the user operating the input device through the vibration of the detection area.
[0011] In one embodiment, the driving vibration instruction is used to drive the piezoelectric module to vibrate to drive the detection area. In this method, the piezoelectric module is used to detect the pressing action and provide vibration feedback, which achieves "one thing for two purposes" and simplifies the structure of the input device.
[0012] In one embodiment, the duration during which the detection area is driven to vibrate includes a calibration time period and a non-calibration time period. During the non-calibration time period, the absolute value of the voltage difference of the piezoelectric module cannot reach the condition (a) or (b), and wherein, during the calibration time period when the detection area is driven to vibrate, the trigger instruction is not sent or the driving vibration instruction is not repeatedly sent. This setting can effectively prevent the piezoelectric module from being wrongly triggered twice or continuously triggered.
[0013] In one embodiment, the method further includes: during the calibration time period when the detection area is driven to vibrate, sending a stop signal, the stop signal being opposite to the driving vibration instruction in direction. This stop signal can quickly stop the vibration of the detection area, provide the user with a crisp vibration feeling, and at the same time, can also shorten the calibration time period during which the detection area is driven to vibrate, enabling the input device to start detection as soon as possible and improving the detection ability of the input device.
[0014] In one embodiment, the method further includes: obtaining an updated voltage difference from the piezoelectric module within a second time period; determining that the absolute value of the updated voltage difference reaches at least one of the following conditions: (c) the absolute value of the voltage difference is less than a third voltage threshold during a third duration; or (d) the absolute value of the slope of the absolute value of the voltage difference is greater than a third slope threshold during a fourth duration; and sending the driving vibration instruction to make the detection area vibrate again. This step provides vibration feedback to the user again based on detecting the user's release action.
[0015] In one embodiment, the condition (c) further includes: the absolute value of the voltage difference is greater than a fourth voltage threshold during the third duration; or the condition (d) further includes: the absolute value of the slope of the absolute value of the voltage difference is less than a fourth slope threshold during the fourth duration.
[0016] In one embodiment, the duration during which the detection area is driven to vibrate again includes a calibration time period and a non-calibration time period. During the non-calibration time period, the absolute value of the voltage difference of the piezoelectric module cannot reach the condition (a) or (b), and during the calibration time period when the detection area is driven to vibrate again, the trigger instruction is not sent or the driving vibration instruction is not repeatedly sent.
[0017] In one embodiment, the method further includes: during the calibration time period when the detection area is driven to vibrate again, sending a stop signal, the stop signal being opposite to the driving vibration instruction in direction.
[0018] In one embodiment, the duration of the detection area being driven to vibrate includes a calibration time period and a non-calibration time period, during which the absolute value of the voltage difference of the piezoelectric module cannot reach the condition (a) or (b), the input device further includes another piezoelectric module, and the other piezoelectric module is used to trigger another detection area, and the method further includes: during the calibration time period when the detection area is driven to vibrate, not sending a trigger instruction corresponding to the other detection area or not sending a driving vibration instruction corresponding to the other detection area. The advantage of this is that during the calibration time period when one of the detection areas is driven to vibrate, it is possible to avoid false triggering of another detection area.
[0019] In one embodiment, the input device further comprises another piezoelectric module, the another piezoelectric module is used to trigger another detection area, and the method further comprises: sending a driving vibration instruction to vibrate the detection area and the another detection area. This step uses only one piezoelectric driving module to drive two piezoelectric modules, which will reduce the production cost of the input device.
[0020] The second aspect of the present disclosure also proposes a control method for an input device, wherein the input device includes a piezoelectric module and a capacitive sensing module, and the trigger involves a detection area including multiple sub-areas. The method includes: obtaining multiple capacitance characterization signals from the capacitive sensing module, wherein the multiple capacitance characterization signals correspond to the multiple sub-areas respectively, and determining that a first capacitance characterization signal among the multiple capacitance characterization signals meets a capacitance trigger condition, wherein the first capacitance characterization signal corresponds to the first sub-area; obtaining a voltage difference from the piezoelectric module, wherein the voltage difference corresponds to the detection area, and determining that the absolute value of the voltage difference meets the following conditions: (a) the absolute value of the voltage difference is greater than a first voltage threshold during a first duration; and / or (b) the absolute value of the slope of the absolute value of the voltage difference is greater than a first slope threshold during a second duration; and sending a first trigger instruction corresponding to the first sub-area, wherein the first trigger instruction is used to drive the electrical device to perform a first control operation.
[0021] The control method adopts "two detections", one of which is based on the capacitive sensing module and the other is based on the piezoelectric module. Only after both of these "two detections" are passed, the trigger instruction corresponding to the sub-area will be issued. The advantage of this is that the accuracy of the detection can be improved.
[0022] In one embodiment, the capacitance trigger condition includes the capacitance-characterizing signal being greater than a capacitance-characterizing threshold value during a fifth duration.
[0023] The third aspect of the present disclosure also proposes a control method for an input device, wherein the input device includes multiple piezoelectric modules and a capacitive sensing module, and the triggering involves multiple detection areas, each of the piezoelectric modules corresponds to one of the areas, and the method includes: obtaining multiple capacitance characterization signals from the capacitive sensing module, wherein the multiple capacitance characterization signals correspond to the multiple detection areas respectively, and determining that a first capacitance characterization signal among the multiple capacitance characterization signals meets a capacitance trigger condition, wherein the first capacitance characterization signal corresponds to a first detection area; obtaining a first voltage difference from a first piezoelectric module, wherein the first voltage difference corresponds to the first detection area, and determining that an absolute value of the first voltage difference meets the following conditions: (a) an absolute value of the first voltage difference is greater than a first voltage threshold during a first duration; and / or (b) an absolute value of a slope of an absolute value of the first voltage difference is greater than a first slope threshold during a second duration; and sending a first trigger instruction corresponding to the first detection area, wherein the first trigger instruction is used to drive an electrical device to perform a first control operation.
[0024] When the user presses the first detection area or the second detection area, the capacitive sensing module can quickly determine which detection area is pressed. For example, if the first detection area is pressed, the method quickly switches the piezoelectric driving module to the first piezoelectric module based on the detection result of the capacitive sensing module to further detect the user's pressing action. The method only uses one piezoelectric driving module to drive multiple piezoelectric modules, which is conducive to saving the manufacturing cost of the product.
[0025] The fourth aspect of the present disclosure further proposes an input device, comprising: one or more piezoelectric modules; and a control module, wherein the control module is configured to implement the above-mentioned control method for the input device.
[0026] The fifth aspect of the present disclosure further proposes a computer-readable storage medium, which has computer-executable instructions stored thereon, and the computer-executable instructions are used to execute the above-mentioned control method for the input device.
[0027] In summary, the control method, input device, and computer-readable storage medium proposed in the present disclosure can solve the false touch problem of "continuous triggering" when the piezoelectric film is used as a sensor and a vibration source at the same time, and avoid continuous vibration. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Other features and advantages of the present disclosure will be better understood through the following detailed description of preferred embodiments in conjunction with the accompanying drawings, in which the same reference numerals represent the same or similar components.
[0029] Figure 1 A schematic diagram showing the main mechanical structure of an input device.
[0030] Figure 2 A basic electrical system framework diagram for an input device is shown.
[0031] Figure 3 A diagram showing the application location of the input device on a vehicle.
[0032] Figure 4 An exemplary flow chart of a control method for an input device according to a first embodiment of the present disclosure is shown.
[0033] Figure 5 The absolute value of the voltage difference generated when the piezoelectric module is pressed and released by a human hand is shown.
[0034] Figure 6 An exemplary flow chart of a control method for an input device according to a second embodiment of the present disclosure is shown.
[0035] Figure 7 A schematic diagram showing the absolute value of the voltage difference of the piezoelectric module superimposed with vibration feedback based on a human hand pressing action.
[0036] Figure 8 A comparison diagram of not adding / adding a stop signal according to an embodiment of the present disclosure is shown.
[0037] Fig. 9 Another electrical system block diagram for an input device is shown.
[0038] Fig.10 Yet another electrical system block diagram for an input device is shown.
[0039] Fig.11 A side view and a top view of an input device according to a third embodiment of the present disclosure are shown.
[0040] Fig.12 A control method for an input device according to a third embodiment of the present disclosure is shown.
[0041] Fig.13 Another electrical system block diagram for an input device is shown.
[0042] Fig.14 A control method for the input device is shown. DETAILED DESCRIPTION
[0043] The technical solution of the present disclosure is further specifically described below through examples and in conjunction with the accompanying drawings. In the specification, the same or similar figure numbers indicate the same or similar parts. The following description of the embodiments of the present disclosure with reference to the accompanying drawings is intended to explain the overall inventive concept of the present disclosure and should not be construed as a limitation of the present disclosure.
[0044] The terms "including", "comprising" and similar terms used in the present disclosure should be understood as open terms, i.e., "including / including but not limited to", indicating that other contents may also be included. The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment", and so on.
[0045] At present, there are some technical problems that need to be solved in the field of tactile feedback of piezoelectric sensors. Traditional tactile feedback adopts a design that separates the sensor from the motor vibrator. The piezoelectric vibrator performs the function of vibration feedback while performing the sensor function. Therefore, the position where the detection is implemented is also the position of the vibration output. In the specific design of some piezoelectric vibrators, when the piezoelectric vibrator performs vibration feedback, the vibration will be transmitted to the piezoelectric vibrator again without any attenuation, so that the piezoelectric vibrator generates a corresponding voltage. These voltages may cause "false triggering" of the piezoelectric vibrator. For example, when the piezoelectric sensor detects a human hand pressing, it will trigger the corresponding circuit or control system to drive the piezoelectric element to vibrate to provide feedback. However, the vibration generated by this driving process may be detected by the piezoelectric sensor again, forming a feedback loop. If the sensitivity and response speed of the sensor are high enough, this feedback loop may trigger a secondary trigger, that is, the sensor mistakenly believes that another human hand press has occurred. More seriously, this secondary trigger may further lead to continuous triggering, making it impossible for the sensor to accurately distinguish between human hand pressing and driving vibration, thereby seriously affecting the accuracy and stability of the tactile feedback system. The present disclosure is intended to solve the problems of the piezoelectric module in the prior art in terms of pressure detection and vibration feedback.
[0046] Figure 1A schematic diagram of the main mechanical structure of an input device 100 is shown. The input device 100 includes a switch panel 101, a piezoelectric module 102, a pre-pressure adjustment module 103, and a base 104. The user issues a command to the input device 100 by applying a pressing action to the switch panel 101. For example, the user presses the switch panel 101 via a finger or a stylus pen to issue a control command to the input device 100 to turn on or off the associated electrical equipment. The pre-pressure adjustment module 103 is arranged between the switch panel 101 and the base 104. As a mechanical device, it applies a certain pre-pressure to the piezoelectric module 102, so that the piezoelectric module 102 and the switch panel 101 and the piezoelectric module 102 and the base 104 are in close contact, thereby ensuring that the piezoelectric module 102 is in a sensitive and stable working state.
[0047] Figure 2 The most basic electrical system framework diagram for input device 200 is shown. The input device 200 includes a control module 201, a piezoelectric drive module 202, and a piezoelectric module 203. The control module 201 may be, for example, an MCU (Microcontroller unit). After the piezoelectric module 203 is subjected to mechanical stress such as compression from the outside, a voltage difference (i.e., a voltage signal) will be generated at both ends of the piezoelectric module 203 based on the piezoelectric effect. The piezoelectric module 203 transmits the voltage difference to the control module 201 of the input device via the piezoelectric drive module 202, and the control module 201 processes the voltage difference and analyzes whether the voltage difference comes from the user's pressing action. When it is determined that the voltage difference comes from the user's pressing action, the control module 201 sends a control instruction corresponding to the user's action to the electrical device, so that the electrical device turns on or off its function. In addition, in another case, if the control module 201 applies an alternating voltage to the piezoelectric module 203 via the piezoelectric drive module 202, the piezoelectric module will produce an alternating strain due to the reverse voltage effect, thereby inducing mechanical vibration. For example, after determining that the voltage signal comes from the user's pressing action, the control module 201 of the input device 200 can immediately send a high-frequency transient signal to the piezoelectric module 203 via the piezoelectric drive module 202 to induce the piezoelectric module 203 to vibrate instantaneously, thereby providing vibration feedback to the user. The piezoelectric drive module 202 can be a Drive IC (Integrated Circuit Driver), which receives the digital electrical signal from the control module 201 and converts it into a drive signal, and then sends the drive signal to the piezoelectric module 203 to drive the piezoelectric module 203 to vibrate. Conversely, the piezoelectric drive module 202 can also receive the voltage difference from the piezoelectric module 203 and transmit it to the control module 201 after voltage conversion. The piezoelectric module 203 can be a piezoelectric vibrator, which uses the piezoelectric effect to realize the mutual conversion of mechanical energy and electrical energy.
[0048] Figure 3 The application position diagram of the input device on the vehicle is shown. As an example only and not a limitation, the input device can be used for the steering wheel switch 301, the central control panel 302, the door and window switch 303, the armrest screen 304, or the decorative strip control switch 305. For example, when the input device is used for the door and window switch 303, the user can press the door and window switch 303 to open or close the door and window. After the user presses the door and window switch 303, the door and window switch 303 will generate instantaneous (for example, within 10 milliseconds) vibration feedback to remind the user that the control command has been successfully received. When the input device is used for the central control panel 302, the driver can adjust the volume, switch songs, or operate the seat heating, etc. by pressing a finger. At the same time, the vibration feedback function of the input device can remind the driver whether the operation is successful, improve the efficiency of blind operation, and avoid distraction of the driver.
[0049] Although input devices with pressure detection and vibration feedback functions can provide a better user experience, as described in the background technology above, the input device also encounters many problems in practical applications. Designers hope that the input device can accurately detect the pressing action from the user, including but not limited to pressing with fingers, tapping with fingers, pressing with a stylus, and tapping with a stylus. However, due to the above-mentioned mechanical vibrations, electromagnetic signal interference, temperature change interference, and vibration feedback from the external environment, the input device also regards the signals generated by these interferences as signals generated by the user's pressing action, which then causes "false touches". For example, refer to Figure 1 When the user presses the switch panel 101, the piezoelectric module 102 converts the mechanical stress it receives into a voltage difference and sends it to the control module. After processing, the control module confirms that the voltage difference is caused by the user's pressure, and then sends a driving vibration instruction to the piezoelectric module to drive the piezoelectric module to vibrate instantaneously at a high frequency to provide vibration feedback to the user. At the same time, the vibration that serves as feedback will be transmitted to the piezoelectric vibrator without any attenuation, causing the piezoelectric vibrator to generate a corresponding voltage difference. The voltage difference will be sent to the control module. If the control method used by the control module is inappropriate, the voltage difference will be mistaken for a pressure from the user. Based on this, it is necessary to propose a control method for an input device, which can eliminate the influence of interference signals and accurately identify the user's pressing action.
[0050] Figure 4 An exemplary flow chart of a control method 400 for an input device according to the first embodiment of the present disclosure is shown. The input device includes a piezoelectric module, and the piezoelectric module is used to trigger a detection area. The control method 400 includes steps S401 to S403.
[0051] Step S401: Obtain the voltage difference from the piezoelectric module within the first time period. For example, the voltage difference generated by the two ends of the piezoelectric module is transmitted to the control module via the piezoelectric drive module. For example, the voltage at one end of the piezoelectric module is U1, and the voltage at the other end is U2. The voltage difference of the piezoelectric module mentioned in this article is U1-U2, which can also be called a voltage signal. The voltage difference is related to the mechanical stress on the piezoelectric module. The greater the mechanical stress, the greater the absolute value of the voltage difference.
[0052] Step S402: Determine whether the absolute value of the voltage difference meets the following conditions: (a) the absolute value of the voltage difference is greater than a first voltage threshold during a first duration; and / or (b) the absolute value of the slope of the absolute value of the voltage difference is greater than a first slope threshold during a second duration. Figure 5 The absolute value 500 of the voltage difference generated by the piezoelectric module during the process of being pressed and released by a human hand is shown. During the process of pressing by a human hand, the absolute value of the voltage difference continues to increase; during the process of releasing the human hand, the absolute value of the voltage difference gradually decreases. The control module can continuously collect the voltage difference from the piezoelectric module and sample the signal at the same time. In a specific example, the first voltage threshold can be 1 volt, the first duration can be 10 milliseconds, the second duration can be 10 milliseconds, and the first slope threshold can be 0.5 volts / microsecond. If the control module processes the signal by sampling, then condition (a) means that within a period of time when the number of samplings is greater than the first number of samplings, the absolute value of the voltage difference obtained by sampling is greater than the first voltage threshold, wherein the first number of samplings is equal to the first duration divided by the sampling rate. Similarly, condition (b) means that within a period of time when the number of samplings is greater than the second number of samplings, the absolute value of the voltage slope obtained by sampling is greater than the first slope threshold, wherein the second number of samplings is equal to the second duration divided by the sampling rate. It should be noted that the satisfaction of conditions (a) and (b) is not limited to a time sequence, and conditions (a) and (b) may be satisfied at the same time, or condition (a) may be satisfied first and then condition (b), or condition (b) may be satisfied first and then condition (a). For example, in this embodiment, it is determined at time t1 that both conditions (a) and (b) have been satisfied.
[0053] Step S403: Send a trigger instruction corresponding to the detection area, wherein the trigger instruction is used to drive the electrical device to perform a control operation. For example, the detection area is an area on the surface of a door or window switch, and after the user presses the area, the control module will drive the door or window to open or close.
[0054] By adopting the above control method, the voltage signal can be screened from three dimensions: the absolute value of the voltage difference, the rate of change, and the duration, so as to more accurately identify the voltage signal generated by the user's press, and avoid false touches caused by interference signals. For example, this method can exclude interference signals with a very short duration or a very small voltage change.
[0055] In one embodiment, optionally, the condition (a) further includes: the absolute value of the voltage difference is less than a second voltage threshold during the first duration. For example, the second voltage threshold may be 10 volts.
[0056] In another embodiment, optionally, the condition (b) further includes: the absolute value of the slope of the absolute value of the voltage difference is less than a second slope threshold during the second duration. For example, the second slope threshold may be 20 volts / microsecond.
[0057] Generally, the absolute value of the voltage difference corresponding to the vibration feedback is between tens of volts and hundreds of volts. By further limiting condition (a) or (b), this method can also exclude interference signals with a fast voltage change rate or a high voltage amplitude, such as the voltage signal generated by the vibration feedback.
[0058] Figure 6 An exemplary flow chart of a control method 600 for an input device according to a second embodiment of the present disclosure is shown. The input device includes a piezoelectric module, and the piezoelectric module is used to trigger a detection area. The control method 600 includes steps S601 to S609.
[0059] Steps S601 to S603 are the same as steps S401 to S403 of the above method 400 and are not described in detail here.
[0060] Step S604: Send a driving vibration instruction to make the detection area vibrate. This step provides vibration feedback for the user's pressing action, reminding the user that the trigger instruction has been successfully received. Figure 7 The piezoelectric module is shown as a voltage signal 700 with vibration feedback superimposed on the pressing action of a human hand. The control module continuously detects the voltage signal and immediately sends an instantaneous high-frequency signal Δt1 after recognizing the pressing action of a human hand at time t1, which causes the detection area to vibrate. In one embodiment, the driving vibration instruction is used to drive the piezoelectric module to vibrate to drive the detection area; in another embodiment, the driving vibration instruction is used to drive other vibrators (such as linear motors) to vibrate to drive the detection area.
[0061] Optionally, during the calibration period when the detection area is driven to vibrate, the trigger instruction is not sent or the driving vibration instruction is not repeatedly sent. When the detection area starts to vibrate due to the above-mentioned driving vibration instruction, the piezoelectric module will simultaneously convert the vibration into a voltage signal and transmit it to the control module. An unfavorable situation is that the control module mistakenly regards this voltage signal as caused by the user's pressing action, thereby causing a misjudgment. Figure 8 A driving vibration signal 801 according to an embodiment of the present disclosure is shown. The driving vibration signal 801 is similar to Figure 7 The signal 701 or signal 702 shown. The driving vibration signal 801 can be artificially divided into a calibration time period and a non-calibration time period. During the non-calibration time period, the absolute value of the voltage difference of the piezoelectric module cannot reach the condition (a) or (b) because it will not cause a trigger. In the present disclosure, it is set that during the calibration time period when the detection area is driven to vibrate, the control module cannot send the trigger instruction or cannot repeatedly send the driving vibration instruction. This setting can avoid the "secondary triggering" and "continuous triggering" described above. In one embodiment, during this calibration time period, the control module can be set not to receive the voltage signal from the piezoelectric module; in another embodiment, the control module can also be set not to process the voltage signal from the piezoelectric module during this calibration time period, so as to avoid the issuance of the trigger instruction and the re-issuance of the driving vibration instruction.
[0062] Optionally, step S605: during the calibration time period in which the detection area is driven to vibrate, sending a stop signal, wherein the stop signal is opposite to the driving vibration instruction direction. Figure 8 A signal comparison diagram with and without a stop signal according to an embodiment of the present disclosure is also shown. Among them, the electrical signal 801 corresponds to the driving vibration instruction, and the electrical signal 802 is the result of superimposing the stop signal on the basis of the electrical signal 801. It can be seen that the addition of the stop signal can make the vibration converge quickly and reach a stable state. The addition of the stop signal is used to adjust the vibration of the detection area, which can provide the user with a more "crisp" vibration feedback feel, and at the same time, shorten the calibration time period of the driving vibration.
[0063] Step S606: obtaining an updated voltage difference from the piezoelectric module within a second time period. For example, after waiting for the driving vibration to end, at time t1+Δt1, continue to obtain the absolute value of the voltage difference from the piezoelectric module.
[0064] Step S607: Determine whether the absolute value of the updated voltage difference meets at least one of the following conditions: (c) the absolute value of the voltage difference is less than the third voltage threshold during the third duration; or (d) the absolute value of the slope of the absolute value of the voltage difference is greater than the third slope threshold during the fourth duration. In a specific example, the third voltage threshold may be 8 volts, the third duration may be 10 milliseconds, the fourth duration may be 10 milliseconds, and the first slope threshold may be 1 volt / microsecond. If the control module processes the signal by sampling, then condition (c) means that the absolute value of the voltage difference obtained by sampling is less than the third voltage threshold during a period of time when the number of samplings is greater than the third number of samplings, wherein the third number of samplings is equal to the third duration divided by the sampling rate. Similarly, condition (d) means that the absolute value of the voltage slope obtained by sampling is less than the third slope threshold during a period of time when the number of samplings is greater than the fourth number of samplings, wherein the fourth number of samplings is equal to the fourth duration divided by the sampling rate. Since the above step S602 has determined that the user's pressing action has occurred, in this step, only condition (c) or (d) needs to be met to determine the user's release action.
[0065] In one embodiment, optionally, the condition (c) further includes: the absolute value of the voltage difference is greater than a fourth voltage threshold during the third duration. For example, the fourth voltage threshold may be 1 volt.
[0066] In one embodiment, optionally, the condition (d) further includes: the absolute value of the slope of the absolute value of the voltage difference is less than a fourth slope threshold value during the fourth duration. For example, the fourth slope threshold value may be 30 volts / microseconds.
[0067] Step S608: Send the vibration driving instruction to make the detection area vibrate again. Figure 7 At time t2, the control module has recognized that the human hand is in the release process, and then sends a driving vibration instruction, such as a high-frequency instantaneous signal Δt2 shown in the figure, to provide vibration feedback to the user again through the vibration of the detection area.
[0068] Optionally and similarly, the duration of the detection area being driven to vibrate again (for example, from time t2 to time t2+Δt2) includes a calibration time period and a non-calibration time period, during which the absolute value of the voltage difference of the piezoelectric module cannot reach the condition (a) or (b). During the calibration time period when the detection area is driven to vibrate again, the control module does not send the trigger instruction or does not repeatedly send the drive vibration instruction
[0069] Optionally and similarly, step S609: during the calibration time period in which the detection area is driven to vibrate again, sending a stop signal, wherein the stop signal is opposite to the direction of the driving vibration instruction.
[0070] Fig. 9 Another electrical system framework diagram for an input device is shown. The input device 900 includes a control module 901, a piezoelectric driving module 902, a first piezoelectric module 903, and a second piezoelectric module 904. The piezoelectric driving module 902 is used to drive the first piezoelectric module 903 and the second piezoelectric module 904, and the first piezoelectric module 903 and the second piezoelectric module 904 are connected in parallel. The first piezoelectric module 903 is used to trigger the above-mentioned detection area, and the second piezoelectric module 904 is used to trigger another detection area. If the above method 600 is applied to Fig. 9 In the input device 900 shown in FIG. 1 , at step S604, the driving vibration instruction sent will cause the detection area and the other detection area to vibrate. For example, the driving vibration instruction is sent to the first piezoelectric module 1003 and the second piezoelectric module 1005 at the same time to cause the two detection areas to vibrate. Fig. 9 The electrical topology shown uses only one piezoelectric driver module to drive two piezoelectric modules, which will reduce the production cost of the input device.
[0071] Fig.10 Another electrical system framework diagram for an input device is shown. The input device 1000 includes a control module 1001, a first piezoelectric driving module 1002, a second piezoelectric driving module 1004, a first piezoelectric module 1003, and a second piezoelectric module 1005. The first piezoelectric driving module 1002 is used to drive the first piezoelectric module 1003, and the second piezoelectric driving module 1004 is used to drive the second piezoelectric module 1005. The first piezoelectric module 1003 is used to trigger the above-mentioned detection area, for example, and the second piezoelectric module 1005 is used to trigger another detection area. The vibration of the above-mentioned detection area will drive the vibration of another detection area. In this case, if the above-mentioned method 600 is applied to Fig.10 In the input device 1000 shown in FIG. 1 , during the calibration period when the one detection area is driven to vibrate, the control module will not send a trigger instruction corresponding to another detection area or a driving vibration instruction corresponding to another detection area. The advantage of this is that during the calibration period when the one detection area is driven to vibrate, false triggering of another detection area is avoided.
[0072] Fig.11The side view and top view of the input device according to the third embodiment of the present disclosure are shown. The input device includes a piezoelectric module 1105 and a capacitive sensing module (not shown). The detection area 1106 of the input device includes multiple sub-areas, for example, in this example, specifically including a first sub-area 1101, a second sub-area 1102, a third sub-area 1103, and a fourth sub-area 1104. Fig.12 A control method for an input device according to a third embodiment of the present disclosure is shown. The control method includes steps S1201 to S1205.
[0073] Step S1201: Acquire multiple capacitance characterization signals from a capacitance sensing module, where the multiple capacitance characterization signals correspond to multiple sub-areas respectively. The capacitance sensing module may adopt a self-capacitance sensing method, a mutual capacitance sensing method, and other suitable capacitance sensing methods. For example, when the capacitance sensing module adopts self-capacitance sensing, the capacitance characterization signal may be a voltage that can characterize the capacitance change of the sub-area.
[0074] Step S1202: Determine whether a first capacitance characterization signal among the plurality of capacitance characterization signals reaches a capacitance trigger condition, wherein the first capacitance characterization signal corresponds to the first sub-region. In one embodiment, the capacitance trigger condition includes that the capacitance characterization signal (e.g., voltage) is greater than a capacitance characterization threshold (e.g., a certain voltage threshold) during a fifth duration.
[0075] Step S1203: Obtaining a voltage difference from the piezoelectric module, the voltage difference corresponds to the detection area. That is, if the user presses any point in the detection area 1106, the piezoelectric module will generate a corresponding voltage difference.
[0076] Step S1204: Determine whether the absolute value of the voltage difference meets the following conditions: (a) the absolute value of the voltage difference is greater than the first voltage threshold during the first duration; and / or (b) the absolute value of the slope of the absolute value of the voltage difference is greater than the first slope threshold during the second duration. In this step, for the voltage difference generated by the piezoelectric module, determine whether a user has triggered the detection area.
[0077] Step S1205: Send a first trigger instruction corresponding to the first sub-area, where the first trigger instruction is used to drive the electrical device to perform a first control operation, such as a "flip up" operation.
[0078] In the control method 1200, the capacitive sensing module is used to determine which sub-area of the detection area is triggered by the user, and the piezoelectric detection module is used to determine whether a user has triggered the detection area. Only when both step S1202 and step S1204 are reached, the trigger instruction corresponding to the sub-area will be issued. The control method 1200 adopts "two detections", one of which is based on the capacitive sensing module and the other is based on the piezoelectric module. The advantage of this is that the accuracy of the detection can be improved.
[0079] Fig.13 Another electrical system block diagram for an input device is shown. Fig.14 A control method for the input device is shown. Fig.13 As shown, the input device includes multiple piezoelectric modules (e.g., a first piezoelectric module 1305 and a second piezoelectric module 1306) and a capacitive sensing module 1304. The triggering of the input device involves multiple detection areas, and each piezoelectric module corresponds to one area. For example, the first piezoelectric module 1305 corresponds to the first detection area, and the second piezoelectric module 1306 corresponds to the second detection area. The method 1400 includes steps S1401 to S1405.
[0080] Step S1401: Acquire multiple capacitance characterization signals from a capacitance sensing module, where the multiple capacitance characterization signals correspond to multiple detection areas respectively.
[0081] Step S1402: Determine whether a first capacitance characterization signal among a plurality of capacitance characterization signals reaches a capacitance trigger condition, wherein the first capacitance characterization signal corresponds to a first detection area.
[0082] Step S1403: Acquire a first voltage difference from the first piezoelectric module, where the first voltage difference corresponds to the first detection area.
[0083] Step S1404: Determine whether the absolute value of the first voltage difference meets the following conditions: (a) the absolute value of the first voltage difference is greater than the first voltage threshold during the first duration; and / or (b) the absolute value of the slope of the absolute value of the first voltage difference is greater than the first slope threshold during the second duration.
[0084] Step S1405: Send a first trigger instruction corresponding to the first detection area, where the first trigger instruction is used to drive the electrical device to perform a first control operation.
[0085] When the user presses the first detection area or the second detection area, the capacitive sensing module 1304 can quickly determine which detection area is pressed. For example, if the first detection area is pressed, the switching circuit module 1303 quickly switches the piezoelectric driving module 1302 to the first piezoelectric module 1306 based on the detection result of the capacitive sensing module 1304. The first piezoelectric module 1306 will generate a voltage difference corresponding to the user's pressing process. The control module 1301 detects the absolute value of the voltage difference again, and then accurately determines the pressing action from the user, and drives the electrical device to perform the control operation. In addition, Fig.13 In the input device 1300 shown, only one piezoelectric driving module 1302 is used to drive multiple piezoelectric modules, which is also helpful in saving the manufacturing cost of the product.
[0086] In addition, the present disclosure also provides an input device, which includes one or more piezoelectric modules and a control module. The control module is configured to implement the above-mentioned control method for the input device. For example, the input device can be the input device 200, the input device 900, the input device 1000, or the input device 1300. For example, the control method can be the method 400, the method 600, the method 1200, or the method 1400.
[0087] In addition, the present disclosure also proposes a computer-readable storage medium, the computer-readable storage medium having computer-executable instructions stored thereon, the computer-executable instructions being used to execute the above-mentioned control method for an input device, such as method 400, method 600, method 1200, or method 1400. The computer-readable storage medium carries computer-readable program instructions for executing various embodiments of the present disclosure. The computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as punch cards or raised structures in grooves on which instructions are stored, and any suitable combination of the above. Computer-readable storage media as used herein are not to be interpreted as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0088] It should be noted that the present disclosure (such as the inventive concept, etc.) has been described in the specification of this patent document and / or illustrated in the figures according to exemplary embodiments; the embodiments of the present disclosure are presented by way of example only and are not intended to limit the scope of the present disclosure. The structure and / or arrangement of the elements of the inventive concept embodied in the present disclosure as described in the specification and / or illustrated in the figures are merely illustrative. Although the exemplary embodiments of the present disclosure have been described in detail in this patent document, it is readily understood by those of ordinary skill in the art that equivalents, modifications, variations, etc. of the subject matter of the exemplary embodiments and alternative embodiments are possible and are considered to be within the scope of the present disclosure; all such subject matter (such as modifications, variations, embodiments, combinations, equivalents, etc.) are intended to be included within the scope of the present disclosure. It should also be noted that various / other modifications, variations, substitutions, equivalents, alterations, omissions, etc. can be made in the configuration and / or arrangement of the exemplary embodiments (such as in terms of concepts, designs, structures, devices, forms, assemblies, constructions, means, functions, systems, processes / methods, steps, order of process / method steps, operations, operating conditions, performances, materials, compositions, combinations, etc.) without departing from the scope of the present disclosure; all such subject matter (such as modifications, variations, embodiments, combinations, equivalents, etc.) are intended to be included within the scope of the present disclosure. The scope of the present disclosure is not intended to be limited to the subject matter (such as details, structures, functions, materials, behaviors, steps, order, systems, results, etc.) described in the specification and / or figures of this patent document. Considering that the claims of this patent document will be appropriately interpreted to cover the full scope of the subject matter of the present disclosure (such as including any and all such modifications, variations, embodiments, combinations, equivalents, etc.); it should be understood that the terms used in this patent document are for the purpose of providing a description of the subject matter of the exemplary embodiments and are not intended as a limitation on the scope of the present disclosure.
[0089] It should also be noted that according to the exemplary embodiments, the present disclosure may include conventional technologies (such as technologies implemented and / or integrated in exemplary embodiments, modifications, variations, combinations, equivalents), or may include any other applicable technologies (present and / or future) with the ability to perform the functions and processes / operations described in the specification and / or illustrated in the figures. All such technologies (such as technologies implemented in the form of embodiments, modifications, variations, combinations, equivalents, etc.) are considered to be within the scope of the present disclosure of this patent document.
Claims
1. A control method for an input device, the input device comprising a piezoelectric module, the piezoelectric module being used to trigger a detection area, the method comprising: Acquiring a voltage difference from the piezoelectric module during a first time period; Determine that the absolute value of the voltage difference meets the following conditions: (a) the absolute value of the voltage difference is greater than a first voltage threshold during a first duration; and / or (b) the absolute value of the slope of the absolute value of the voltage difference is greater than a first slope threshold during a second duration; as well as A trigger instruction corresponding to the detection area is sent, wherein the trigger instruction is used to drive the electrical device to perform a control operation.
2. The method according to claim 1, wherein: The condition (a) also includes: The absolute value of the voltage difference is less than a second voltage threshold during the first duration.
3. The method according to claim 1, wherein: The condition (b) also includes: An absolute value of a slope of the absolute value of the voltage difference is less than a second slope threshold during the second duration.
4. The method according to claim 1, further comprising: A driving vibration instruction is sent to make the detection area vibrate.
5. The method according to claim 4, wherein: The driving vibration instruction is used to drive the piezoelectric module to vibrate so as to drive the detection area.
6. The method according to claim 4, wherein: The duration of the detection area being driven to vibrate includes a calibration period and a non-calibration period, during which the absolute value of the voltage difference of the piezoelectric module cannot reach the condition (a) or (b), And wherein, during the calibration time period in which the detection area is driven to vibrate, the trigger instruction is not sent or the driving vibration instruction is not repeatedly sent.
7. The method according to claim 6, further comprising: During the calibration period when the detection area is driven to vibrate, a stop signal is sent, the stop signal being opposite in direction to the drive vibration instruction.
8. The method according to claim 4, further comprising: obtaining an updated voltage difference from the piezoelectric module during a second time period; Determining that the updated absolute value of the voltage difference meets at least one of the following conditions: (c) the absolute value of the voltage difference is less than a third voltage threshold during a third duration; or (d) the absolute value of the slope of the absolute value of the voltage difference is greater than a third slope threshold during a fourth duration; and The driving vibration instruction is sent to make the detection area vibrate again.
9. The method according to claim 8, wherein: The condition (c) further includes: the absolute value of the voltage difference is greater than a fourth voltage threshold during the third duration; or The condition (d) also includes: an absolute value of a slope of the absolute value of the voltage difference is less than a fourth slope threshold during the fourth duration.
10. The method according to claim 8, wherein: The duration of the detection area being driven to vibrate again includes a calibration period and a non-calibration period, during which the absolute value of the voltage difference of the piezoelectric module cannot reach the condition (a) or (b), During the calibration time period in which the detection area is driven to vibrate again, the trigger instruction is not sent or the driving vibration instruction is not sent repeatedly.
11. The method according to claim 10, further comprising: During the calibration period when the detection area is driven to vibrate again, a stop signal is sent, the stop signal being opposite to the driving vibration instruction direction.
12. The method according to claim 4, wherein: The duration of the detection area being driven to vibrate includes a calibration period and a non-calibration period, during which the absolute value of the voltage difference of the piezoelectric module cannot reach the condition (a) or (b), and the input device further includes another piezoelectric module, which is used to trigger another detection area. The method further includes: during the calibration time period when the detection area is driven to vibrate, not sending a trigger instruction corresponding to the other detection area or not sending a driving vibration instruction corresponding to the other detection area.
13. The method according to claim 1, wherein: The input device further includes another piezoelectric module, and the another piezoelectric module is used to trigger another detection area. The method further includes: A driving vibration instruction is sent to make the detection area and the another detection area vibrate.
14. A control method for an input device, the input device comprising a piezoelectric module and a capacitive sensing module, the triggering involving a detection area comprising a plurality of sub-areas, the method comprising: Acquire a plurality of capacitance characterization signals from the capacitance sensing module, wherein the plurality of capacitance characterization signals correspond to the plurality of sub-areas respectively, Determining that a first capacitance characterization signal among the plurality of capacitance characterization signals meets a capacitance trigger condition, wherein the first capacitance characterization signal corresponds to a first sub-region; acquiring a voltage difference from the piezoelectric module, the voltage difference corresponding to the detection area, Determine that the absolute value of the voltage difference meets the following conditions: (a) the absolute value of the voltage difference is greater than a first voltage threshold during a first duration; and / or (b) the absolute value of the slope of the absolute value of the voltage difference is greater than a first slope threshold during a second duration; A first trigger instruction corresponding to the first sub-area is sent, where the first trigger instruction is used to drive the electrical device to perform a first control operation.
15. The method according to claim 14, wherein: The capacitive trigger condition includes the capacitance-characterizing signal being greater than a capacitance-characterizing threshold value during a fifth duration.
16. A control method for an input device, the input device comprising a plurality of piezoelectric modules and a capacitive sensing module, the triggering involving a plurality of detection areas, each of the piezoelectric modules corresponding to one of the areas, the method comprising: Acquire a plurality of capacitance characterization signals from the capacitance sensing module, wherein the plurality of capacitance characterization signals correspond to the plurality of detection areas respectively. Determining that a first capacitance characterization signal among the plurality of capacitance characterization signals meets a capacitance trigger condition, wherein the first capacitance characterization signal corresponds to a first detection area; acquiring a first voltage difference from a first piezoelectric module, wherein the first voltage difference corresponds to the first detection area, Determine that the absolute value of the first voltage difference meets the following conditions: (a) the absolute value of the first voltage difference is greater than a first voltage threshold during a first duration; and / or (b) the absolute value of the slope of the absolute value of the first voltage difference is greater than a first slope threshold during a second duration; A first trigger instruction corresponding to the first detection area is sent, where the first trigger instruction is used to drive the electrical device to perform a first control operation.
17. An input device comprising: one or more piezoelectric modules; as well as A control module, wherein the control module is configured to implement the control method for an input device according to any one of claims 1-16.
18. A computer-readable storage medium having computer-executable instructions stored thereon, the computer-executable instructions being used to execute the control method for an input device according to any one of claims 1-16.