APPARATUS AND METHOD FOR FORCE SENSING, AND ELECTRONIC DEVICE
20230288992 · 2023-09-14
Inventors
Cpc classification
International classification
Abstract
An apparatus and a method for force sensing, and an electronic device. The apparatus includes at least one first sensor, at least one second sensor, and a comparator. The at least one first sensor generates a first signal, the at least one second sensor generates a second signal, and the comparator receives both the first signal and the second signal. The first signal is determined by deformation of a deformable portion and temperature at the deformable portion, and the second signal is determined by the temperature at the deformable portion. The comparator determines whether the deformable portion deforms based on the first signal, the second signal, and the threshold signal, and further generates the third signal which is in the active state in response to the determination being positive. The apparatus can make an accurate response when the deformation of the deformable portion serves as an input operation.
Claims
1. An apparatus for force sensing, located in an electronic device, wherein the electronic device comprises a deformable portion, and the apparatus comprises: at least one first sensor, configured to generate a first signal, wherein the first signal is determined by deformation of the deformable portion and temperature at the deformable portion; at least one second sensor, configured to generate a second signal, wherein the second signal is determined by the temperature at the deformable portion; and a comparator, configured to: receive the first signal and the second signal; determine whether the deformable portion deforms, based on the first signal, the second signal, and a threshold signal, wherein the threshold signal corresponds to a degree of the deformation; and generate a third signal, wherein the third signal is in an active state in response to determining that the deformable portion deforms.
2. The apparatus according to claim 1, wherein: one of the first signal and the threshold signal is compensated based on the second signal, to generate a compensated signal; and the comparator is further configured to generate the third signal by comparing the compensated signal with another of the first signal and the threshold signal.
3. The apparatus according to claim 1, wherein: the at least one first sensor comprises a first Wheatstone-bridge circuit and a first amplifier circuit; an arm of the first Wheatstone-bridge circuit comprises a first strain-sensitive element, and the first strain-sensitive element is attached to the deformable portion; the first amplifier circuit comprises a first operational amplifier, an inverting input terminal and a non-inverting input terminal of the first operational amplifier are coupled to two output terminals, respectively, of the first Wheatstone-bridge circuit, and an output terminal of the first operational amplifier is coupled to an input terminal of the comparator; and the first signal comprises a signal outputted from the output terminal of the first operational amplifier.
4. (canceled)
5. The apparatus according to claim 3, wherein: the first strain-sensitive element comprises two contacts separated by a gap, and a contact resistance between the two contacts changes monotonously with a width of the gap.
6. (canceled)
7. The apparatus according to claim 1, further comprising a buffer layer, wherein: the buffer layer is configured to buffer one or more of the at least one second sensor from the deformation of the deformable portion; the one or more second sensors comprises a second Wheatstone-bridge circuit and a second amplifier circuit; an arm of the second Wheatstone-bridge circuit comprises a second strain-sensitive element, and the second strain-sensitive element is attached to the buffer layer at a side away from the deformable portion; the second amplifier circuit comprises a second operational amplifier, an inverting input terminal and a non-inverting input terminal of the second operational amplifier are coupled to two output terminals, respectively, of the second Wheatstone-bridge circuit, and an output terminal of the second operational amplifier is coupled to another input terminal of the comparator; and the second signal comprises a signal outputted from the output terminal of the second operational amplifier.
8. (canceled)
9. The apparatus according to claim 8, wherein: the first signal is compensated based on the second signal, and the compensated signal is a difference between the first signal and the second signal.
10. The apparatus according to claim 2, wherein: the one of the first signal and the threshold signal is compensated based on a look-up table, and the look-up table records a corresponding relationship between the compensated signal and the second signal.
11. The apparatus according to claim 1, wherein: the threshold signal comprises a threshold signal for compression; the comparator is further configured to determine whether the deformable portion is squeezed, based on the first signal, the second signal, and the threshold signal for compression; and the third signal is in the active state in response to the deformable portion being squeezed.
12. The apparatus according to claim 1, wherein: the threshold signal comprises a threshold signal for tension; the comparator is further configured to determine whether the deformable portion is stretched, based on the first signal, the second signal, and the threshold signal for tension; and the third signal is in the active state in response to the deformable portion being stretched.
13. The apparatus according to claim 1, wherein: one of the at least one second sensor is attached to the deformable portion for contacting temperature sensing, or separated from the deformable portion by a gap for non-contacting temperature sensing, and the one of the at least one second sensor is located in proximity to the first strain-sensitive element.
14. The apparatus according to claim 1, wherein: one of the at least one second sensor is attached to at least a part of the first strain-sensitive element for contacting temperature sensing, or separated from at least a part of the first strain-sensitive element for non-contacting temperature sensing, at a side away from the deformable portion.
15. The apparatus according to claim 1, wherein: a quantity of the at least one first sensor is one, and a quantity of the at least one second sensor is more than one; and the second signal is obtained based on output signals from all second sensors.
16. The apparatus according to claim 15, wherein the second signal is obtained based on an average of the output signals from all second sensors; or wherein the second signal is obtained based on a weighted average of the output signals from all second sensors, and a weight of each output signal is determined by a distance between the first sensor and the corresponding second sensor.
17. (canceled)
18. The apparatus according to claim 1, wherein: a quantity of the at least one first sensor is more than one, and each of the at least one first sensor corresponds to one of the at least one second sensor; the first sensors are located at different regions of the deformable portion; and the comparator is further configured to determine whether each of the different regions deforms, based on an output signal of the corresponding first sensor, an output signal of the corresponding second sensor, and the threshold signal.
19. An electronic device, comprising: the apparatus according to claim 1; the deformable portion; and a hardware module, configured to receive the third signal, wherein a state of the hardware module changes in response to the third signal being in the active state.
20. (canceled)
21. (canceled)
22. A method for force sensing, applied to an electronic device, comprising: generating, by at least one first sensor, a first signal based on deformation of a deformable portion of the electronic device and temperature at the deformable portion; generating, by at least one second sensor, a second signal based on the temperature at the deformable portion; receiving the first signal and the second signal, by analog-to-digital comparator, comparator; determining, by the comparator based on the first signal, the second signal, and a threshold signal, whether the deformable portion deforms, wherein the threshold signal corresponds to a degree of the deformation; and generating a third signal by the comparator, wherein the third signal is in an active state in response to determining that the deformable portion deforms.
23. The method according to claim 22, wherein generating the third signal comprises: compensating one of the first signal and the threshold signal based on the second signal, to generate a compensated signal; and comparing, by the comparator, the compensated signal with another of the first signal and the threshold signal, to generate the third signal.
24. The method according to claim 22, wherein: the threshold signal comprises a threshold signal for compression; the determining whether the deformable portion deforms comprises: determining whether the deformable portion is squeezed, based on the first signal, the second signal, and the threshold signal for compression; and the third signal is in the active state in response to the deformable portion being squeezed.
25. The method according to claim 22, wherein: the threshold signal comprises a threshold signal for tension; the determining whether the deformable portion deforms comprises: determining whether the deformable portion is stretched, based on the first signal, the second signal, and the threshold signal for tension; and the third signal is in the active state in response to the deformable portion being stretched.
26. The method according to claim 22, wherein: a quantity of the at least one first sensor is more than one, and each of the at least one first sensor corresponds to one of the at least one second sensor; the first sensors are located at different regions of the deformable portion; and the determining whether the deformable portion deforms comprises: determining whether each of the different regions deforms, based on an output signal of the corresponding first sensor, an output signal of the corresponding second sensor, and the threshold signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Hereinafter briefly described are the drawings to be applied in embodiments of the present disclosure or conventional techniques. Other drawings may be obtained by those skilled in the art based on the provided drawings without creative efforts.
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0047] Hereinafter technical solutions in embodiments of the present disclosure are described in conjunction with the drawings in embodiments of the present disclosure. It is appreciated the described embodiments are only some rather than all of the embodiments of the present disclosure. Any other embodiments obtained based on the embodiments of the present disclosure by those skilled in the art without any creative effort fall within the scope of protection of the present disclosure.
[0048] As described in the background, a conventional force-sensitive or strain-sensitive input apparatus is subject to drifting output signals of the force sensor, and thereby gives incorrect result regarding whether the operational interface deforms. Hereinafter, part of details of such technical issue are described, where it is taken as example that the force sensor is based on a strain gauge. Those skilled in the art would appreciate that such technical issue is also applicable mutatis mutandis to other types of force sensor, as long as the force sensor is temperature-sensitive.
[0049] Reference is made to
[0050] A typical structure of the Wheatstone bridge includes an upper arm and a lower arm, each of which includes two resistors connected at a common node. Three of the four resistors are of fixed resistances, while the other is of a variable (or to-be-measured) resistance. Two ends of the upper arm are connected to two ends of the lower arm, respectively, and the two connection nodes serve as two output terminals of the Wheatstone bridge. The two common nodes in the upper arm and the lower arm serve as power supply terminals to the Wheatstone bridge. Therefore, in a case that the resistance of the three resistors and a voltage across the two power supply terminals are known, the to-be-measured resistance can be deduced from a voltage between the two output terminals. Those skilled in the art can easily obtain other variants of a Wheatstone-bridge circuit, which are not described in detail herein.
[0051] Reference is then made to
[0052] The ADC may be provided with an algorithm for determining whether the deformable portion 2 deforms, on a basis of the structure as shown in
[0053] In step S1, the output signal V.sub.OUT is converted into a digital signal.
[0054] The operational amplifier amplifies a difference between the input signals V.sub.IN1 and V.sub.IN2 simply to generate the output signal V.sub.OUT. Therefore, the output signal V.sub.OUT is an analog signal. As mentioned in the background, the ADC is configured to compare the output signal V.sub.OUT with a threshold signal V.sub.TH. Generally, a signal should be digital for comparison, and thereby the ADC needs to perform analog-to-digital conversion on the output signal V.sub.OUT. The threshold signal V.sub.TH may be preset as a digital level in the ADC, or may be a digital signal inputted into the ADC. The threshold signal V.sub.TH may alternatively be an analog signal inputted into the ADC. In such case, the ADC is further configured to convert the threshold signal V.sub.TH into a digital signal.
[0055] In step S2, it is determined whether the output signal V.sub.OUT is lower (or higher) than the threshold signal V.sub.TH. The algorithm goes to step S3 in case of positive determination, and goes to step S4 in case of negative determination.
[0056] For convenience of illustration, it is assumed that the two input signals V.sub.IN1 and V.sub.IN2 of the operational amplifier 32 are balanced, namely, identical in value, in a case that the strain gauge 31 is in a zero-strain state. The zero-strain state refers to that the strain gauge 31 is subject to neither tension nor compression. Those skilled in the art can appreciate various manners to implement such assumption. For example, in
[0057] Reference is made to
[0058] In step S3, the ADC indicates that the deformable portion deforms.
[0059] In step S4, the ADC indicates that the deformable portion does not deform.
[0060] Reference is further made to
[0061] The accuracy of the above algorithm depends on that the resistance of the strain gauge 31 can accurately reflect information of the force (or strain) at the deformable region. Such accuracy deteriorates when taking into the account that the force sensor 3 is sensitive to temperature.
[0062] Generally, the temperature coefficient of resistance of metal materials is greater than zero. Since the strain gauge 31 is attached to the deformable portion 2, the resistance of the metallic foil pattern in the strain gauge 31 is in a positive correlation with the temperature of the deformable portion 2. That is, a rise in resistance is expected when the temperature of the deformable portion 2 increases, and a drop in resistance is expected when the temperature of the deformable portion 2 decreases.
[0063] Reference is made to
[0064] Around a moment t.sub.0 when the temperature has already been decreased, an external force same as the one induces the deformation as shown in
[0065] According to embodiments of the present disclosure, a novel structure of an apparatus for force sensing is proposed, where another sensor is incorporated to provide temperature information that participates in the comparison of a comparator.
[0066] Reference is made to
[0067] The apparatus 20 includes at least one first sensor 21, at least one second sensor 22, and a comparator 23. In order to facilitate illustration, merely one of the at least one first sensor 21 and one of the at least one second sensor 22 are shown in
[0068] The at least one first sensor 21 is configured to generate a first signal V.sub.OUT1, and the first signal V.sub.OUT1 is determined by deformation of the deformable portion 11 and temperature at the deformable portion 11. The first sensor 21 may be implemented in various forms, as long as the first signal V.sub.OUT1 generated by the first sensor 21 is sensitive to both deformation and temperature of the deformable portion 11.
[0069] In one embodiment, the at least one first sensor 21 may include a Wheatstone-bridge circuit and an amplifier circuit. An arm of the Wheatstone-bridge circuit includes a strain-sensitive element, and the strain-sensitive element is attached to the deformable portion 11. The amplifier circuit includes an operational amplifier. An inverting input terminal and a non-inverting input terminal of the operational amplifier are coupled to two output terminals, respectively, of the Wheatstone-bridge circuit, and an output terminal of the operational amplifier is coupled to an input terminal of the comparator. The first signal V.sub.OUT1 includes a signal outputted from the output terminal of the operational amplifier.
[0070] In this embodiment, the strain-sensitive element is mainly configured to detect the deformation of the deformable portion 11. The detection is implemented through an electrical characteristic of the strain-sensitive element, which is influenced by the deformation of the deformable portion 11. For example, the electrical characteristic is related to a resistance, an inductance, or a capacitance of the strain-sensitive element. The Wheatstone-bridge circuit is an efficient approach to accurately measure the electrical characteristic of the strain-sensitive element, especially when the electrical characteristic is related to the inductance or the capacitance. It is appreciated that the Wheatstone-bridge circuit may be replaced by another appropriate circuit according to a practical situation of the electrical characteristic.
[0071] In one embodiment, the electrical characteristic of the strain-sensitive element is related to resistance or inductance. For example, the strain-sensitive element is a strain gauge. For another example, the strain-sensitive element includes two contacts separated by a gap, and a contact resistance (or inductance) between the two contacts changes monotonously with a width of the gap.
[0072] The amplifier circuit is mainly configured to amplify a measurement signal outputted from the Wheatstone-bridge circuit, so as to acquire the first signal V.sub.OUT1. In one embodiment, the amplification is implemented by the operational amplifier. The operational amplifier may be connected in various manners, for example, in an open-loop mode, in a closed-loop mode, in a negative-feedback mode, in a low-pass filter mode, or in an integrator-circuit mode. The present disclosure is not limited thereto, and another connection manner may be applicable as long as the measurement signal outputted from the Wheatstone-bridge circuit can be amplified.
[0073] Generally, the electrical characteristic of the strain-sensitive element is sensitive to temperature of the deformable portion 11. Therefore, even if the measurement of Wheatstone-bridge circuit (or another measurement circuit) and the amplification of the amplifier circuit are accurate, the first signal V.sub.OUT1 may not reflect the deformation accurately due to its dependency on the temperature.
[0074] The at least one second sensor 22 is configured to generate a second signal V.sub.OUT2, and the second signal V.sub.OUT2 is determined by the temperature at the deformable portion. The second sensor 22 may be implemented in various forms, as long as the second signal V.sub.OUT2 generated by the second sensor 22 is sensitive to temperature of the deformable portion 11. The second sensor 22 may be an analog sensor, and correspondingly the second signal V.sub.OUT2 is an analog signal. Alternatively, the second sensor 22 may be a digital sensor which is provided with a digital interface (such as an inter-integrated circuit interface or a serial peripheral interface), and correspondingly the second signal V.sub.OUT2 is a digital signal. The digital interface may be a part of the second sensor or a part of the comparator 23.
[0075] In one embodiment, the second sensor 22 may be insensitive to the deformation of the deformable portion 11. Since the second sensor 22 should reflect the temperature of the deformable portion 11 as accurate as possible, the second sensor is generally located inside or in proximity to the deformable portion. In such case, the second sensor 22 and the first sensor 21 may operate under different mechanisms, namely, may be of different types. For example, the second sensor 22 may be a temperature sensor IC, a thermopile, a thermal couple, or a thermal resistance.
[0076] In another embodiment, the second sensor 22 and the first sensor 21 may be of a same type. Therefore, the second sensor 22 and the first sensor 21 may be prepared in a same process, which facilitates fabrication of the apparatus 20. In such case, it is preferable that the second sensor 22 is insensitive to the deformation of the deformable portion 11 as much as possible. For example, the apparatus 20 further includes a buffer layer, and the buffer layer is configured to buffer one or more of the second sensor 22 from the deformation of the deformable portion. For another example, the deformable portion may be a sheet of material, such as a film or a membrane, and the second sensor includes two sub-sensors located at two opposite sides of a same position on the sheet. In a case that one sub-sensor is subject to a tensile force, the other sub-sensor is subject to a corresponding compressive force, and therefore information of the deformation may be neutralized in the second signal V.sub.OUT2 by combining output signals from the two sub-sensors. Other manners of eliminating an influence of the deformation on the second sensor 22 may also be applicable.
[0077] In one embodiment, the second sensor 22 and the first sensor 21 may be identical to each other.
[0078] The comparator 23 is configured to receive the first signal V.sub.OUT1 and the second signal V.sub.OUT2. It is appreciated that the reception of the first signal V.sub.OUT1 and the second signal V.sub.OUT2 may be implemented by coupling output terminals of the first sensor 21 and the second sensor 22 to input terminals of the comparator 23. The comparator 23 may be an analog-to-digital comparator, or may include an analog-to-digital converter and a processor for comparing digital signals.
[0079] The comparator is further configured to determine whether the deformable portion 11 deforms, based on the first signal V.sub.OUT1, the second signal V.sub.OUT2, and a threshold signal V.sub.TH. The threshold signal V.sub.TH corresponds to a degree of the deformation which is to be recognized by the electronic device 10. The threshold signal V.sub.TH may be preset as a digital level in the comparator 23, or may be a digital signal inputted into the comparator 23. Alternatively, the threshold signal V.sub.TH may be an analog signal inputted into the comparator 23, and the comparator 23 converts the threshold signal V.sub.TH into a digital signal before applying the threshold signal V.sub.TH.
[0080] The comparator 23 may determine whether the deformable portion 11 deforms in various manners. In one embodiment, the determination is carried out by comparing levels of the first signal V.sub.OUT1, the second signal V.sub.OUT2, and the threshold signal V.sub.TH. As discussed above, the temperature at the deformable portion 11 has an influence on comparison between the first signal V.sub.OUT1 and the threshold signal V.sub.TH, which results in erroneous determination of the deformation. Since the second signal V.sub.OUT2 reflects the temperature at the deformable portion 11, it can serve as a basis for compensating such influence. That is, either the first signal V.sub.OUT1 or the threshold signal V.sub.TH may be compensated based on the second signal V.sub.OUT2 before the comparison. For example, the comparator may compensate the first signal V.sub.OUT1 based on the second signal V.sub.OUT2, and compares the compensated first signal V.sub.OUT1 and the threshold signal V.sub.TH to determine whether the deformable portion 11 deforms. For another example, the comparator may compensate the threshold signal V.sub.TH based on the second signal V.sub.OUT2, and compares the first signal V.sub.OUT1 and the compensated threshold signal V.sub.TH to determine whether the deformable portion 11 deforms.
[0081] The comparator 23 is further configured to generate a third signal V.sub.OUT3, and the third signal V.sub.OUT3 is in an active state in response to determining that the deformable portion deforms. The specific active state of the third signal V.sub.OUT3 is based on a practical situation, which is not limited herein, as long as the active state is distinguishable in the third signal V.sub.OUT3 and serves as an indication of the deformation of the deformable portion 11. For example, the active state may be a high level or “1”, or may be a low level or “0”.
[0082] Corresponding to the above functions, an operating algorithm of the comparator 23 may be as shown in
[0083] In step S11, the first signal V.sub.OUT1 is converted into a digital signal.
[0084] In step S12, the second signal V.sub.OUT2 is converted into a digital signal. It is appreciated that the step S12 may be omitted in a case that the second signal V.sub.OUT2 is a digital signal.
[0085] The first signal V.sub.OUT1 is an analog signal when outputted from the first sensor 21. The second signal V.sub.OUT2 may be an analog signal when outputted from the second sensor 22. Generally, a signal should be digital for comparison or calculation. Therefore, the comparator 23 needs to perform analog-to-digital conversion on the first signal V.sub.OUT1 (or the first signal V.sub.OUT1 and the second signal V.sub.OUT2), before the determination based on the two signals and the threshold signal V.sub.TH.
[0086] In step S13, the first signal V.sub.OUT1 or the threshold signal V.sub.TH is compensated based on the second signal V.sub.OUT2. In this step, the second signal V.sub.OUT2 is applied to eliminate an influence of the temperature on the first signal V.sub.OUT1. It is appreciated that in some embodiments, both the first signal V.sub.OUT1 and the threshold signal V.sub.TH may be compensated partially based on the second signal V.sub.OUT2, as long as information of the temperature in the first signal V.sub.OUT1 and the second signal V.sub.OUT2 can neutralize each other.
[0087] In step S14, it is determined whether the first signal V.sub.OUT1 is lower (or higher) than the compensated threshold signal V.sub.TH, or it is determined whether the compensated first signal V.sub.OUT1 is lower (or higher) than the threshold signal V.sub.TH. The operating algorithm goes to step S15 in case of positive determination, and goes to step S16 in case of negative determination.
[0088] Whether the determination concerns being lower than the threshold signal V.sub.TH or being higher than the threshold signal V.sub.TH depends on a practical situation. In a case that the deformation would cause a rise in the first signal V.sub.OUT1, the threshold signal (or the compensated threshold signal) V.sub.TH is generally set to be a level higher than the compensated first signal (or the first signal) V.sub.OUT1 at a referential state, and the determination is whether being higher the threshold signal V.sub.TH. In a case that the deformation would cause a drop in the first signal V.sub.OUT1, the threshold signal (or the compensated threshold signal) V.sub.TH is generally set to be a level lower than the compensated first signal (or the first signal) V.sub.OUT1 at the referential state, and the determination is whether being lower than the threshold signal V.sub.TH. The referential state refers to that the deformable portion is subject to no deformation or a preset referential degree of deformation. Hereinafter the compensated first signal V.sub.OUT1 (or the first signal V.sub.OUT1, when the threshold signal V.sub.TH is compensated) at the referential state is referred to as a reference signal V.sub.REF.
[0089] It is noted that when the first signal V.sub.OUT1 is equal to the compensated threshold signal V.sub.TH or the compensated first signal V.sub.OUT1 is equal to the threshold signal V.sub.TH, the comparator 23 may determine that the deformable portion 11 deforms, or determine that the deformable portion does not deform, according to a practical requirement.
[0090] In step S15, the third signal V.sub.OUT3 is outputted in the active state. The active state indicates that the deformable portion 11 deforms.
[0091] In step S16, the third signal V.sub.OUT3 is outputted in an inactive state. The inactive state is one or more states of the third signal V.sub.OUT3 other than the active state, and indicates that the deformable portion 11 does not deform.
[0092] In one embodiment, the third signal V.sub.OUT3 may be transmitted to a hardware module 12 of the electronic device 10. The hardware module 12 is configured to receive the third signal V.sub.OUT3, and a state of the hardware module 12 changes in response to the third signal being in the active state
[0093] In the apparatus 20 for force sensing according to above embodiments of the present disclosure, the at least one first sensor 21 generates the first signal V.sub.OUT1, the at least one second sensor 22 generates the second signal V.sub.OUT2, and the comparator 23 receives both the first signal V.sub.OUT1 and the second signal V.sub.OUT2. The first signal V.sub.OUT1 is determined by the deformation of the deformable portion and temperature at the deformable portion 11, and the second signal V.sub.OUT2 is determined by the temperature at the deformable portion 11. The comparator 23 determines whether the deformable portion 11 deforms based on the first signal V.sub.OUT1, the second signal V.sub.OUT2, and the threshold signal V.sub.TH, and further generates the third signal V.sub.OUT3 which is in the active state in response to the determination being positive. With the aid of the second sensor 22, the comparator 23 is capable to apply the second signal V.sub.OUT2 to eliminate the influence of the temperature on the first signal V.sub.OUT1, and make proper comparison between the first signal V.sub.OUT1 and the threshold signal V.sub.TH. Therefore, the determination of the comparator 23 is immune or insensitive to the temperature at the deformable portion 11, and the active state of the third signal V.sub.OUT3 can indicate the deformation of the deformable portion 11 accurately. Correspondingly, the electronic device 10 applying the apparatus 20 can make an accurate response when the deformation of the deformable portion 11 serves as an input operation.
[0094] Hereinafter some embodiments are provided for better understanding of technical solutions of the present disclosure. The present disclosure is not limited to these embodiments.
[0095] Reference is made to
[0096] Those skilled in the art can appreciate that topologies of the first Wheatstone-bridge circuit 211 and the first amplifier circuit 212 are merely exemplary, and other variants of the topologies may be obtained without creative efforts. For example, any resistor in the first Wheatstone-bridge circuit 211 may be replaced by any quantity of resistors connected in series, parallel, or a combination of the two. For another example, the first operational amplifier 2120 may be connected in a closed-loop mode, a negative-feedback mode, a low-pass filter mode, or an integrator-circuit mode, instead of the depicted open-loop mode. Further, the connection between the two output terminals of the first Wheatstone-bridge circuit 211 and the two input terminals of the first operational amplifier 2120 may be switched, namely, the signal V.sub.IN1 is inputted into the non-inverting input terminal while the signal V.sub.IN2 is inputted into the inverting input terminal.
[0097] Reference is further made to
[0098] Different from the example as shown in
[0099] For convenience of illustration, it is assumed that the second sensor is a temperature detector attached to the deformable portion, and the second signal V.sub.OUT2 is represented by the detected temperature at the deformable portion. Table I is a look-up table recording a corresponding relationship between the second signal V.sub.OUT2 and the threshold signal V.sub.TH.
TABLE-US-00001 TABLE I Look-up table for V.sub.OUT2 and V.sub.TH V.sub.OUT2 (° C.) −20 0 20 40 60 80 Compensated V.sub.TH (V) 1.18 1.41 1.57 1.76 1.92 2.05
[0100] The look-up table as shown in Table I records seven value pairs of the second signal V.sub.OUT2 and the threshold signal V.sub.TH. In a case that the second signal V.sub.OUT2 indicates that the temperature at the deformable portion 11 is equal to −20° C., 0° C., 20° C., 40° C., 60° C., or 80° C., a corresponding level of the threshold signal V.sub.TH can be directly read from the look-up table. Namely, the compensated threshold signal V.sub.TH can be directly acquired. In a case that the second signal V.sub.OUT2 indicates temperature is another value, the threshold signal can be obtained through interpolation (or extrapolation) based on a following equation.
[0101] V.sub.OUT2_X represents the indicated temperature indicated by the second signal V.sub.OUT2. V.sub.THX represents a value of the threshold signal V.sub.TH corresponding to V.sub.OUT2_X, namely, the compensated threshold signal V.sub.TH to be acquired. V.sub.OUT2_0 and V.sub.OUT2_1 represent two adjacent values of temperature recorded in the look-up table. V.sub.OUT2_X is located in a range defined by V.sub.OUT2_0 and V.sub.OUT2_1 (for interpolation), or outside and in proximity to the range defined by V.sub.OUT2_0 and V.sub.OUT2_1 (for extrapolation). V.sub.TH0 and V.sub.TH1 represent values of the threshold signal V.sub.TH that correspond to V.sub.OUT2_0 and V.sub.OUT2_1, respectively.
[0102] It is appreciated that the values and the quantity of value pairs recorded in the look-up table of the above example are merely exemplary, and may be configured otherwise according to a practical situation. Generally, stable compensation requires that a difference between the threshold signal V.sub.TH and the reference signal V.sub.REF is constant or preset. Therefore, the look-up table may be configured based on a corresponding relationship between the second signal V.sub.OUT2 and the reference signal V.sub.REF (as shown in Table II, where the difference is set to be 0.1V as an example). That is, values of the drifting reference signal V.sub.REF corresponding to values of the second signal V.sub.OUT2 (for example, corresponding to multiple temperature points) may be first acquired, and then the corresponding values of the compensated threshold signal V.sub.TH are recorded based on the values of the drifting reference signal V.sub.REF and the difference between the threshold signal V.sub.TH and the reference signal V.sub.REF. In other words, the threshold signal V.sub.TH is compensated “toward” the drifting reference signal V.sub.REF. As an example, the corresponding relationship between the second signal V.sub.OUT2 and the reference signal V.sub.REF may be as shown in Table II, where the corresponding relationship in Table I could be directly derived based on Table II when the difference between the threshold signal V.sub.TH and the reference signal V.sub.REF is 0.1V.
TABLE-US-00002 TABLE II Look-up table for V.sub.OUT2 and V.sub.REF V.sub.OUT2 (° C.) −20 0 20 40 60 80 Compensated V.sub.REF (V) 1.08 1.3 1.47 1.66 1.82 1.95
[0103] Alternatively, the compensated threshold signal V.sub.TH may be calculated from the second signal V.sub.OUT2 through a preset equation.
[0104] It is further appreciated that the first signal V.sub.OUT1 may be compensated in manners similar to those for the threshold signal V.sub.TH. In such case, the first signal V.sub.OUT1 and the reference signal V.sub.REF may be compensated “toward” the threshold signal V.sub.TH based on the constant or preset difference between the threshold signal V.sub.TH and the reference signal V.sub.REF. Unlike the threshold signal V.sub.TH, the first signal V.sub.OUT1 is subject to deformation at the deformable portion 11, and therefore the compensated values of the first signal V.sub.OUT1 is based on both the second signal V.sub.OUT2 and actual values of the first signal V.sub.OUT1. A compensation amount for the first signal V.sub.OUT1 is equal to a drifting amount of the reference signal V.sub.REF, which may be obtained based on the second signal V.sub.OUT2 in a manner similar to that for obtaining the compensated threshold signal V.sub.TH, for example, from a look-up table or a preset equation. Then, the compensated first signal V.sub.OUT1 is acquired by adding the compensation amount to the first signal V.sub.OUT1 or subtracting the compensation amount from the first signal V.sub.OUT1.
[0105] References are further made to
[0106] In case A, the threshold signal V.sub.TH is compensated and thereby increased gradually, following the reference signal V.sub.REF. In case B, the first signal V.sub.OUT1 is compensated, and thereby the reference signal V.sub.REF is unchanged, following the threshold signal V.sub.TH. Around a moment t.sub.0, an external force same as the one induces the deformation as shown in
[0107] In this embodiment, it is taken as an example that the threshold signal V.sub.TH is lower than the reference signal V.sub.REF, the deformation induces a valley in the first signal V.sub.OUT1, the temperature is subject to a decrease, and the compensation would prevent the comparator 23 from giving a “false negative” result when determining whether the deformable portion 11 deforms. Another embodiment may be obtained by analogy, which also falls within the scope of the present disclosure. For example, the threshold signal V.sub.TH is higher than the reference signal V.sub.REF and the deformation induces a peak in the first signal V.sub.OUT1. For another example, the temperature is subject to an increase, and the compensation would prevent the comparator 23 from giving a “false positive” result when determining whether the deformable portion 11 deforms.
[0108] As mentioned above, the second sensor 22 and the first sensor 21 may be of a same type, which can facilitate fabrication of the apparatus 20. Such configuration may require the second sensor 22 to be insensitive to the deformation of the deformable portion 11.
[0109] Reference is made to
[0110] Unlike the first strain-sensitive element 2110 directly attached to the deformable portion 11, the second strain-sensitive element 2210 may be separated from the deformation by the buffer layer 24. The buffer layer 24 may be made of any material or any structure that is capable to buffer the deformation and has a high thermal conductivity. For example, the buffer layer may be polymer material, elastic material, a spring, or a cushion sheet with adhesive on both sides.
[0111] In one embodiment, the first strain-sensitive element 2110 and the second strain-sensitive element 2210 may be identical to each other, which further facilitates design and fabrication of the apparatus 20. Other elements between the two Wheatstone-bridge circuits and the two amplifier circuits may be identical, or may be selected to ensure that the dependency of first signal V.sub.OUT1 and the second signal V.sub.OUT2 have a same dependency on the electrical characteristic of the strain-sensitive elements 2110 and 2210. Accordingly, the compensation on the first signal V.sub.OUT1 based on the second signal V.sub.OUT2 may be simplified as calculating a difference between the first signal V.sub.OUT1 and the second signal V.sub.OUT2. In such case, the operating algorithm of the comparator 23 may include steps S21 to S26 as shown in
[0112] In step S21, the first signal V.sub.OUT1 is converted into a digital signal.
[0113] In step S22, the second signal V.sub.OUT2 is converted into a digital signal. It is appreciated that the step S22 may be omitted in a case that the second signal V.sub.OUT2 is a digital signal.
[0114] Details of the steps S21 and S22 may refer to description of the steps S11 and S12, which is not described again herein.
[0115] In step S23, a difference between the first signal V.sub.OUT1 and the second signal V.sub.OUT2, namely, V.sub.OUT1−V.sub.OUT2, is calculated. Since the first signal V.sub.OUT1 and the second signal V.sub.OUT2 have a same dependency on the electrical characteristic of the strain-sensitive elements 2110 and 2210, the difference would be zero in case of the reference temperate and the reference degree of deformation (that is, the difference at the reference state is zero). In response to the deformation of the deformable portion 11, the first signal V.sub.OUT1 is subject to an increase or a decrease, while the second signal V.sub.OUT2 is unchanged or subject to little variation due to the deformation is buffered by, for example, the buffer layer 24. In response to a change in the temperature at the deformable portion 11, the first signal V.sub.OUT1 and the second signal V.sub.OUT2 are subject to same or approximate changes, due to high thermal conductivity of the buffer layer 24. Therefore, the difference between the first signal V.sub.OUT1 and the second signal V.sub.OUT2 is substantially equal to a change in the first signal V.sub.OUT1 which is solely caused by the deformation of the deformable region 11. Namely, an influence of the temperature on the first signal V.sub.OUT1 is eliminated.
[0116] Reference is made to
[0117] In step S24, it is determined whether the difference between the first signal V.sub.OUT1 and the second signal V.sub.OUT2 is lower (or higher) than the threshold signal V.sub.TH. The operating algorithm goes to step S25 in case of positive determination, and goes to step S26 in case of negative determination. Since the influence of the temperature on the first signal V.sub.OUT1 has been eliminated in the step S23, the threshold signal V.sub.TH may be directly set based on the threshold preset without considering the temperature, i.e., based on a to-be-recognized degree of the deformation.
[0118] In step S25, the third signal V.sub.OUT3 is outputted in the active state. The active state indicates that the deformable portion 11 deforms.
[0119] In step S26, the third signal V.sub.OUT3 is outputted in an inactive state. The inactive state is one or more states of the third signal V.sub.OUT3 other than the active state, and indicates that the deformable portion 11 does not deform.
[0120] Details of the steps S25 and S26 may refer to description of the steps S15 and S16, which is not described again herein.
[0121] The threshold signal V.sub.TH may include a set of signals, based on a quantity of degrees of the deformation that are to be recognized by the hardware model 12. For example, the threshold signal V.sub.TH may include one or more signals for compression, such that different degrees of compression (or squeezing input operations) can be recognized by the hardware model 12. Alternatively or additionally, the threshold signal V.sub.TH may include one or more signals for tension, such that different degrees of tension (or stretching input operations) can be recognized by the hardware model 12. Reference is made to
[0122] The operating algorithm shown in
[0123] In step S341, it is determined whether the compensated first signal V.sub.OUT1 is lower (or higher) than the signal V.sub.TH1 for compression. The operating algorithm goes to step S351 in case of positive determination, and goes to step S342 in case of negative determination.
[0124] In step S342, it is determined whether the compensated first signal V.sub.OUT1 is higher (or lower) than the signal V.sub.TH2 for tension. The operating algorithm goes to step S352 in case of positive determination, and goes to step S32 in case of negative determination.
[0125] Some details of the steps S341 and S342 may refer to the description of the step S14, and are not repeated herein. It is noted that although the step S341 is performed before the step S342 in
[0126] In step S351, the third signal V.sub.OUT3 is outputted in a first active state. The first active state may indicate that the deformable portion 11 is squeezed (or stretched).
[0127] In step S352, the third signal V.sub.OUT3 is outputted in a second active state. The second active state may indicate that the deformable portion 11 is stretched (or squeezed).
[0128] It is appreciated that either of the first active state or the second active state may indicate a squeezing input on the deformable portion 11, as long as the other indicate a stretching input. The first active state and the second active state may be a same state or different states according to a practical requirement. For example, the first active state and the second active state may be identical in a case that the electronic device are configured to trigger a same operation in response to both a squeezing input and a stretching input.
[0129] The first sensor 21 and the second sensor 22 may be attached to the deformable portion 11 in various manners. Reference is made to
[0130] In one embodiment, both the first sensor 21 and the second sensor 22 are attached to the deformable portion 11, and the second sensor 22 is in proximity to the first sensor 21, as shown in
[0131] In another embodiment, the second sensor 22 is attached to at least a part of the first sensor 21 at a side away from the deformable portion 11, as shown in
[0132] In another embodiment, the second signal V.sub.OUT2 may be generated by detecting the temperature of the deformable portion 110 in a non-contacting manner. For example, the temperature is detected based on infrared light or visible light. In such case, there may be a gap between the second sensor 22 and the deformable portion 110, as shown in
[0133] It is appreciated that in some embodiments, a part of the second sensor 22 may be attached to the first sensor 21, while another part of the second sensor 22 may be attached to the deformable region 11.
[0134] As described above, the first sensor 21 and the second sensor 22 are of a same type. For example, the first sensor 21 and the second sensor 22 may include the first strain-sensitive element 2110 and the second strain-sensitive element 2210, respectively, and the apparatus 20 includes a buffer layer 24 which buffers the second sensor 22 from deformation of the deformable portion 11, as shown in
[0135] In some embodiments, there may be multiple first sensors 21 or multiple second sensors 22. For example, each first sensor 21 may correspond to one or more second sensors 22, or each second sensor 22 may correspond to one or more first sensors 21.
[0136] In one embodiment, the first signal V.sub.OUT1 is generated by one first sensor 21, while the second signal V.sub.OUT2 are generated by multiple second sensors 22. Namely, information of the deformation is detected by one channel, and information of the temperature is compensated based on multiple channels. In such case, the second signal V.sub.OUT2 may be obtained based on output signals from all of the multiple second sensors 22. For example, the second signal V.sub.OUT2 is an average of those output signals. For another example, the second signal V.sub.OUT2 is a weighted average of those output signals, where a weight of each output signal is determined by a distance between the first sensor 21 and the second sensor 22 that corresponds to such output signal. The second signal V.sub.OUT2 may be calculated in other appropriate manners, which is not enumerated herein.
[0137] In one embodiment, there may be multiple first sensors 21, each of which corresponds to one second sensor 22. The multiple first sensors 21 may be located at different regions of the deformable portion 11. Each region may correspond to one or more first sensors that operate as a group, and each group of first sensors 21 generates a channel of the first signal V.sub.OUT1 that is coupled to the comparator 23. The comparator 23 is further configured to determine whether each of the different regions deforms, based on an output signal of the corresponding first sensor(s) 21, an output signal of the second sensor(s) 22 corresponding to such first sensor(s) 21, and the threshold signal V.sub.TH.
[0138] An electronic device is further provided according to embodiments of the present disclosure. Reference is made to
[0139] The electronic device 10 may include a mobile phone, a watch, glasses, an earbud, a keyboard, a tablet, or the like. The apparatus 20 for force sensing may be configured based on a structure of the electronic device 10 in practice. For example, the electronic device 10 is an earbud, a housing of the earbud includes a deformable cap (an outer shell), and a user can operate the earbud by squeezing or pressing the deformable cap. In such case, the apparatus 20 for force sensing may be located inside the housing, and the first sensor 21 (or the first strain-sensitive element 2110) is attached to an inner side of the deformable cap. The second sensor 22 may be attached to the inner side of the deformable cap or attached to the first sensor 21, similar to the embodiments as shown in
[0140] A method for force sensing is further provided according to embodiments of the present disclosure. The method is applied to an electronic device, and may include steps S101 to S105.
[0141] In step S101, at least one first sensor generates a first signal, based on deformation of a deformable portion of the electronic device and temperature at the deformable portion.
[0142] In step S102, at least one second sensor generates a second signal based on the temperature at the deformable portion.
[0143] A sequence of the step S101 and the step S102 is not limited here. The step S101 may be performed before, after, or when the step S102 is performed.
[0144] In step S103, a comparator receives the first signal and the second signal.
[0145] In step S104, the comparator determines, based on the first signal, the second signal, and a threshold signal, whether the deformable portion deforms. The threshold signal corresponds to a degree of the deformation.
[0146] In step S105, the comparator generates a third signal which is in an active state in response to determining that the deformable portion deforms.
[0147] In one embodiment, the step S105 includes steps S1051 and S1052.
[0148] In step S1051, one of the first signal and the threshold signal is compensated based on the second signal, to generate a compensated signal.
[0149] In step S1052, the comparator compares the compensated signal with another of the first signal and the threshold signal, to generate the third signal.
[0150] It is appreciated that the steps S1051 may be implemented by the comparator, or implemented by another functional circuit.
[0151] In one embodiment, the threshold signal may include a threshold signal for compression. The step S104 includes that the comparator determines whether the deformable portion is squeezed, based on the first signal, the second signal, and the threshold signal for compression. The third signal is in the active state in response to the deformable portion being squeezed.
[0152] In one embodiment, the threshold signal may include a threshold signal for tension. The step S104 includes that the comparator determines whether the deformable portion is stretched, based on the first signal, the second signal, and the threshold signal for tension. The third signal is in the active state in response to the deformable portion being stretched.
[0153] In one embodiment, there are multiple first sensors, each of which corresponds to one second sensor, and the multiple first sensors are located at different regions of the deformable portion. The step S104 includes that the comparator determines whether each of the different regions deforms, based on an output signal of the corresponding first sensor, an output signal of the corresponding second sensor, and the threshold signal.
[0154] The embodiments of the present disclosure are described in a progressive manner, and each embodiment places emphasis on the difference from other embodiments. Therefore, one embodiment can refer to other embodiments for the same or similar parts. Since the methods disclosed in the embodiments correspond to the apparatuses disclosed in the embodiments, the description of the methods is simple, and reference may be made to the relevant part of the apparatuses.
[0155] According to the description of the disclosed embodiments, those skilled in the art can implement or use the present disclosure. Various modifications made to these embodiments may be obvious to those skilled in the art, and the general principle defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to the embodiments described herein but confirms to a widest scope in accordance with principles and novel features disclosed in the present disclosure.