WO2017206052A1 - 用于检测压力的方法和装置 - Google Patents
用于检测压力的方法和装置 Download PDFInfo
- Publication number
- WO2017206052A1 WO2017206052A1 PCT/CN2016/084030 CN2016084030W WO2017206052A1 WO 2017206052 A1 WO2017206052 A1 WO 2017206052A1 CN 2016084030 W CN2016084030 W CN 2016084030W WO 2017206052 A1 WO2017206052 A1 WO 2017206052A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- region
- pressure
- parameter
- function
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0414—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
- G06F3/0445—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means using two or more layers of sensing electrodes, e.g. using two layers of electrodes separated by a dielectric layer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/041—Indexing scheme relating to G06F3/041 - G06F3/045
- G06F2203/04105—Pressure sensors for measuring the pressure or force exerted on the touch surface without providing the touch position
Definitions
- the present invention relates to the field of terminal devices and, more particularly, to a method and apparatus for detecting pressure.
- Mobile electronic devices have brought convenience to people's daily work and have become an indispensable tool for people.
- input devices for mobile electronic devices such as buttons, mice, joysticks, laser pointers, and touch screens.
- Touch technology has been rapidly applied to various electronic devices due to its good interactivity, and the technology has matured, and various possible applications based on the technology have been fully exploited.
- Pressure referred to as "F” detection technology adds another dimension information based on the location information provided by the touch technology. Based on the input pressure information, various applications can be developed, which brings a kind of use for people to use electronic devices. A new operating experience. For example, the screen presses a pop-up menu or a "small ball", and the pressure is increased to speed up the page up, left and right scrolling speed, tactile feedback and the like.
- the main methods of pressure detection technology are inductive, resistive, capacitive, piezoelectric and micro-electromechanical systems.
- Portable electronic devices are limited by the space and structure of the motherboard.
- the detection pressure mainly uses array strain gauges and array capacitors. Since the touch detection technology currently applied to most portable electronic devices uses a capacitive sensing array, the pressure detection technology uses array capacitors as a major advantage in detecting pressure.
- pressure detection requires not only the detection of the presence or absence of pressure, but also the detection of the magnitude of the pressure, ie the accurate pressure measurement.
- the prior art electronic device cannot accurately calculate the pressure based on the detected feature data ("Rawdata”, abbreviated as "R”).
- Embodiments of the present invention provide a method and apparatus for detecting pressure, which are capable of determining a correspondence between a pressure applied to an electronic device and the detected feature data according to the acquired plurality of sets of sample data.
- a method for detecting pressure includes: acquiring a plurality of sample data of a first electronic device, each sample data of the plurality of sample data of the first electronic device And including the preset pressure of the first electronic device and the feature data of the first electronic device, where the feature data of the first electronic device is obtained by detecting an electrical signal of the first electronic device, and the electrical signal of the first electronic device Forming, by the sensing electrode of the first electronic device, a deformation signal generated by applying a preset pressure of the first electronic device to an input medium of the first electronic device; and according to the plurality of sample data of the first electronic device Determining a characteristic data-pressure RF function of the first electronic device, the RF function representing a correspondence between a pressure applied to an input medium of the first electronic device and the detected feature data.
- each sample data includes preset pressure and feature data
- the first electronic device includes a sensing electrode
- the sensing electrode applies a preset pressure to the input medium of the first electronic device
- the detecting circuit detecting the electrical signal to obtain characteristic data
- the function is used by the first electronic device to determine the pressure corresponding to the feature data detected when the force is applied, thereby promoting various applications based on the pressure information and improving the user experience.
- the input medium of the first electronic device includes a plurality of regions, each of the plurality of regions corresponding to the at least one sensing electrode; Acquiring the plurality of sample data of the first electronic device, comprising: acquiring a plurality of sample data of the first region of the input medium of the first electronic device, where each sample data of the plurality of sample data of the first region includes the first a preset pressure of the area and characteristic data of the first area, the feature data of the first area is obtained by detecting an electrical signal of the first area, and the electrical signal of the first area is corresponding to the first area Determining, by the sensing electrode, a predetermined pressure applied to the first region to transform the deformation signal generated on the first region; wherein determining the RF function of the first electronic device according to the plurality of sample data of the first electronic device The method includes: determining, according to the plurality of sample data of the first region, a first RF function of the first region, the first
- the embodiment of the present invention can divide the input medium into multiple regions, each region is regarded as a logical channel, and each logical channel corresponds to one or more sensing electrodes according to a certain rule. Obtain sample data in different areas to determine each area that acts on the input medium.
- the characteristic data is obtained by converting the deformation signal into an electrical signal through the sensing electrode, and detecting the electrical signal through the detecting circuit, so that the same pressure acts on different regions of the first electronic device According to the characteristic data detected in different areas, the calculated pressure is the same, that is, the consistency of the full screen pressure output is achieved.
- the method further comprises: determining, according to the first RF function, a second input medium of the second electronic device a second RF function corresponding to the region, wherein the curve corresponding to the second RF function is obtained by the left and right translation, the up and down translation, and/or the up and down rotation by the first RF curve corresponding to the first RF function, and the second RF function is used for Determining, by the second electronic device, a pressure corresponding to the feature data of the second region detected when the second region is subjected to a force, a position of the second region on the input medium of the second electronic device, and the first region The position on the input medium of the first electronic device corresponds.
- the initial distances of the sensing electrodes of different electronic devices may be different, chip differences may cause deviations in the gain G of the amplifier circuit in the detection circuit of different electronic devices, and the difference in thickness of the cover plate will be It may cause differences in the elastic stiffness coefficient k in the input medium of different electronic devices. Therefore, the R-F function of the same area of different electronic devices may be different.
- the device for detecting pressure compares a certain electronic device (which can be regarded as a prototype) according to the known relationship between pressure and characteristic data, the calculated parameters a, b, c, d are used for all other electronic devices. Calculating the pressure, there may be a large deviation in the pressure calculated by other electronic devices. If each electronic device is pre-pressed to obtain parameters a, b, c, and d, it will take a lot of time because multiple regions are divided by the full screen.
- the detected characteristic data of the other electronic devices produced in batches can be determined as a function of the pressure according to the first RF function of the prototype, thereby Improves the accuracy of pressure calculations and improves configuration efficiency.
- the determining, according to the first RF function, the second region corresponding to the input medium of the second electronic device includes: determining, according to the first feature data, the second feature data, the first pressure, and the first RF function, a first parameter, a second parameter, and a third parameter, the first parameter indicating the first RF The amount of stretching or contraction of the curve, the second parameter indicating the amount of translation of the first RF curve up or down, and the third parameter indicating the amount of translation of the first RF curve to the left or right,
- the first characteristic data is a preset non-zero pressure, and the first characteristic data is obtained by applying zero-pressure to the second region to detect an electrical signal of the sensing electrode corresponding to the second region, and the second characteristic data is And determining, by the first pressure, an electrical signal of the sensing electrode corresponding to the second region on the second region; determining the second RF function according to the first parameter, the
- the second electronic device also divides its own input medium into the same area as the first electronic device, and determines its own second R-F function according to the corresponding area. In this way, the second electronic device needs to determine the second R-F function according to each region of the first electronic device, so that each region of the second electronic device can obtain an accurate second R-F function to achieve consistency of full-screen pressure output.
- determining, according to the first RF function, a second region corresponding to the second region of the input medium of the second electronic device includes: determining, according to the first feature data, the second feature data, the first pressure, and the first RF function, the first parameter, the second parameter, and the third parameter, the first parameter indicating the first RF curve
- the amount of stretching or contraction the second parameter represents the amount of translation of the first RF curve up or down
- the third parameter represents the amount of translation of the first RF curve to the left or to the right, wherein the first pressure
- the third feature data is obtained by substituting the third feature data into the first RF function, and the third feature data is detected by the preset second pressure on the third region of the input medium of the first electronic device to detect the corresponding region.
- the first characteristic data is obtained by detecting zero-pressure to an electrical signal of the sensing electrode corresponding to the second region on a fourth region of the input medium of the second electronic device
- the second characteristic data is obtained by applying the second pressure to the fourth area to detect an electrical signal of the sensing electrode corresponding to the second area, the position of the third area on the input medium of the first electronic device and the The fourth area corresponds to a position on the input medium of the second electronic device; and the second RF function is determined according to the first parameter, the second parameter, and the third parameter.
- the RF curve corresponding to the same region may be different due to differences in chip, initial spacing of the sensing electrodes, thickness of the cover plate, and the like.
- the deformation state of the other identical position corresponding to the first electronic device and the second electronic device is the same, that is, equivalent to the position The strength is the same.
- a third region of the input is assumed impose a first electronic media device F 1 'presses impose feature data F 1 is pressed to cause the first detection region in a first area of the input of the first electronic media device is the same.
- the second characteristic data obtained by the formed electrical signal and the first pressure are used to estimate the first parameter, the second parameter, and the third parameter. That is, the expression of the second RF function is estimated such that the expression corresponding to the estimated second RF function can calculate the pressure value corresponding to the second characteristic data and the first pressure deviation actually acting on the second region Smaller.
- the first RF function is:
- a device for detecting pressure comprising modules for performing the method of the first aspect or any of the possible implementations of the first aspect.
- an apparatus for detecting pressure includes: a processor and a memory;
- the memory stores a program, and the processor executes the program for executing the first Aspect or method for detecting pressure as described in any of the possible implementations of the first aspect.
- the first RF function is used for determining the pressure corresponding to the feature data detected by the first region, and determining the effect according to the acquired plurality of sample data.
- FIG. 1 is a schematic view of a pressure detecting system according to an embodiment of the present invention.
- FIGS. 2a and 2b are schematic views showing the structure of a sensing electrode according to an embodiment of the present invention.
- 3a, 3b, and 3c are schematic views showing a positional structure of a sensing electrode according to an embodiment of the present invention.
- 4a, 4b, and 4c are schematic views of a detecting circuit of an embodiment of the present invention.
- Figure 5 is a schematic illustration of pressure changes in an embodiment of the present invention.
- FIG. 6 is a schematic flow chart of a method for detecting pressure according to an embodiment of the present invention.
- FIG. 7 is a schematic diagram of a first R-F function of an embodiment of the present invention.
- Figure 8 is a flow chart showing a method for detecting pressure according to an embodiment of the present invention.
- FIG. 9 is a schematic diagram of calibration of a first R-F function and a second R-F function according to an embodiment of the present invention.
- 10a and 10b are schematic diagrams showing changes of a first R-F function curve according to another embodiment of the present invention.
- Figure 11 is a schematic illustration of an input medium in accordance with an embodiment of the present invention.
- Figure 12 is a schematic block diagram of an apparatus for detecting pressure in accordance with one embodiment of the present invention.
- Figure 13 is a schematic structural view of an apparatus for detecting pressure according to another embodiment of the present invention.
- the pressure detecting system includes three parts: a sensing electrode 110, a detecting circuit 120, and a computing system 130.
- the input medium such as the mobile phone screen
- the sensing electrode converts the deformation signal into a certain form of electrical signal
- the detection circuit captures and quantizes the electrical signal, and finally inputs the quantized signal.
- the computing system processes and extracts the required pressure information.
- FIGS. 2a and 2b are schematic structural views of a sensing electrode 110 according to an embodiment of the present invention.
- Most of the widely used touch detection technologies use capacitive arrays. If the sensing electrodes of the pressure detection system are also capacitive arrays, the existing touch chips can be used for pressure detection or integrated into touch. In the system.
- the capacitive array can be used to embed the sensing electrodes in the liquid crystal display module without increasing the thickness of the structure. Therefore, the sensing electrodes of the pressure detecting technology of the embodiment of the present invention employ a capacitive array.
- FIG 2a shows the structure of a sensing electrode 110.
- the sensing electrode is attached to the liquid crystal display ("Liquid Crystal Display"("LCD"), and there is a certain gap between the sensing electrode and the middle frame supporting the LCD module, and the gap is filled by the foam with good compressibility.
- the common electrode (Vcom) layer and the middle frame of the LCD module will be connected to the system ground.
- the sensing electrode and the Vcom layer of the LCD module have a capacitance C 1
- the sensing electrode and the middle frame have a capacitance C 2 , C 1 . Connected in parallel with C 2 .
- the cover plate When there is a pressure acting cover plate, the cover plate is deformed and the distance between the sensing electrode and the middle frame is reduced, and the capacitance C 2 is increased. At this time, the change of C 1 is basically negligible, and the current C 4 change can be used to determine the current pressure.
- FIG 2b shows the structure of another sensing electrode 110.
- the sensing electrode is attached to the middle frame of the LCD module through an optical adhesive ("Optically Clear Adhesive"("OCA"), and the sensing electrode and the LCD module have a certain gap.
- OCA optical Clear Adhesive
- the LCD module Vcom layer capacitance C block to the present system
- the sensing electrode layer Vcom of the LCD module 1 the sensing electrode and the capacitance C 2 of the present frame
- C 1 and C 2 connected in parallel .
- the cover plate is deformed and the distance between the Vcom layer of the LCD module and the sensing electrode is reduced, and the capacitance C 1 is increased.
- the change of C 2 is basically negligible, and the change of C 1 is detected. It is possible to determine the current pressure on the cover.
- the structure of the above LCD module is only used to describe the structural position of the sensing electrode.
- the number of sensing electrodes and the specific position arrangement may be based on actual conditions. Apply to set.
- the three possible layout manners shown in FIG. 3a, FIG. 3b, and FIG. 3c are not limited in this embodiment of the present invention.
- FIG. 4a, 4b and 4c show schematic views of the detection circuit 120, respectively. There are many ways to detect the capacitance of the capacitor.
- FIG. 4a and FIG. 4b are self-capacitance detecting circuits
- FIG. 4c is a mutual capacitance detecting circuit, but the implementation of the present invention is not limited thereto.
- Figure 4a shows the RC voltage divider structure
- Tx is the drive signal, and can be various forms of signals such as sine wave or square wave.
- the basic detection principle of the circuit is: the drive signal is coupled to the capacitor to be detected Ctp via the resistor R; the capacitor to be detected Ctp
- the signal on the upper side is amplified by the amplifying circuit; the signal amplified by the amplifying circuit is input to the filtering circuit for filtering; then the output signal of the filtering circuit is sent to the demodulating circuit for demodulation, and the characteristic data of a specific form is obtained, that is, the original A specific feature of the signal (feature data); finally, the feature data is sent to a subsequent computing system, so that the computing system can calculate the current pressure information according to the current change of the feature data.
- FIG. 4b uses the charge transfer method for capacitance detection.
- Tx is the drive signal, which can be various forms of signals such as sine wave or square wave.
- the basic detection principle of the circuit closing the control switch ⁇ 1 and simultaneously turning off ⁇ 2 detection capacitor Ctp is charged while the capacitor C discharging process 1; the control switch ⁇ 2 is closed, while opening the control switch [Phi] 1, using to be detected capacitance Ctp capacitor C 1 is divided charging, C 2 integrating charge; and
- the output signal of the integration circuit is sent to the filter circuit for filtering; the output signal of the filter circuit is input to the demodulation circuit for demodulation to obtain a specific form of feature data, that is, a specific feature of the original signal; finally, the feature data is input to the subsequent
- the computing system can calculate the current pressure information based on the change of the current feature data.
- FIG. 4c is still another method for detecting a capacitance according to an embodiment of the present invention.
- Tx is a driving signal, and may be various forms of signals such as a sine wave or a square wave.
- the basic principle is as follows:
- the driving signal is coupled to the integral amplification circuit of the back end via the capacitor Ctp to be detected; the output signal of the integrating amplifier circuit is input to the filtering circuit for filtering processing; the output signal of the filtering circuit is input to the demodulating circuit for demodulation, and the characteristic data of the specific form is obtained.
- Fig. 5 is a schematic view showing a pressure change of an embodiment of the present invention.
- the pressure calculation method of the present invention will be described by taking the induction electrode shown in FIG. 2a and the detection circuit shown in FIG. 4a as an example, but the present invention is not limited thereto.
- the capacitance to be detected Ctp C 1 +C 2 , the process of the pressure, C 1 is basically considered to be constant, C 2 increases with the increase of the pressure, and the local region C 2 under the pressure can be equivalent to Parallel plate capacitors.
- the driving signal is Asin( ⁇ t+ ⁇ )
- the amplification circuit gain is G
- the demodulation circuit adopts amplitude demodulation. Therefore, the output characteristic data is:
- Equation (1) is a shape variable generated by a certain pressure F.
- the k corresponding to the position is different. Equation (1) can be written as:
- Equation (2) can be written as:
- FIG. 6 shows a flow diagram of a method 100 for detecting pressure in accordance with one embodiment of the present invention. As shown in FIG. 6, the method 100 includes:
- the pressure detection system includes a sensing electrode, a detection circuit, and a computing system.
- the input medium for example, the screen of the mobile phone
- the input medium generates a deformation signal
- the sensing electrode converts the deformation signal into a certain form of electrical signal
- the detection circuit captures and quantizes the electrical signal, and finally quantizes the
- the feature data is input to the computing system for processing to extract pressure information.
- the input medium of the first electronic device is divided into a plurality of regions, and each of the plurality of regions corresponds to at least one sensing electrode.
- the embodiment of the present invention can divide the input medium into multiple regions, each region is regarded as a logical channel, and each logical channel corresponds to one or more sensing electrodes according to a certain rule.
- the sample data is respectively acquired in different regions, and the correspondence between the pressure applied to each region of the input medium and the feature data of each region is determined.
- the characteristic data is converted into an electrical signal by the sensing electrode, and passes through the detecting circuit.
- the average value of the characteristic data detected by the plurality of sensing electrodes may be internally taken, or an optimal one is selected.
- the feature data is finally output only one result value, and the specific method for determining the feature data is not limited by the present invention.
- each sample data of the plurality of sample data includes a preset pressure of the first region, and the first region passes the preset pressure
- the detection circuit detects the feature data of the first region.
- the input medium of the first electronic device is divided into a plurality of regions, and each of the regions is respectively subjected to a sample data acquisition operation to determine a pressure applied to each region of the input medium and characteristic data detected by each region through the detection circuit.
- a sample data acquisition operation to determine a pressure applied to each region of the input medium and characteristic data detected by each region through the detection circuit.
- the feature data is affected by F i
- the first region causes the deformation signal generated by the first region to be converted into an electrical signal by the sensing electrode of the first region, and the electrical signal is quantized by the detecting circuit, that is, the characteristic data corresponding to the F i is detected.
- r i , i 1, 2, . . . n, that is, n sets of sample data (F i , r i ) are acquired.
- the F i when collecting the sample data, the F i may also be any velocity within the range, and preferably, the number of sample data is greater than the number of unknown parameters in the formula (3) (ie, the sample in the embodiment of the present invention) The number of data is greater than 4), but the invention is not limited thereto.
- the main body of the method may be a device for detecting pressure
- the device for detecting pressure may include a robot or a robot, a computer platform (for example, an electronic device) Install related application software (app)).
- a robot or robot is used to acquire sample data
- a computer platform is used to perform curve fitting based on sample data.
- the means for detecting the pressure may be a stand-alone device, or may be provided in an electronic device, or may be provided in another device, or may be an improved electronic device having the above-described functions and the like.
- the device for detecting the pressure is an independent device, but the present invention is not limited thereto.
- the approximation function can be constructed so that the characteristic of the approximation function can be reflected from the general trend, that is, finding a function (lower number of P n (x)) is applicable to the entire range.
- a function lower number of P n (x)
- the deviation of P n (x) and the known function from the whole can be minimized in some way, that is, P n (x)-y i is extremely small, and the method of approximating the function is called a curve. Fitting method.
- the method for considering the magnitude of the deviation mainly includes the maximum value of the absolute value of the error, the sum of the absolute values of the errors, the arithmetic square root of the sum of the squares of the errors, and the like, which are not limited in the present invention.
- the curve fitting is performed by a least squares method, so that the first RF function corresponding to the pressure and the feature data can be determined. That is, each of the unknown parameters a, b, c, and d in the above formula (3) can be known.
- the characteristic data detected by the detecting circuit is substituted into the first R-F function, and the obtained pressure value is the magnitude of the force acting on the first region.
- other regions of the first electronic device can also determine the correspondence between the magnitude of the force acting on each region and the feature data detected by the detection circuit according to the R-F function corresponding to the respective region.
- sample data of pressures of 0g, 100g, 200g, 300g, 400g, 500g, and 600g respectively are collected in advance, and Rawdata corresponding to each pressure is recorded, that is, a device for detecting pressure acquires 7 sets of data.
- Rawdata corresponding to each pressure is recorded, that is, a device for detecting pressure acquires 7 sets of data.
- (F i , r i ), i 1, 2, ..., 7.
- the parameters a, b, c, d in the calculation formula (3) are determined by curve fitting through the 7 sets of data. As can be seen from Figure 7, the sample data can well fall on the fitted curve.
- the sensing electrode converts the detected deformation signal into an electrical signal
- the detecting circuit captures the electrical signal and performs quantization processing to obtain the feature data, and finally sends the feature data to the computing system for processing, that is, the output characteristic data is substituted into the formula (3).
- Accurate pressure information can be calculated.
- the method for detecting pressure in the embodiment of the present invention determines the pressure acting on the first region based on the plurality of sample data by acquiring a plurality of sample data of the first region of the input medium of the first electronic device. a first RF function corresponding to the detected feature data, the first RF function being used for determining, by the first region, a pressure corresponding to the feature data detected when the force is applied, so that the plurality of sets of sample data can be determined according to the acquired
- the relationship between the pressure applied to the first region and the detected feature data promotes various applications based on pressure information and enhances the user experience.
- FIG. 8 shows a flow diagram of a method 300 for detecting pressure in accordance with another embodiment of the present invention. As shown in FIG. 8, the method 300 includes:
- the input medium of the first electronic device is divided into a plurality of regions, and each of the plurality of regions corresponds to at least one sensing electrode.
- the embodiment of the present invention can divide the input medium into multiple regions, each region is regarded as a logical channel, and each logical channel corresponds to one or more sensing electrodes according to a certain rule.
- the sample data is respectively acquired in different regions, and the correspondence between the pressure applied to each region of the input medium and the feature data of each region is determined.
- the characteristic data is converted into an electrical signal by the sensing electrode, and passes through the detecting circuit.
- the average value of the characteristic data detected by the plurality of sensing electrodes may be internally taken. Alternatively, an optimal feature data is selected, and only one result value is finally output.
- the specific determination method of the feature data is not limited by the present invention.
- each of the plurality of sample data includes a preset pressure of the first region and feature data detected by the detecting circuit when the first region is subjected to the preset pressure.
- the input medium of the first electronic device is divided into a plurality of regions, and each of the regions is respectively subjected to a sample data acquisition operation to determine a pressure applied to each region of the input medium and characteristic data detected by each region through the detection circuit.
- a sample data acquisition operation to determine a pressure applied to each region of the input medium and characteristic data detected by each region through the detection circuit.
- the feature data is affected by F i
- the first region causes the deformation signal generated by the first region to be converted into an electrical signal by the sensing electrode of the first region, and the electrical signal is quantized by the detecting circuit, that is, the characteristic data corresponding to the F i is detected.
- r i , i 1, 2, . . . n, that is, n sets of sample data (F i , r i ) are acquired.
- the F i when collecting the sample data, the F i may also be any velocity within the range, and preferably, the number of sample data is greater than the number of unknown parameters in the formula (3) (ie, the sample in the embodiment of the present invention) The number of data is greater than 4), but the invention is not limited thereto.
- the execution body of the method may be a device for detecting pressure
- the device for detecting pressure may include a robot or a robot, a computer platform (for example, installing related application software (app) on an electronic device), and the like.
- a robot or robot is used to acquire sample data
- a computer platform is used to perform curve fitting based on sample data.
- the means for detecting the pressure may be a stand-alone device, or may be provided in an electronic device, or may be provided in another device, or may be an improved electronic device having the above-described functions and the like.
- the device for detecting the pressure is an independent device, but the present invention is not limited thereto.
- the approximation function can be constructed so that the characteristic of the approximation function can be reflected from the general trend, that is, finding a function (lower number of P n (x)) is applicable to the entire range. inside, but not strictly required by all (x i, y i), but is close to (x i, y i) point as possible, so as to substantially reflect the trend data.
- the deviation of P n (x) and the known function from the whole can be minimized in some way, that is, P n (x)-y i is extremely small, and the method of approximating the function is called a curve. Fitting method.
- the method for considering the magnitude of the deviation mainly includes the maximum value of the absolute value of the error, the sum of the absolute values of the errors, the arithmetic square root of the sum of the squares of the errors, and the like, which are not limited in the present invention.
- the curve fitting is performed by a least squares method, so that the pressure representing the first region can be determined corresponding to the feature data.
- the first RF function that is, each of the unknown parameters a, b, c, and d in the above formula (3) can be known.
- the first RF curve corresponding to the RF function is obtained by left-right translation, upper-line translation, and/or upper-line expansion, and the second RF function represents the correspondence between the feature data detected by the second electronic device and the pressure received by the second region.
- the initial distances of the sensing electrodes of different electronic devices may be different, chip differences may cause deviations in the gain G of the amplifier circuit in the detection circuit of different electronic devices, and the difference in thickness of the cover plate will be It may cause differences in the elastic stiffness coefficient k in the input medium of different electronic devices. Therefore, the R-F functions of the same area of different electronic devices are also different. Therefore, the curve determined by equation (3) also differs between different electronic devices. If the device for detecting pressure compares a certain electronic device (which can be regarded as a prototype) according to the known relationship between pressure and characteristic data, the calculated parameters a, b, c, d are used for all other electronic devices. Calculating the pressure, there may be a large deviation in the pressure calculated by other electronic devices. If each electronic device is pre-pressed to obtain parameters a, b, c, and d, it will take a lot of time because multiple regions are divided by the full screen.
- the initial distance of the sensing electrodes in the same area are d 1 , d 2 , respectively, according to formula (2):
- the RF curve corresponding to the RF function of the second electronic device in which the above various factors are different in the equation (9) is equivalent to the translation of the RF curve corresponding to the RF function of the first electronic device in the horizontal direction, in the vertical direction. Translation and stretching (compression) in the vertical direction.
- the R-F curve corresponding to the R-F function represented by the equation (6) may be equivalent to the horizontal direction translation of the R-F curve of the first electronic device; the R-F function corresponding to the equation (7) corresponds to The RF curve may be equivalent to stretching (compressing) the RF curve of the first electronic device in the vertical direction; the RF curve corresponding to the RF function represented by the equation (8) may be equivalent to the RF of the first electronic device.
- the curve is a combination of the translation in the horizontal direction and the stretching (compression) in the vertical direction; the RF curve corresponding to the RF function represented by the equation (9) can be equivalent to the horizontal direction of the RF curve of the first electronic device.
- the function model of the second electronic device is as shown in the formula (9), and K 2 is regarded as a first parameter for indicating the amount of stretching or contraction of the first RF curve corresponding to the first RF function; ⁇ Raw is regarded as The second parameter is used to indicate the amount of translation of the first RF curve up or down; ⁇ F 1 is regarded as a third parameter for indicating the amount of translation of the first RF curve to the left or to the right. Detecting first characteristic data obtained by the zero pressure acting on the electrical signal formed by the second region, and detecting a second characteristic obtained by applying a predetermined first pressure (ie, a known pressure) to the electrical signal formed by the second region data.
- a predetermined first pressure ie, a known pressure
- the first parameter, the second parameter, and the third parameter are estimated based on the first feature data, the second feature data, and the first pressure (which may also be referred to as calibrating the second function). That is, the expression of the second RF function is estimated such that the expression corresponding to the estimated second RF function can calculate the pressure value corresponding to the second characteristic data and the first pressure deviation actually acting on the second region. small.
- the RF curve corresponding to the RF function of the second electronic device is obtained by shifting the RF curve corresponding to the RF function of the first electronic device to the left or right. therefore, That is, the pressure corresponding to the feature data R 1 of the second electronic device, and the feature data R 1 is detected by the action of F 1 to the second electronic device.
- the first electronic device is used as a prototype, and the input medium of the first electronic device is divided to obtain an RF function of the respective region, and the second electronic device (ie, other electronic devices that are mass-produced) is determined according to the first RF function.
- a second RF function of the second region on the input medium of the two electronic devices that is to say, the second electronic device also divides its own input medium into the same area as the first electronic device, and determines its own second R-F function according to the corresponding area.
- the second electronic device needs to determine a second RF function (which may also be referred to as calibrating its own RF function) according to each region of the first electronic device, thereby enabling the second electronic device to obtain an accurate second RF function. Consistency of full screen pressure output.
- the model shown in the equation (9) can be simplified in consideration of various influencing factors that are controllable within a certain range of differences between different machines.
- the third characteristic data is calculated by the first RF function, and the third characteristic data is detected by the preset second pressure on the third area of the input medium of the first electronic device to detect the corresponding corresponding region.
- the first characteristic data is obtained by detecting an electrical signal of the sensing electrode corresponding to the second region by applying a zero pressure to the fourth region of the input medium of the second electronic device
- the second The feature data is obtained by applying the second pressure to the fourth region to detect an electrical signal of the sensing electrode corresponding to the second region, the position of the third region on the input medium of the first electronic device and the first The four regions correspond to locations on the input medium of the second electronic device.
- first area and the second area are respectively corresponding to any location or area on the input medium of the first electronic device and the second electronic device
- the third area and the fourth area are the first electronic device and the second electronic device, respectively.
- the input area corresponds to any position or area
- the first area and the third area may be different areas of the first electronic device
- the second area and the fourth area may be different areas of the distance
- the input medium of the first electronic device is divided into N logical channels to respectively acquire the RF curves of the N regions, and then the second electronic device performs calibration according to the first electronic device.
- the second electronic device performs calibration according to the first electronic device.
- the second electronic device needs to be pressed N times, that is, each electronic device produced in batches needs to be pressed N times for calibration, which affects the configuration. effectiveness.
- the RF curve corresponding to the same region may be different due to differences in chip, initial spacing of the sensing electrodes, thickness of the cover plate, and the like.
- the deformation state of the other identical position corresponding to the first electronic device and the second electronic device is the same, that is, the strength equivalent to the position is identical. For example, as shown in FIG.
- the first electronic device and the second electronic device detect that the characteristic data of the sensing electrodes corresponding to C 0 are R 10 and R 20 respectively, and press the P of the first electronic device and the second electronic device by the known pressure F 1 ' At 0 , the first electronic device and the second electronic device detect that the characteristic data of the corresponding sensing electrodes at C 0 are R 11 and R 21 , respectively .
- R 20 , R 21 , F 1 can calculate the calibration parameters K 2 , ⁇ Raw and ⁇ F 1 of the RF function of the second electronic device at C 0 relative to the RF function of the first electronic device at C 0 ,
- the calculation steps are as described above, and to avoid repetition, no further details are provided herein.
- the number of calibration pressing points M is determined according to the size of the screen body and the number of logical channels divided, and each calibration pressing point corresponds to calibration of a plurality of logical channels. For example, in FIG. 11, in FIG. 11,
- the logic channels C 0 , C 1 , C 4 , C 5 , C 8 , C 9 can be calibrated; when P 1 is pressed, the logic channels C 2 , C can be 3 , C 6 , C 7 , C 10 , C 11 are calibrated; when P 2 is pressed, the logic channels C 14 , C 15 , C 18 , C 19 , C 22 , C 23 can be calibrated. Therefore, the calibration of the N logical channels is achieved by M presses less than N times, and the number of calibration presses can be reduced, and the configuration efficiency can be improved.
- the second RF function is used by the second electronic device to determine a pressure corresponding to the feature data detected when the second area on the input medium of the second electronic device is subjected to the force.
- Equation (9) gives the correspondence between the RF function f 2 (F) of the second electronic device and the RF function f 1 (F) of the first electronic device.
- K 2 , ⁇ F 2 and ⁇ Raw are determined, a second RF function of the known parameters is determined, so that the second electronic device can calculate the pressure received based on the detected characteristic data.
- the characteristic data detected by the detecting circuit is substituted into the second R-F function, and the obtained pressure value is the magnitude of the force acting on the second region.
- the other regions of the second electronic device can also determine the correspondence between the magnitude of the force acting on each region and the feature data detected by the detection circuit according to the R-F function corresponding to the respective region.
- the second electronic device calculates the feature data detected by the force acting on the second area, and the corresponding force acting on the second area may be saved.
- the value is calculated as follows:
- the method for detecting pressure acquires a plurality of sample data including a preset pressure and characteristic data obtained by detecting the preset pressure on a first medium on an input medium of the first electronic device, Determining, according to the plurality of sample data, a first RF function indicating a correspondence between pressure applied to the first region and the detected feature data, and determining, on the input medium representing the second electronic device, according to the first RF function a second RF function of the relationship between the force applied by the second region and the detected feature data, thereby enabling mass production of multiple electronic devices
- the functional relationship between the respective representative pressure and the detected feature data is accurately calculated, so that the pressure corresponding to the detected feature data can be accurately calculated, and various applications based on the pressure information are promoted.
- the user experience is a preset pressure and characteristic data obtained by detecting the preset pressure on a first medium on an input medium of the first electronic device, Determining, according to the plurality of sample data, a first RF function indicating a correspondence between pressure applied to the first region and
- the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be directed to the embodiments of the present invention.
- the implementation process constitutes any limitation.
- a method for detecting pressure according to an embodiment of the present invention is described in detail above, and an apparatus for detecting pressure according to an embodiment of the present invention will be described below.
- Figure 12 shows a schematic block diagram of an apparatus 700 for detecting pressure in accordance with an embodiment of the present invention. As shown in FIG. 12, the apparatus 700 includes:
- the obtaining module 710 is configured to acquire a plurality of sample data of the first electronic device, where each of the plurality of sample data of the first electronic device includes a preset pressure of the first electronic device and the first electronic device Feature data, the feature data of the first electronic device is obtained by detecting an electrical signal of the first electronic device, and the electrical signal of the first electronic device is the first electronic device by the sensing electrode of the first electronic device Forming a deformation signal generated by the preset pressure applied to the input medium of the first electronic device;
- a first determining module 720 configured to determine, according to the plurality of sample data of the first electronic device, a feature data-pressure RF function of the first electronic device, where the RF function represents an input device acting on the first electronic device The correspondence between the pressure and the detected feature data.
- the apparatus for detecting pressure of the embodiment of the present invention determines the pressure acting on the first area based on the plurality of sample data by acquiring a plurality of sample data of the first region of the input medium of the first electronic device. a first RF function corresponding to the detected feature data, the first RF function is used to determine a pressure corresponding to the feature data detected when the first region is subjected to the force, and can determine the role according to the acquired plurality of sets of sample data The relationship between the pressure to the first region and the detected feature data promotes various applications based on stress information and enhances the user experience.
- the input medium of the first electronic device includes a plurality of regions, each of the plurality of regions corresponding to the at least one sensing electrode;
- the obtaining module 710 is specifically configured to:
- each sample data of the plurality of sample data of the first region including a preset pressure of the first region and a feature of the first region Data
- the feature data of the first region is detected by the sensing electrode corresponding to the first region Obtained by the electrical signal
- the electrical signal of the first region is formed by converting a deformation signal generated by the first region corresponding to the sensing electrode of the first region to the first region;
- the first determining module 720 is specifically configured to:
- the apparatus 700 further includes:
- a second determining module configured to determine, according to the first RF function, a second RF function corresponding to the second region of the input medium of the second electronic device, where the curve corresponding to the second RF function is corresponding to the first RF function
- the first RF curve is obtained by left-right translation, up-and-down translation, and/or up-and-down expansion
- the second RF function is used by the second electronic device to determine characteristics of the second region detected when the second region is subjected to a force.
- the pressure corresponding to the data, the position of the second area on the input medium of the second electronic device corresponds to the position of the first area on the input medium of the first electronic device.
- the second determining module is specifically configured to:
- the first parameter indicating an amount of stretching or contraction of the first RF curve
- the second parameter represents an upward or downward translation amount of the first RF curve
- the third parameter represents a leftward or rightward translation amount of the first RF curve
- the first pressure is a preset non-zero pressure
- the first characteristic data is obtained by applying a zero pressure to the second area to detect an electrical signal of the second area, and the second characteristic data is applied to the second area by the first pressure to detect the second The electrical signal of the area is obtained;
- the second R-F function is determined according to the first parameter, the second parameter, and the third parameter.
- the second determining module is specifically configured to:
- the first parameter indicating an amount of stretching or contraction of the first RF curve
- the second parameter represents an upward or downward translation amount of the first RF curve
- the third parameter represents a leftward or rightward translation amount of the first RF curve
- the first pressure is determined by the third feature
- the data is obtained by the first RF function, and the third characteristic data is applied to the third region of the input medium of the first electronic device by a preset second pressure to detect an electrical signal of the sensing electrode corresponding to the first region.
- the first characteristic data is caused by applying zero pressure to the second electronic device
- the fourth region of the input medium is detected by detecting an electrical signal of the sensing electrode corresponding to the second region, and the second characteristic data is generated by applying the second pressure to the fourth region to detect the corresponding region of the second region.
- the second determining module is specifically configured to:
- K 2 represents the first parameter
- ⁇ Raw represents the second parameter
- ⁇ F 1 represents the third parameter
- the first R-F function is:
- a AG
- b ⁇ R 0 C 1
- c ⁇ R 0 C 20 kd 0
- d kd 0
- A amplitude
- G amplification circuit gain
- C 1 and C 20 denote parallel plate capacitances
- d 0 denotes an initial pitch of C 20
- k denotes an elastic stiffness coefficient
- R 0 denotes a resistance
- the apparatus 700 for detecting pressure according to an embodiment of the present invention may correspond to the apparatus 700 for detecting pressure in the method for detecting pressure according to an embodiment of the present invention, and the respective modules in the apparatus 700 for detecting pressure
- the above and other operations and/or functions are respectively implemented in order to implement the corresponding processes of the foregoing various methods, and are not described herein for brevity.
- the apparatus for detecting pressure of the embodiment of the present invention acquires a plurality of sample data of the first region on the input medium of the first electronic device including the preset pressure and the feature data obtained by detecting the preset pressure, according to Determining, by the plurality of sample data, a first RF function indicating a correspondence between pressure applied to the first region and the detected feature data, and determining, on the input medium representing the second electronic device, according to the first RF function a second RF function of the relationship between the force received by the two regions and the detected feature data, so that the plurality of electronic devices in mass production can accurately calculate the respective representative pressures and the detected feature data according to the first RF function.
- the functional relationship can accurately calculate the pressure corresponding to the detected feature data, promote various applications based on pressure information, and improve the user experience.
- Figure 13 illustrates an apparatus for detecting pressure provided by yet another embodiment of the present invention, including at least one processor 902 (e.g., a microprocessor (MCU)), at least one network interface 905 or other communication interface, memory 906, And at least one communication bus 903 for implementing connection communication between the devices.
- the processor 902 is configured to execute executable modules, such as computer programs, stored in the memory 906.
- the memory 906 may include a high speed random access memory (RAM), and may also include a non-volatile memory such as at least one disk memory.
- a communication connection with at least one other network element is achieved by at least one network interface 905 (which may be wired or wireless).
- the memory 906 stores a program 9061 that executes the program 9061 for performing the following operations:
- each of the plurality of sample data of the first electronic device includes a preset pressure of the first electronic device and feature data of the first electronic device
- the characteristic data of the first electronic device is obtained by detecting an electrical signal of the first electronic device, and the electrical signal of the first electronic device is a preset of the first electronic device by the sensing electrode of the first electronic device Transforming a deformation signal generated on the input medium of the first electronic device to form a transformation signal;
- the input medium of the first electronic device includes a plurality of regions, each of the plurality of regions corresponding to the at least one sensing electrode;
- the processor 902 is specifically configured to:
- the characteristic data of the first region is obtained by detecting an electrical signal of the first region, and the electrical signal of the first region is a preset of the first region by the sensing electrode corresponding to the first region Transforming a deformation signal generated on the first region to form a transformation;
- the processor 902 is specifically configured to:
- processor 902 is further configured to:
- the second RF function is used by the second electronic device to determine a pressure corresponding to the feature data of the second region detected when the second region is subjected to the force, the second RF function is used for the translation, the up and down translation, and/or the up and down rotation.
- the location of the second area on the input medium of the second electronic device corresponds to the location of the first area on the input medium of the first electronic device.
- processor 902 is specifically configured to:
- the first parameter indicating an amount of stretching or contraction of the first RF curve
- the second parameter represents an upward or downward translation amount of the first RF curve
- the third parameter represents a leftward or rightward translation amount of the first RF curve
- the first pressure is a preset non-zero pressure
- the first characteristic data is obtained by applying a zero pressure to the second area to detect an electrical signal of the second area, and the second characteristic data is applied to the second area by the first pressure to detect the second The electrical signal of the area is obtained;
- the second R-F function is determined according to the first parameter, the second parameter, and the third parameter.
- processor 902 is specifically configured to:
- the first parameter indicating an amount of stretching or contraction of the first RF curve
- the second parameter represents an upward or downward translation amount of the first RF curve
- the third parameter represents a leftward or rightward translation amount of the first RF curve
- the first pressure is determined by the third feature
- the data is obtained by the first RF function, and the third characteristic data is applied to the third region of the input medium of the first electronic device by a preset second pressure to detect an electrical signal of the sensing electrode corresponding to the first region.
- the first characteristic data is obtained by detecting zero-pressure on the fourth region of the input medium of the second electronic device to detect an electrical signal of the sensing electrode corresponding to the second region, where the second characteristic data is And applying the second pressure to the fourth area to detect an electrical signal of the sensing electrode corresponding to the second area, where the third area is on the input medium of the first electronic device and the fourth area is in the First Positions on the input media correspond to the electronic device;
- the processor 902 is specifically configured to:
- K 2 represents the first parameter
- ⁇ Raw represents the second parameter
- ⁇ F 1 represents the third parameter
- the first R-F function is:
- the functional relationship can accurately calculate the pressure corresponding to the detected feature data, promote various applications based on pressure information, and improve the user experience.
- the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be directed to the embodiments of the present invention.
- the implementation process constitutes any limitation.
- the disclosed systems, devices, and methods may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
- the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
- the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Force Measurement Appropriate To Specific Purposes (AREA)
Abstract
一种用于检测压力的方法,包括:获取第一电子设备的多个样本数据,该第一电子设备的多个样本数据中的每个样本数据包括该第一电子设备的预设压力和该第一电子设备的特征数据,该第一电子设备的特征数据是由检测该第一电子设备的预设压力作用到该第一电子设备的输入媒介上产生的形变信号得到的;根据该第一电子设备的多个样本数据,确定拟合函数,该拟合函数表示作用到该第一电子设备的输入媒介上的压力与检测到的特征数据的对应关系,该拟合函数用于第二电子设备确定在该第二电子设备的输入媒介受到作用力时检测到的特征数据对应的压力。上述方法能够根据电子设备的多组样本数据,确定压力与检测到的特征数据的对应关系。
Description
本发明涉及终端设备领域,并且更具体地,涉及用于检测压力的方法和装置。
移动电子设备为人们的日常生活工作带来了不少便利,已成为人们不可或缺的工具。用于移动电子设备的输入装置有多种,例如按键、鼠标、操纵杆、激光笔和触摸屏等。触摸技术因其良好的交互性被迅速地应用于各种电子设备,该技术已趋于成熟,基于该技术的各种可能应用也被充分挖掘。
随着技术的发展,用户对电子设备如手机、平板等的操作体验要求也越来越高,期待更便利的人机交互体验。压力(“Force”,简称“F”)检测技术在触控技术提供的位置信息基础上增加了另一维度信息,基于输入的压力信息可以开发各种应用,为人们使用电子设备带来一种全新的操作体验。例如,屏幕按压弹出下拉菜单或是“小圆球”,重压加快页面上行、左右的滚动速度,触觉反馈等效果。
目前,压力检测技术主要方式有电感式、电阻式、电容式、压电式及微机电系统等。便携电子设备因受限于主板空间及结构的影响,检测压力主要采用阵列式应变片与阵列式电容这两种方式。由于目前应用于大多数便携电子设备的触摸检测技术采用的是电容式传感阵列,因而压力检测技术采用阵列式电容作为检测压力主要较大的优势。
不同于触摸检测,压力检测不仅需要检测到压力的有无,还需要检测到压力的大小,即精确的压力测量。现有技术电子设备无法根据检测到的特征数据(“Rawdata”,简称“R”)准确的计算出压力。
发明内容
本发明实施例提供一种用于检测压力的方法和装置,能够根据获取的多组样本数据确定作用到电子设备的压力与检测到的特征数据的对应关系。
第一方面,提供了一种用于检测压力的方法。该方法包括:获取第一电子设备的多个样本数据,该第一电子设备的多个样本数据中的每个样本数据
包括该第一电子设备的预设压力和该第一电子设备的特征数据,该第一电子设备的特征数据是由检测该第一电子设备的电信号得到的,该第一电子设备的电信号是由该第一电子设备的感应电极将该第一电子设备的预设压力作用到该第一电子设备的输入媒介上产生的形变信号转化形成的;根据该第一电子设备的多个样本数据,确定该第一电子设备的特征数据-压力R-F函数,该R-F函数表示作用到该第一电子设备的输入媒介上的压力与检测到的特征数据的对应关系。
获取第一电子设备的多个样本数据,每个样本数据包括预设压力和特征数据,第一电子设备包括感应电极,感应电极将预设压力作用到该第一电子设备的输入媒介上产生的形变信号转化为电信号,检测电路检测该电信号得到特征数据,根据这多个样本数据,确定表示作用到该第一电子设备的压力与检测到的特征数据的对应关系的R-F函数,该R-F函数用于第一电子设备确定受到作用力时检测到的特征数据对应的压力,从而促进了基于压力信息的各种应用,提升了用户体验。
结合第一方面,在第一方面的第一种可能的实现方式中,该第一电子设备的输入媒介包括多个区域,该多个区域中的每个区域对应至少一个感应电极;其中,该获取第一电子设备的多个样本数据,包括:获取该第一电子设备的输入媒介的第一区域的多个样本数据,该第一区域的多个样本数据中的每个样本数据包括该第一区域的预设压力和该第一区域的特征数据,该第一区域的特征数据是由检测该第一区域的电信号得到的,该第一区域的电信号是由该第一区域对应的感应电极将该第一区域的预设压力作用到该第一区域上产生的形变信号转化形成的;其中,该根据该第一电子设备的多个样本数据,确定该第一电子设备的R-F函数,包括:根据该第一区域的多个样本数据,确定该第一区域的第一R-F函数,该第一R-F函数表示作用到该第一区域上的压力与检测到的该第一区域的特征数据的对应关系。
第一电子设备的输入媒介较大时,在输入媒介的不同位置获取样本数据时,由于距离的影响,样本数据可能会存在差异。例如,同一压力按压电子设备的不同位置时,检测电路检测出的特征数据可能不同。因此,为了减少样本数据的误差,本发明实施例可以通过将输入媒介划分为多个区域,每个区域看作一个逻辑通道,每个逻辑通道按照一定规则对应某个或多个感应电极。在不同的区域分别获取样本数据,确定出作用到输入媒介的每个区域的
压力与每个区域的特征数据的对应关系,特征数据是通过感应电极将形变信号转换为电信号,并通过检测电路检测电信号得到的,从而使得同一压力作用于第一电子设备的不同区域时,根据不同区域检测到的特征数据计算出的压力相同,即达到全屏压力输出的一致性。
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,该还方法包括:根据该第一R-F函数,确定第二电子设备的输入媒介的第二区域对应的第二R-F函数,该第二R-F函数对应的曲线是由该第一R-F函数对应的第一R-F曲线通过左右平移、上下平移和/或上下伸缩得到的,该第二R-F函数用于该第二电子设备确定在该第二区域受到作用力时检测到的该第二区域的特征数据对应的压力,该第二区域在该第二电子设备的输入媒介上的位置与该第一区域在该第一电子设备的输入媒介上的位置相对应。
在实际批量生产中,由于装配公差可能会导致不同电子设备的感应电极的初始距离不同、芯片差异可能会导致不同电子设备的检测电路中的放大电路增益G存在偏差,以及盖板的厚度差异将会导致不同电子设备的输入媒介中的弹性劲度系数k存在差异等。因此,不同电子设备同一区域的R-F函数可能也不相同。若用于检测压力的装置将某台电子设备(可以看作是样机)根据已知的压力与特征数据的对应关系,计算出的参数a,b,c,d用于所有的其它电子设备来计算压力,那么其它电子设备计算到的压力可能会存在较大的偏差。若对每一台电子设备都采取预先按压的方式获取参数a,b,c,d,由于全屏划分了多个区域,将会耗费大量的时间。
因此,利用同一批次的不同电子设备的受力形变存在的对应关系,可以根据样机的第一R-F函数,确定出批量生产出的其他电子设备的检测到的特征数据与压力的函数关系,从而提升了压力计算的准确率,且提高了配置效率。
结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,该根据该第一R-F函数,确定该第二电子设备的输入媒介的第二区域对应的第二R-F函数,包括:根据第一特征数据、第二特征数据、第一压力和该第一R-F函数,确定第一参数、第二参数和第三参数,该第一参数表示该第一R-F曲线的拉伸或收缩量,该第二参数表示该第一R-F曲线向上或向下的平移量,该第三参数表示该第一R-F曲线向左或向右的平移量,其
中,该第一压力为预设非零压力,该第一特征数据是由零压力作用到该第二区域上检测该第二区域对应的感应电极的电信号得到的,该第二特征数据是由该第一压力作用到该第二区域上检测该第二区域对应的感应电极的电信号得到的;根据该第一参数、第二参数、第三参数,确定该第二R-F函数。
第二电子设备也将自己的输入媒介划分为与第一电子设备相同的区域,并且根据对应的区域分别确定自己的第二R-F函数。这样,第二电子设备需要根据第一电子设备的每个区域分别确定第二R-F函数,从而使得第二电子设备的每个区域能够获得准确的第二R-F函数,达到全屏压力输出的一致性。
结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,根据该第一R-F函数,确定该第二电子设备的输入媒介的第二区域对应的第二R-F函数,包括:根据第一特征数据、第二特征数据、第一压力和该第一R-F函数,确定第一参数、第二参数和第三参数,该第一参数表示该第一R-F曲线的拉伸或收缩量,该第二参数表示该第一R-F曲线向上或向下的平移量,该第三参数表示该第一R-F曲线向左或向右的平移量,其中,该第一压力是由将第三特征数据代入该第一R-F函数得到的,该第三特征数据是由预设的第二压力作用到该第一电子设备的输入媒介的第三区域上检测该第一区域对应的感应电极的电信号得到的,该第一特征数据是由将零压力作用到该第二电子设备的输入媒介的第四区域上检测该第二区域对应的感应电极的电信号得到的,该第二特征数据是由将该第二压力作用到该第四区域上检测该第二区域对应的感应电极的电信号得到的,该第三区域在该第一电子设备的输入媒介上的位置与该第四区域在该第二电子设备的输入媒介上的位置相对应;根据该第一参数、该第二参数、该第三参数,确定该第二R-F函数。
对于第一电子设备和第二电子设备,由于存在芯片、感应电极初始间距、盖板厚度等差异,对应同一区域的R-F曲线可能不同。但是,当以相同力度按压第一电子设备和第二电子设备的同一位置时,第一电子设备和第二电子设备相对应的另一个相同位置的形变状态是一样的,即等效到该位置的力度是相同的。假设在第一电子设备的输入媒介的第三区域处以F1′按压与在第一电子设备的输入媒介的第一区域处以F1按压导致第一区域检测到的特征数据是相同的。因此,若在第二电子设备的输入媒介的第四区域处按压F1′,检测到第二电子设备的输入媒介的第二区域处的特征数据为R时,则在第二电
子设备的输入媒介的第二区域处按压F1,检测到第二电子设备的输入媒介的第二区域处的特征数据也会是R。因此,通过少于N次的M次按压实现对N个逻辑通道的校准,可以减少校准按压次数,提高配置效率。
结合第一方面的第三种可能的实现方式或第一方面的第四种可能的实现方式,在第一方面的第五种可能的实现方式中,该根据第一特征数据、第二特征数据、第一压力和该第一R-F函数,确定第一参数、第二参数和第三参数,包括:根据R1、R2、F1和R=f1(F),确定使得到最小值的和其中,该R=f1(F)表示该第一R-F函数,该R1表示该第一特征数据,该R2表示该第二特征数据、该F1表示该第一压力;将该该和该分别确定为K2、ΔRaw和ΔF1,其中,该K2表示该第一参数,该ΔRaw表示该第二参数,该ΔF1表示该第三参数。
根据检测零压力作用于该第二电子设备的输入媒介的第二区域形成的电信号得到的第一特征数据,以及检测预设的第一压力(即为已知压力)作用于该第二区域形成的电信号得到的第二特征数据和该第一压力,对第一参数、第二参数和第三参数进行估计。也就是说,估计出第二R-F函数的表达式,使得根据估计出的第二R-F函数的表达式能够计算出第二特征数据对应的压力值与真正作用到该第二区域的第一压力偏差较小。
结合第一方面,及第一方面的第一种可能的实现方式至第一方面的第五种可能的实现方式中的任一种可能的实现方式,在第一方面的第六种可能的实现方式中,该第一R-F函数为:其中,a,b,c和d为已知参数,a=AG,b=ωR0C1,c=ωR0C20kd0,d=kd0,A表示振幅、G表示放大电路增益、C1和C20表示平行板电容、d0表示C20的初始间距、k表示弹性劲度系数、R0表示电阻。
第二方面,提供了一种用于检测压力的装置,该装置包括执行该第一方面中的方法或第一方面的任一种可能的实现方式的各模块。
第三方面,提供了一种用于检测压力的装置,包括:处理器和存储器;
所述存储器存储了程序,所述处理器执行所述程序,用于执行上述第一
方面或第一方面任一种可能的实现方式所述的用于检测压力的方法。
基于上述技术方案,在本发明实施例中,通过获取第一电子设备的输入媒介的第一区域的多个样本数据,根据该多个样本数据,确定表示作用到该第一区域的压力与检测到的特征数据的对应关系的第一R-F函数,该第一R-F函数用于该第一区域确定受到作用力时检测到的特征数据对应的压力,能够根据获取的多组样本数据确定作用到第一区域的压力与检测到的特征数据的函数关系,从而促进了基于压力信息的各种应用,提升了用户体验。
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例的压力检测系统的示意图;
图2a和图2b分别是本发明实施例的感应电极的结构的示意图;
图3a、图3b和图3c是本发明实施例的感应电极的位置结构的示意图;
图4a、图4b和图4c分别是本发明实施例的检测电路的示意图;
图5是本发明实施例的压力变化的示意图;
图6是本发明一个实施例的用于检测压力的方法的流程示意图;
图7是本发明实施例的第一R-F函数的曲线示意图;
图8是本发明一个实施例的用于检测压力的方法的流程示意图;
图9是本发明实施例的第一R-F函数与第二R-F函数的校准示意图;
图10a和图10b是本发明另一个实施例的第一R-F函数曲线的变换示意图;
图11是本发明实施例的输入媒介的示意图;
图12是根据本发明一个实施例的用于检测压力的装置的示意性框图;
图13是根据本发明另一个实施例的用于检测压力的装置的结构示意图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是
全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1是本发明实施例的压力检测系统的示意图。压力检测系统包括感应电极110、检测电路120和计算系统130三个部分。当压力作用到输入媒介(如手机屏体)时,输入媒介产生形变信号,感应电极将形变信号转化为一定形式的电信号,检测电路对电信号进行捕获并量化,最后将量化后的信号输入计算系统进行处理,提取需要的压力信息。
图2a和图2b是本发明实施例的感应电极110的结构示意图。目前广泛使用的触控检测技术大多数都是采用电容式阵列,如果压力检测系统的感应电极也采用电容式阵列,就可以利用已有的触控芯片进行压力检测,或者将其集成到触控系统中。此外,采用电容式阵列可以将感应电极嵌入到液晶显示模组中,在结构上不会增加太多的厚度。因此,本发明实施例的压力检测技术的感应电极采用电容式阵列。
图2a示出了一种感应电极110的结构。感应电极贴在液晶显示器(“Liquid Crystal Display”,简称“LCD”)下方,感应电极与支撑LCD模组的中框之间存在一定的间隙,间隙由具有较好压缩性的泡棉填充。系统通电工作后,LCD模组的公共电极(Vcom)层与中框将接到系统地,感应电极与LCD模组的Vcom层存在电容C1,感应电极与中框存在电容C2,C1与C2并联连接。当有压力作用盖板时,盖板产生形变并使得感应电极与中框的距离减小,电容C2增大,此时C1的变化基本可以忽略,通过检测C2的变化就可以确定当前的压力。
图2b示出了另一种感应电极110的结构。该结构中将感应电极通过光学胶(“Optically Clear Adhesive”,简称“OCA”)贴在支撑LCD模组的中框上,感应电极与LCD模组存在一定的间隙。系统通电工作后,LCD模组的Vcom层与中框接到系统地,感应电极与LCD模组的Vcom层存在电容C1,感应电极与中框存在电容C2,C1与C2并联连接。当有压力作用盖板时,盖板产生形变并使得LCD模组的Vcom层与感应电极的距离减小,电容C1增大,此时C2的变化基本可以忽略,通过检测C1的变化就可以确定盖板当前所受的压力。
需要说明的是,上述LCD模组的结构,只是用来描述感应电极的结构位置,在具体的实施方式中,感应电极的个数及具体位置布置可以根据实际
应用进行设定。例如,如图3a、图3b和图3c所示的三种可能的布局方式,本发明实施例对此不进行限定。
图4a、图4b和图4c分别示出了检测电路120的示意图。电容的检测电容有多种方式,图4a与图4b为自容检测电路,图4c为互容检测电路,但本发明实施并不限于此。
图4a为RC分压结构,Tx为驱动信号,可以为正弦波或方波等各种形式的信号,电路的基本检测原理为:驱动信号经电阻R耦合到待检测电容Ctp;待检测电容Ctp上的信号经放大电路进行放大处理;将经过放大电路放大后的信号输入滤波电路进行滤波处理;再将滤波电路的输出信号送入解调电路进行解调,获取特定形式的特征数据,即原始信号的某特定特征(特征数据);最后将特征数据送入后续的计算系统,这样计算系统就可以根据当前的特征数据的变化计算出当前的压力信息。
图4b采用电荷转移的方法进行电容检测,Tx为驱动信号,可以是正弦波或方波等各种形式的信号,电路的基本检测原理:将控制开关φ1闭合,同时断开φ2,对待检测电容Ctp进行充电,同时对电容C1进行放电处理;将控制开关φ2闭合,同时打开控制开关φ1,利用待检测电容Ctp对电容C1进行分压充电,C2进行积分充电;将积分电路的输出信号送入滤波电路进行滤波处理;将滤波电路的输出信号输入解调电路进行解调,获取特定形式的特征数据,即原始信号的某特定特征;最后,将特征数据输入后续的计算系统后,计算系统就可以根据当前特征数据的变化计算出当前的压力信息。
图4c为本发明实施例的又一种电容检测方法,Tx为驱动信号,可以为正弦波或方波等各种形式的信号,其基本原理为:
驱动信号经待检测电容Ctp耦合到后端的积分放大电路;将积分放大电路的输出信号输入滤波电路进行滤波处理;将滤波电路的输出信号输入解调电路进行解调,获取特定形式的特征数据即原始信号的某特定特征;将特征数据送入后续的计算系统后,计算系统就可以根据当前特征数据的变化计算出当前的压力信息。
图5示出了本发明实施例的压力变化的示意图。下面以图2a所示的感应电极和图4a所示的检测电路为例,说明本发明的压力计算方法,但本发明并不限定于此。
待检测电容Ctp=C1+C2,受压力的过程,C1基本认为是不变的,C2随着
压力的增大而增大,且在受压力的局部区域C2可以等效为平行板电容。
假设图3a所示的检测电路中,驱动信号为Asin(ωt+φ),放大电路增益为G,解调电路采取幅度解调的方式,因此,输出的特征数据为:
式(1)中△d为一定压力F产生的形变量,本发明所涉及的实施例中压力产生的形变为微小形变,F与△d近似满足胡克定律,及F=k△d,不同位置对应的k是不同的。式(1)可以写为:
其中,a=AG,b=ωR0C1,c=ωR0C20kd0,d=kd0,式(2)可以写为:
由于事先难以较准确的获取放大电路增益G、平行板电容C1、C20、平行板电容C20的初始间距d0,弹性劲度系数k的值,因此现有技术无法直接利用式(3)计算压力。
图6示出了根据本发明的一个实施例的用于检测压力的方法100的流程示意图。如图6所示,该方法100包括:
压力检测系统包括感应电极、检测电路和计算系统。当有压力作用到输入媒介(如,手机屏体)时,输入媒介产生形变信号,感应电极将形变信号转换为一定形式的电信号,检测电路对电信号进行捕获并量化,最后将量化后的特征数据输入计算系统进行处理,提取出压力信息。
110,将第一电子设备的输入媒介划分为多个区域,该多个区域中的每个区域对应至少一个感应电极。
第一电子设备的输入媒介较大时,在输入媒介的不同位置获取样本数据时,由于距离的影响,样本数据可能会存在差异。例如,同一压力按压电子设备的不同位置时,检测电路检测出的特征数据可能不同。因此,为了减少样本数据的误差,本发明实施例可以通过将输入媒介划分为多个区域,每个区域看作一个逻辑通道,每个逻辑通道按照一定规则对应某个或多个感应电极。在不同的区域分别获取样本数据,确定出作用到输入媒介的每个区域的压力与每个区域的特征数据的对应关系,特征数据是通过感应电极将形变信号转换为电信号,并通过检测电路检测电信号得到的,从而使得同一压力作用于第一电子设备的不同区域时,根据不同区域检测到的特征数据计算出的压力相同,即达到全屏压力输出的一致性。
应理解,若电子设备的一个分区中对应多个感应电极时,在检测压力对应的特征数据时,可以在内部取多个感应电极检测到的特征数据的平均值,或者选出一个最优的特征数据,最终只输出一个结果值,本发明对该特征数据具体的确定方法不进行限定。
120,获取第一电子设备的输入媒介的第一区域的多个样本数据,该多个样本数据中的每个样本数据包括第一区域的预设压力和第一区域受到该预设压力时通过检测电路检测到第一区域的特征数据。
第一电子设备的输入媒介被划分为多个区域,分别对每个区域进行获取样本数据操作,以确定作用到输入媒介的每个区域的压力与每个区域通过检测电路检测出的特征数据的对应关系。下面以输入媒介被划分后的第一区域为例进行说明。
预先获取第一区域的n个不同的已知压力Fi,i=1,2,…n,以及Fi作用到该第一区域时检测到的特征数据,该特征数据是由Fi作用到第一区域使得第一区域产生的形变信号,通过第一区域的感应电极将该形变信号转换为电信号,并由检测电路将该电信号进行量化得到的,即检测出Fi对应的特征数据ri,i=1,2,…n,即获取n组样本数据(Fi,ri)。
应理解,上述采集样本数据时,Fi还可以是在量程范围内的任意力度,优选地,样本数据个数大于公式(3)中的未知参数的个数(即在本发明实施例中样本数据个数大于4),但本发明对此不进行限定。
需要说明的是,该方法的执行主体可以是用于检测压力的装置,该用于检测压力的装置可以包括机械手或机器人、计算机平台(例如电子设备上安
装相关应用软件(app))等。机械手或机器人用于获取样本数据,计算机平台用于根据样本数据进行曲线拟合。即该用于检测压力的装置可以是独立装置,也可以是设置在电子设备中,或者可以是设置在其他装置中,或者还可以是改进后的电子设备具有上述功能等。为了描述方便,下述实施例以用于检测压力的装置是独立装置为例进行说明,但本发明对此并不限定。
130,根据该第一区域的多个样本数据,确定表示作用到该第一区域上的压力与检测到的特征数据的对应关系的第一R-F函数。
由于测量数据会存在误差,为了减少误差影响,可以构造逼近函数,使得从总的趋势上能够反映被逼近函数的特性,即寻找一个函数(次数较低的Pn(x))适用于整个范围内,但不要求严格地通过所有的(xi,yi),只是尽可能的靠近(xi,yi)点,从而能够反映数据的基本趋势。这里的Pn(x)与已知函数从总体来说其偏差按某种方式度量能达到最小,即Pn(x)-yi为极小,将这种求逼近函数的方法称为曲线拟合法。
从几何意义上来说,就是寻求与给定点(Fi,ri),i=1,2,…n的距离平方和为最小的曲线r=R(Fi),函数R(Fi)为第一R-F函数或最小二乘解。
应理解,考虑偏差大小的方法主要有误差绝对值的最大值、误差绝对值的和、误差平方和的算术平方根等,本发明对此不进行限定。
根据已经获取的这n组数据(Fi,ri),i=1,2,…n,采取最小二乘的方法进行曲线拟合,从而能够确定表示压力与特征数据对应的第一R-F函数,也就是说,可以获知上述公式(3)中的各个未知参数a,b,c和d。
140,根据该第一R-F函数,确定检测到的特征数据对应的作用到该第一区域上的作用力。
当有作用力作用到第一区域时,将检测电路检测到的特征数据代入第一R-F函数中,得到的压力值即为作用到第一区域的作用力大小。同样地,第一电子设备的其他区域根据各自区域对应的R-F函数也能够确定作用到每个区域的作用力大小与检测电路检测得到的特征数据的对应关系。
例如,事先采集作用于第一区域的压力分别为0g、100g、200g、300g、400g、500g和600g的样本数据,并记录每个压力对应的Rawdata,即用于检测压力的装置获取7组数据(Fi,ri),i=1,2,…,7。通过这7组数据进行曲线拟合确定计算公式(3)中的参数a,b,c,d。从图7可以看出,样本数据都能很好地落在拟合曲线上。因此,感应电极将检测的形变信号转换为电信号,检测电路对电信号进行捕获并作量化处理获取特征数据,最后将特征数据送入计算系统进行处理,即将输出的特征数据代入式(3)就能计算出准确的压力信息。
因此,本发明实施例的用于检测压力的方法,通过获取第一电子设备的输入媒介的第一区域的多个样本数据,根据该多个样本数据,确定表示作用到该第一区域的压力与检测到的特征数据的对应关系的第一R-F函数,该第一R-F函数用于该第一区域确定受到作用力时检测到的特征数据对应的压力,使得根据获取的多组样本数据能够确定作用到第一区域的压力与检测到的特征数据的函数关系,从而促进了基于压力信息的各种应用,提升了用户体验。
图8示出了根据本发明的另一个实施例的用于检测压力的方法300的流程示意图。如图8所示,该方法300包括:
310,将第一电子设备的输入媒介划分为多个区域,该多个区域中的每个区域对应至少一个感应电极。
第一电子设备的输入媒介较大时,在输入媒介的不同位置获取样本数据时,由于距离的影响,样本数据可能会存在差异。例如,同一压力按压电子设备的不同位置时,检测电路检测出的特征数据可能不同。因此,为了减少样本数据的误差,本发明实施例可以通过将输入媒介划分为多个区域,每个区域看作一个逻辑通道,每个逻辑通道按照一定规则对应某个或多个感应电极。在不同的区域分别获取样本数据,确定出作用到输入媒介的每个区域的压力与每个区域的特征数据的对应关系,特征数据是通过感应电极将形变信号转换为电信号,并通过检测电路检测电信号得到的,从而使得同一压力作用于第一电子设备的不同区域时,根据不同区域检测到的特征数据计算出的压力相同,即达到全屏压力输出的一致性。
应理解,若电子设备的一个分区中对应多个感应电极时,在检测压力对应的特征数据时,可以在内部取多个感应电极检测到的特征数据的平均值,
或者选出一个最优的特征数据,最终只输出一个结果值,本发明对该特征数据具体的确定方法不进行限定。
320,获取第一区域的多个样本数据,该多个样本数据中的每个样本数据包括第一区域的预设压力和第一区域受到该预设压力时通过检测电路检测到的特征数据。
第一电子设备的输入媒介被划分为多个区域,分别对每个区域进行获取样本数据操作,以确定作用到输入媒介的每个区域的压力与每个区域通过检测电路检测出的特征数据的对应关系。下面以输入媒介被划分后的第一区域为例进行说明。
预先获取第一区域的n个不同的已知压力Fi,i=1,2,…n,以及Fi作用到该第一区域时检测得到的特征数据,该特征数据是由Fi作用到第一区域使得第一区域产生的形变信号,通过第一区域的感应电极将该形变信号转换为电信号,并由检测电路将该电信号进行量化得到的,即检测出Fi对应的特征数据ri,i=1,2,…n,即获取n组样本数据(Fi,ri)。
应理解,上述采集样本数据时,Fi还可以是在量程范围内的任意力度,优选地,样本数据个数大于公式(3)中的未知参数的个数(即在本发明实施例中样本数据个数大于4),但本发明对此不进行限定。
需要说明的是,该方法的执行主体可以是用于检测压力的装置,该用于检测压力的装置可以包括机械手或机器人、计算机平台(例如电子设备上安装相关应用软件(app))等。机械手或机器人用于获取样本数据,计算机平台用于根据样本数据进行曲线拟合。即该用于检测压力的装置可以是独立装置,也可以是设置在电子设备中,或者可以是设置在其他装置中,或者还可以是改进后的电子设备具有上述功能等。为了描述方便,下述实施例以用于检测压力的装置是独立装置为例进行说明,但本发明对此并不限定。
330,根据该多个样本数据,确定表示作用到该第一区域上的压力与检测到的特征数据的对应关系的第一R-F函数。
由于测量数据会存在误差,为了减少误差影响,可以构造逼近函数,使得从总的趋势上能够反映被逼近函数的特性,即寻找一个函数(次数较低的Pn(x))适用于整个范围内,但不要求严格地通过所有的(xi,yi),只是尽可能的靠近(xi,yi)点,从而能够反映数据的基本趋势。这里的Pn(x)与已知函数从总体来说其偏差按某种方式度量能达到最小,即Pn(x)-yi为极
小,将这种求逼近函数的方法称为曲线拟合法。
从几何意义上来说,就是寻求与给定点(Fi,ri),i=1,2,…n的距离平方和为最小的曲线r=R(Fi),函数R(Fi)为第一R-F函数或最小二乘解。
应理解,考虑偏差大小的方法主要有误差绝对值的最大值、误差绝对值的和、误差平方和的算术平方根等,本发明对此不进行限定。
根据已经获取的这n组数据(Fi,ri),i=1,2,…n,采取最小二乘的方法进行曲线拟合,从而能够确定表示第一区域的压力与特征数据对应的第一R-F函数,也就是说,可以获知上述公式(3)中的各个未知参数a,b,c和d。
340,根据第一特征数据、第二特征数据、第二压力和该第一R-F函数,确定第二R-F函数的第一参数、第二参数和第三参数,第二R-F函数是由该第一R-F函数对应的第一R-F曲线通过左右平移、上线平移和/或上线伸缩得到的,且第二R-F函数表示第二电子设备检测到的特征数据与第二区域受到的压力的对应关系。
在实际批量生产中,由于装配公差可能会导致不同电子设备的感应电极的初始距离不同、芯片差异可能会导致不同电子设备的检测电路中的放大电路增益G存在偏差,以及盖板的厚度差异将会导致不同电子设备的输入媒介中的弹性劲度系数k存在差异等。因此,不同电子设备同一区域的R-F函数也不相同。因此,由式(3)决定的曲线在不同电子设备间也存在差异。若用于检测压力的装置将某台电子设备(可以看作是样机)根据已知的压力与特征数据的对应关系,计算出的参数a,b,c,d用于所有的其它电子设备来计算压力,那么其它电子设备计算到的压力可能会存在较大的偏差。若对每一台电子设备都采取预先按压的方式获取参数a,b,c,d,由于全屏划分了多个区域,将会耗费大量的时间。
某两台电子设备对应同一区域只存在感应电极的初始距离的差异,例如,同一区域的感应电极的初始距离分别为d1,d2,根据式(2)有:
综上可知,f2(F)=f1(F-k(d2-d1)) (5)
上述式(5)表明,不同电子设备若只存在感应电极的初始距离不同,但是它们的函数曲线仍然存在某种确定关系,即f2(F)由f1(F)向右平移k(d2-d1)得到。若d2<d1时,则f2(F)=f1(F-k(d2-d1))表示f2(F)由f1(F)向左平移k(d2-d1)。
若将第一电子设备的R-F函数设为f1(F),第二电子设备的R-F函数设为f2(F),则有:
(1)若第一电子设备与第二电子设备对应同一区域只存在感应电极的初始距离的差异,则有:
f2(F)=f1(F-ΔF2),ΔF2=k(d2-d1) (6)
(2)若第一电子设备与第二电子设备对应同一区域只存在芯片增益G的差异,则有:
f2(F)=K2f1(F),K2=G2/G1 (7)
(3)若第一电子设备与第二电子设备对应同一区域同时存在感应电极的初始间距与芯片增益G的差异,则有:
f2(F)=K2f1(F-ΔF2),ΔF2=k(d2-d1),K2=G2/G1 (8)
(4)若第一电子设备与第二电子设备对应同一区域同时存在感应电极的初始间距、芯片增益G和弹性劲度系数k的差异,则有:
f2(F)=K2f1(F-ΔF2)+ΔRaw (9)
式(9)中将上述各因素都不同的第二电子设备的R-F函数对应的R-F曲线,等效为对第一电子设备的R-F函数对应的R-F曲线在水平方向上的平移,竖直方向上的平移以及竖直方向上的拉伸(压缩)。
如图9所示,式(6)表示的R-F函数对应的R-F曲线可以等效为对第一电子设备的R-F曲线作水平方向上的平移;式(7)表示的R-F函数对应
的R-F曲线可以等效为对第一电子设备的R-F曲线作竖直方向上的拉伸(压缩);式(8)表示的R-F函数对应的R-F曲线可以等效为对第一电子设备的R-F曲线作水平方向上的平移和竖直方向上的拉伸(压缩)的共同作用;式(9)表示的R-F函数对应的R-F曲线可以等效为对第一电子设备的R-F曲线作水平方向上的平移和竖直方向上的拉伸(压缩)及竖直方向上的平移的共同作用。
综上可知,第二电子设备的函数模型如式(9)所示,K2看作第一参数,用于表示第一R-F函数对应的第一R-F曲线的拉伸或收缩量;ΔRaw看作第二参数,用于表示该第一R-F曲线向上或向下的平移量;ΔF1看作第三参数,用于表示该第一R-F曲线向左或向右的平移量。检测零压力作用于该第二区域形成的电信号得到的第一特征数据,以及检测预设的第一压力(即为已知压力)作用于该第二区域形成的电信号得到的第二特征数据。根据第一特征数据、第二特征数据和第一压力,对第一参数、第二参数和第三参数进行估计(也可以称为对第二函数进行校准)。也就是说,估计出第二R-F函数的表达式,使得根据估计出的第二R-F函数的表达式能够计算出第二特征数据对应的压力值与真正作用到第二区域的第一压力偏差较小。
具体地,计算K2、ΔF1和ΔRaw的方法如下:
(1)记录下第二电子设备无按压时(即认为压力为零)的特征数据,记为R0;
(2)以已知压力F1按压第二电子设备,记录下此时检测到的特征数据,记为R1;
需要说明的是,根据式(9)可以获知,y=f1(F)的逆函数和是第一电子设备的R-F函数。此时,第二电子设备的R-F函数对应的R-F曲线是由该第一电子设备的R-F函数对应的R-F曲线向左或向右平移得到的。因此,即为第二电子设备的特征数据R1对应的压力,而特征数据R1是由F1作用到第二电子设备检测得到的。
因此,将第一电子设备作为样机,对第一电子设备的输入媒介划分后分别获取各自区域的R-F函数,第二电子设备(即批量生产出的其他电子设备)根据第一R-F函数,确定第二电子设备的输入媒介上的第二区域的第二R-F函数。也就是说,第二电子设备也将自己的输入媒介划分为与第一电子设备相同的区域,并且根据对应的区域分别确定自己的第二R-F函数。这样,第二电子设备需要根据第一电子设备的每个区域分别确定第二R-F函数(也可以称为校准自己的R-F函数),从而使得第二电子设备能够获得准确的第二R-F函数,达到全屏压力输出的一致性。
可选地,考虑到各种影响因素在不同样机间的差异一定范围内可控,可以将式(9)所示的模型进行简化。一种简化方法是将竖直方向上的平移ΔRaw等效为竖直方向上的拉伸(压缩)与水平方向上的平移,即f2(F)=K2f1(F-ΔF1)(即ΔRaw=0),如图10a所示;另一种简化方法是将竖直方向上的拉伸(压缩)Ki等效为竖直方向上的平移与水平方向上的平移,即f2(F)=f1(F-ΔF1)+ΔRaw(即K2=1),如图10b所示。
可选地,根据第一特征数据、第二特征数据、第二压力和该第一R-F函数,确定第二R-F函数的第一参数、第二参数和第三参数,该第一压力是由将第三特征数据代入该第一R-F函数计算得到的,该第三特征数据是由预设的第二压力作用到该第一电子设备的输入媒介的第三区域上检测该第一区域对应的感应电极的电信号得到的,该第一特征数据是由将零压力作用到该第二电子设备的输入媒介的第四区域上检测该第二区域对应的感应电极的电信号得到的,该第二特征数据是由将该第二压力作用到该第四区域上检测该第二区域对应的感应电极的电信号得到的,该第三区域在该第一电子设备的输入媒介上的位置与该第四区域在该第二电子设备的输入媒介上的位置相对应。
应理解,第一区域和第二区域分别是第一电子设备和第二电子设备的输入媒介上对应的任意位置或区域,第三区域和第四区域分别是第一电子设备和第二电子设备的输入媒介上对应的任意位置或区域,且第一区域与第三区域可以是第一电子设备的距离较近的不同区域,第二区域与第四区域可以是距离较近的不同区域,本发明对此不进行限定。
若在建立第一电子设备的R-F函数的R-F曲线时,将第一电子设备的输入媒介划分为N个逻辑通道分别获取N个区域的R-F曲线,那么第二电子设备根据第一电子设备进行校准时,仍然需要在每个区域进行一次按压检测,特别在N较大时,第二电子设备需要按压N次,也就是说,批量生产出的每台电子设备都需要按压N次校准,影响配置效率。
对于第一电子设备和第二电子设备,由于存在芯片、感应电极初始间距、盖板厚度等差异,对应同一区域的R-F曲线可能不同。但是,当按压第一电子设备和第二电子设备的同一位置时,第一电子设备和第二电子设备相对应的另一个相同位置的形变状态是一样的,即等效到该位置的力度是相同的。例如,如图11所示,以相同的压力按压第一电子设备的P0处(即第一电子设备的输入媒介的第三区域)和第二电子设备的P0处(即第二电子设备的输入媒介的第四区域)时,第一电子设备的C0处(即第一电子设备的输入媒介的第一区域)的形变量与第二电子设备的C0处(即第二电子设备的输入媒介的第二区域)的形变量相同。
假设按压前第一电子设备与第二电子设备检测C0处对应的感应电极的特征数据分别为R10和R20,通过已知压力F1′按压第一电子设备和第二电子设备的P0处时,第一电子设备和第二电子设备检测C0处对应的感应电极的特征数据分别为R11和R21。将R11代入第一电子设备在C0处的第一R-F函数f01(F),计算出对应的压力F1,也就是说,在第一电子设备P0处以F1′按压与在第一电子设备的C0处以F1按压导致逻辑通道C0检测到的特征数据(即R11)是相同的。因此,若在第二电子设备的P0处按压F1′,检测到C0处的特征数据R21时,则在第二电子设备的C0处按压F1,检测到C0处的特征数据也会是R21。
因此,对于第二电子设备的逻辑通道C0来说,相当于按压前C0处对应的特征数据为R20,以F1按压C0处对应的特征数据为R21,则根据f01(F),R20,R21,F1就可以计算第二电子设备在C0处的R-F函数相对于第一电子设备在C0处的R-F函数的校准参数K2、ΔRaw和ΔF1,具体计算步骤如上所述,为避免重复,在此不再赘述。
实际应用中,如图11所示,在P0处以压力F分别按压第一电子设备与第二电子设备时,第一电子设备等效到C18处的压力与第二电子设备等效到C18处的压力相差可能较大。因此,实际应用中,根据屏体的尺寸大小及划
分的逻辑通道数确定校准按压点数M,每个校准按压点对应多个逻辑通道的校准。例如,图11中,按压P0处时,可以对逻辑通道C0、C1、C4、C5、C8、C9进行校准;按压P1处时,可以对逻辑通道C2、C3、C6、C7、C10、C11进行校准;按压P2处时,可以对逻辑通道C14、C15、C18、C19、C22、C23进行校准。因此,通过少于N次的M次按压实现对N个逻辑通道的校准,可以减少校准按压次数,提高配置效率。
350,根据该第一参数、第二参数、第三参数,确定该第二R-F函数,该第二R-F函数对应的曲线是由第一R-F函数对应的曲线通过左右平移、上下平移和/或上下伸缩得到的,该第二R-F函数用于该第二电子设备确定在该第二电子设备的输入媒介上的第二区域受到作用力时检测到的特征数据对应的压力。
式(9)给出了第二电子设备的R-F函数f2(F)与第一电子设备的R-F函数f1(F)间的对应关系。只要确定了参数K2、ΔF2和ΔRaw,即确定出已知各参数的第二R-F函数,从而第二电子设备可以根据检测到的特征数据计算出受到的压力。
360,根据该第二R-F函数,由在有作用力作用到第二区域上检测到的特征数据,确定作用到该第二区域的作用力的大小。
当有作用力作用到第二区域时,将检测电路检测到的特征数据代入第二R-F函数中,得到的压力值即为作用到第二区域的作用力大小。同样地,第二电子设备的其他区域根据各自区域对应的R-F函数也能够确定作用到每个区域的作用力大小与检测电路检测得到的特征数据的对应关系。
因此,本发明实施例的用于检测压力的方法,通过获取第一电子设备的输入媒介上的第一区域的包括预设压力和由检测该预设压力得到的特征数据的多个样本数据,根据该多个样本数据,确定表示作用到该第一区域的压力与检测到的特征数据的对应关系的第一R-F函数,并根据该第一R-F函数确定表示第二电子设备的输入媒介上的第二区域受到的作用力与检测到的特征数据的对应关系的第二R-F函数,从而使得批量生产的多个电子设备能
够根据第一R-F函数准确的计算出各自的表示压力与检测到的特征数据的函数关系,从而能够准确的计算出检测到的特征数据对应的压力,促进了基于压力信息的各种应用,提升了用户体验。
应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
上文中详细描述了根据本发明实施例的用于检测压力的方法,下面将描述根据本发明实施例的用于检测压力的装置。
图12示出了根据本发明实施例的用于检测压力的装置700的示意性框图。如图12所示,该装置700包括:
获取模块710,用于获取第一电子设备的多个样本数据,该第一电子设备的多个样本数据中的每个样本数据包括该第一电子设备的预设压力和该第一电子设备的特征数据,该第一电子设备的特征数据是由检测该第一电子设备的电信号得到的,该第一电子设备的电信号是由该第一电子设备的感应电极将该第一电子设备的预设压力作用到该第一电子设备的输入媒介上产生的形变信号转化形成的;
第一确定模块720,用于根据该第一电子设备的多个样本数据,确定该第一电子设备的特征数据-压力R-F函数,该R-F函数表示作用到该第一电子设备的输入媒介上的压力与检测到的特征数据的对应关系。
因此,本发明实施例的用于检测压力的装置,通过获取第一电子设备的输入媒介的第一区域的多个样本数据,根据该多个样本数据,确定表示作用到该第一区域的压力与检测到的特征数据的对应关系的第一R-F函数,该第一R-F函数用于该第一区域确定受到作用力时检测到的特征数据对应的压力,能够根据获取的多组样本数据确定作用到第一区域的压力与检测到的特征数据的函数关系,从而促进了基于压力信息的各种应用,提升了用户体验。
可选地,在本发明实施例中,该第一电子设备的输入媒介包括多个区域,该多个区域中的每个区域对应至少一个感应电极;
其中,该获取模块710具体用于:
获取该第一电子设备的输入媒介的第一区域的多个样本数据,该第一区域的多个样本数据中的每个样本数据包括该第一区域的预设压力和该第一区域的特征数据,该第一区域的特征数据是由检测第一区域对应的感应电极
的电信号得到的,该第一区域的电信号是由该第一区域对应的感应电极将该第一区域的预设压力作用到该第一区域上产生的形变信号转化形成的;
其中,该第一确定模块720具体用于:
根据该第一区域的多个样本数据,确定该第一区域的第一R-F函数,该第一R-F函数表示作用到该第一区域上的压力与检测到的该第一区域的特征数据的对应关系。
在本发明实施例中,可选地,该装置700还包括:
第二确定模块,用于根据该第一R-F函数,确定该第二电子设备的输入媒介的第二区域对应的第二R-F函数,该第二R-F函数对应的曲线是由该第一R-F函数对应的第一R-F曲线通过左右平移、上下平移和/或上下伸缩得到的,该第二R-F函数用于该第二电子设备确定在该第二区域受到作用力时检测到的该第二区域的特征数据对应的压力,该第二区域在该第二电子设备的输入媒介上的位置与该第一区域在该第一电子设备的输入媒介上的位置相对应。
可选地,在本发明实施例中,该第二确定模块具体用于:
根据第一特征数据、第二特征数据、第一压力和该第一R-F函数,确定第一参数、第二参数和第三参数,该第一参数表示该第一R-F曲线的拉伸或收缩量,该第二参数表示该第一R-F曲线向上或向下的平移量,该第三参数表示该第一R-F曲线向左或向右的平移量,其中,该第一压力为预设非零压力,该第一特征数据是由零压力作用到该第二区域上检测该第二区域的电信号得到的,该第二特征数据是由该第一压力作用到该第二区域上检测该第二区域的电信号得到的;
根据该第一参数、第二参数、第三参数,确定该第二R-F函数。
在本发明实施例中,可选地,该第二确定模块具体用于:
根据第一特征数据、第二特征数据、第一压力和该第一R-F函数,确定第一参数、第二参数和第三参数,该第一参数表示该第一R-F曲线的拉伸或收缩量,该第二参数表示该第一R-F曲线向上或向下的平移量,该第三参数表示该第一R-F曲线向左或向右的平移量,其中,该第一压力是由将第三特征数据代入该第一R-F函数得到的,该第三特征数据是由预设的第二压力作用到该第一电子设备的输入媒介的第三区域上检测该第一区域对应的感应电极的电信号得到的,该第一特征数据是由将零压力作用到该第二电子设备
的输入媒介的第四区域上检测该第二区域对应的感应电极的电信号得到的,该第二特征数据是由将该第二压力作用到该第四区域上检测该第二区域对应的感应电极的电信号得到的,该第三区域在该第一电子设备的输入媒介上的位置与该第四区域在该第二电子设备的输入媒介上的位置相对应;
根据该第一参数、该第二参数、该第三参数,确定该第二R-F函数。
可选地,在本发明实施例中,该第二确定模块具体用于:
可选地,在本发明实施例中,该第一R-F函数为:
其中,a,b,c和d为已知参数,a=AG,b=ωR0C1,c=ωR0C20kd0,d=kd0,A表示振幅、G表示放大电路增益、C1和C20表示平行板电容、d0表示C20的初始间距、k表示弹性劲度系数、R0表示电阻。
根据本发明实施例的用于检测压力的装置700可对应于根据本发明实施例的用于检测压力的方法中的用于检测压力的装置700,并且用于检测压力的装置700中的各个模块的上述和其它操作和/或功能分别为了实现前述各个方法的相应流程,为了简洁,在此不再赘述。
因此,本发明实施例的用于检测压力的装置,获取第一电子设备的输入媒介上的第一区域的包括预设压力和由检测该预设压力得到的特征数据的多个样本数据,根据该多个样本数据,确定表示作用到该第一区域的压力与检测到的特征数据的对应关系的第一R-F函数,并根据该第一R-F函数确定表示第二电子设备的输入媒介上的第二区域受到的作用力与检测到的特征数据的对应关系的第二R-F函数,从而使得批量生产的多个电子设备能够根据第一R-F函数准确的计算出各自的表示压力与检测到的特征数据的函数关系,从而能够准确的计算出检测到的特征数据对应的压力,促进了基于压力信息的各种应用,提升了用户体验。
图13示出了本发明的又一实施例提供的用于检测压力的装置,包括至少一个处理器902(例如微处理器(MCU)),至少一个网络接口905或者其他通信接口,存储器906,和至少一个通信总线903,用于实现这些装置之间的连接通信。处理器902用于执行存储器906中存储的可执行模块,例如计算机程序。存储器906可能包含高速随机存取存储器(RAM:Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个网络接口905(可以是有线或者无线)实现与至少一个其他网元之间的通信连接。
在一些实施方式中,存储器906存储了程序9061,处理器902执行程序9061,用于执行以下操作:
通过网络接口905获取第一电子设备的多个样本数据,该第一电子设备的多个样本数据中的每个样本数据包括该第一电子设备的预设压力和该第一电子设备的特征数据,该第一电子设备的特征数据是由检测该第一电子设备的电信号得到的,该第一电子设备的电信号是由该第一电子设备的感应电极将该第一电子设备的预设压力作用到该第一电子设备的输入媒介上产生的形变信号转化形成的;
根据该第一电子设备的多个样本数据,确定该第一电子设备的R-F函数,该R-F函数表示作用到该第一电子设备的输入媒介上的压力与检测到的特征数据的对应关系。
可选地,该第一电子设备的输入媒介包括多个区域,该多个区域中的每个区域对应至少一个感应电极;
处理器902具体用于:
通过网络接口905获取该第一电子设备的输入媒介的第一区域的多个样本数据,该第一区域的多个样本数据中的每个样本数据包括该第一区域的预设压力和该第一区域的特征数据,该第一区域的特征数据是由检测第一区域的电信号得到的,该第一区域的电信号是由该第一区域对应的感应电极将该第一区域的预设压力作用到该第一区域上产生的形变信号转化形成的;
处理器902具体用于:
根据该第一区域的多个样本数据,确定该第一区域的第一R-F函数,该第一R-F函数表示作用到该第一区域上的压力与检测到的该第一区域的特征数据的对应关系。
可选地,该处理器902还用于:
根据该第一R-F函数,确定该第二电子设备的输入媒介的第二区域对应的第二R-F函数,该第二R-F函数对应的曲线是由该第一R-F函数对应的第一R-F曲线通过左右平移、上下平移和/或上下伸缩得到的,该第二R-F函数用于该第二电子设备确定在该第二区域受到作用力时检测到的该第二区域的特征数据对应的压力,该第二区域在该第二电子设备的输入媒介上的位置与该第一区域在该第一电子设备的输入媒介上的位置相对应。
可选地,该处理器902具体用于:
根据第一特征数据、第二特征数据、第一压力和该第一R-F函数,确定第一参数、第二参数和第三参数,该第一参数表示该第一R-F曲线的拉伸或收缩量,该第二参数表示该第一R-F曲线向上或向下的平移量,该第三参数表示该第一R-F曲线向左或向右的平移量,其中,该第一压力为预设非零压力,该第一特征数据是由零压力作用到该第二区域上检测该第二区域的电信号得到的,该第二特征数据是由该第一压力作用到该第二区域上检测该第二区域的电信号得到的;
根据该第一参数、第二参数、第三参数,确定该第二R-F函数。
可选地,该处理器902具体用于:
根据第一特征数据、第二特征数据、第一压力和该第一R-F函数,确定第一参数、第二参数和第三参数,该第一参数表示该第一R-F曲线的拉伸或收缩量,该第二参数表示该第一R-F曲线向上或向下的平移量,该第三参数表示该第一R-F曲线向左或向右的平移量,其中,该第一压力是由将第三特征数据代入该第一R-F函数得到的,该第三特征数据是由预设的第二压力作用到该第一电子设备的输入媒介的第三区域上检测该第一区域对应的感应电极的电信号得到的,该第一特征数据是由将零压力作用到该第二电子设备的输入媒介的第四区域上检测该第二区域对应的感应电极的电信号得到的,该第二特征数据是由将该第二压力作用到该第四区域上检测该第二区域对应的感应电极的电信号得到的,该第三区域在该第一电子设备的输入媒介上的位置与该第四区域在该第二电子设备的输入媒介上的位置相对应;
根据该第一参数、该第二参数、该第三参数,确定该第二R-F函数。
该处理器902具体用于:
可选地,该第一R-F函数为:
其中,a,b,c和d为已知参数,且a=AG,b=ωR0C1,c=ωR0C20kd0,d=kd0,A表示振幅、G表示放大电路增益、C1和C20表示平行板电容、d0表示C20的初始间距、k表示弹性劲度系数、R0表示电阻。
从本发明实施例提供的以上技术方案可以看出,获取第一电子设备的输入媒介上的第一区域的包括预设压力和由检测该预设压力得到的特征数据的多个样本数据,根据该多个样本数据,确定表示作用到该第一区域的压力与检测到的特征数据的对应关系的第一R-F函数,并根据该第一R-F函数确定表示第二电子设备的输入媒介上的第二区域受到的作用力与检测到的特征数据的对应关系的第二R-F函数,从而使得批量生产的多个电子设备能够根据第一R-F函数准确的计算出各自的表示压力与检测到的特征数据的函数关系,从而能够准确的计算出检测到的特征数据对应的压力,促进了基于压力信息的各种应用,提升了用户体验。
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方
法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护
范围应以该权利要求的保护范围为准。
Claims (14)
- 一种用于检测压力的方法,其特征在于,所述方法包括:获取第一电子设备的多个样本数据,所述第一电子设备的多个样本数据中的每个样本数据包括所述第一电子设备的预设压力和所述第一电子设备的特征数据,所述第一电子设备的特征数据是由检测所述第一电子设备的电信号得到的,所述第一电子设备的电信号是由所述第一电子设备的感应电极将所述第一电子设备的预设压力作用到所述第一电子设备的输入媒介上产生的形变信号转化形成的;根据所述第一电子设备的多个样本数据,确定所述第一电子设备的特征数据-压力R-F函数,所述R-F函数表示作用到所述第一电子设备的输入媒介上的压力与检测到的特征数据的对应关系。
- 根据权利要求1所述的方法,其特征在于,所述第一电子设备的输入媒介包括多个区域,所述多个区域中的每个区域对应至少一个感应电极;其中,所述获取第一电子设备的多个样本数据,包括:获取所述第一电子设备的输入媒介的第一区域的多个样本数据,所述第一区域的多个样本数据中的每个样本数据包括所述第一区域的预设压力和所述第一区域的特征数据,所述第一区域的特征数据是由检测所述第一区域的电信号得到的,所述第一区域的电信号是由所述第一区域对应的感应电极将所述第一区域的预设压力作用到所述第一区域上产生的形变信号转化形成的;其中,所述根据所述第一电子设备的多个样本数据,确定所述第一电子设备的R-F函数,包括:根据所述第一区域的多个样本数据,确定所述第一区域的第一R-F函数,所述第一R-F函数表示作用到所述第一区域上的压力与检测到的所述第一区域的特征数据的对应关系。
- 根据权利要求2所述的方法,其特征在于,所述方法包括:根据所述第一R-F函数,确定第二电子设备的输入媒介的第二区域对应的第二R-F函数,所述第二R-F函数对应的曲线是由所述第一R-F函数对应的第一R-F曲线通过左右平移、上下平移和/或上下伸缩得到的,所述第二R-F函数用于所述第二电子设备确定在所述第二区域受到作用力时检测到的所述第二区域的特征数据对应的压力,所述第二区域在所述第二电子设备的 输入媒介上的位置与所述第一区域在所述第一电子设备的输入媒介上的位置相对应。
- 根据权利要求3所述的方法,其特征在于,所述根据所述第一R-F函数,确定所述第二电子设备的输入媒介的第二区域对应的第二R-F函数,包括:根据第一特征数据、第二特征数据、第一压力和所述第一R-F函数,确定第一参数、第二参数和第三参数,所述第一参数表示所述第一R-F曲线的拉伸或收缩量,所述第二参数表示所述第一R-F曲线向上或向下的平移量,所述第三参数表示所述第一R-F曲线向左或向右的平移量,其中,所述第一压力为预设非零压力,所述第一特征数据是由零压力作用到所述第二区域上检测所述第二区域对应的感应电极的电信号得到的,所述第二特征数据是由所述第一压力作用到所述第二区域上检测所述第二区域对应的感应电极的电信号得到的;根据所述第一参数、第二参数、第三参数,确定所述第二R-F函数。
- 根据权利要求3所述的方法,其特征在于,所述根据所述第一R-F函数,确定所述第二电子设备的输入媒介的第二区域对应的第二R-F函数,包括:根据第一特征数据、第二特征数据、第一压力和所述第一R-F函数,确定第一参数、第二参数和第三参数,所述第一参数表示所述第一R-F曲线的拉伸或收缩量,所述第二参数表示所述第一R-F曲线向上或向下的平移量,所述第三参数表示所述第一R-F曲线向左或向右的平移量,其中,所述第一压力是由将第三特征数据代入所述第一R-F函数得到的,所述第三特征数据是由预设的第二压力作用到所述第一电子设备的输入媒介的第三区域上检测所述第一区域对应的感应电极的电信号得到的,所述第一特征数据是由将零压力作用到所述第二电子设备的输入媒介的第四区域上检测所述第二区域对应的感应电极的电信号得到的,所述第二特征数据是由将所述第二压力作用到所述第四区域上检测所述第二区域对应的感应电极的电信号得到的,所述第三区域在所述第一电子设备的输入媒介上的位置与所述第四区域在所述第二电子设备的输入媒介上的位置相对应;根据所述第一参数、所述第二参数、所述第三参数,确定所述第二R-F函数。
- 一种用于检测压力的装置,其特征在于,所述装置包括:获取模块,用于获取第一电子设备的多个样本数据,所述第一电子设备的多个样本数据中的每个样本数据包括所述第一电子设备的预设压力和所述第一电子设备的特征数据,所述第一电子设备的特征数据是由检测所述第一电子设备的电信号得到的,所述第一电子设备的电信号是由所述第一电子设备的感应电极将所述第一电子设备的预设压力作用到所述第一电子设备的输入媒介上产生的形变信号转化形成的;第一确定模块,用于根据所述第一电子设备的多个样本数据,确定所述第一电子设备的特征数据-压力R-F函数,所述R-F函数表示作用到所述第一电子设备的输入媒介上的压力与检测到的特征数据的对应关系。
- 根据权利要求8所述的装置,其特征在于,所述第一电子设备的输入媒介包括多个区域,所述多个区域中的每个区域对应至少一个感应电极;其中,所述获取模块具体用于:获取所述第一电子设备的输入媒介的第一区域的多个样本数据,所述第一区域的多个样本数据中的每个样本数据包括所述第一区域的预设压力和所述第一区域的特征数据,所述第一区域的特征数据是由检测第一区域的电信号得到的,所述第一区域的电信号是由所述第一区域对应的感应电极将所述第一区域的预设压力作用到所述第一区域上产生的形变信号转化形成的;其中,所述第一确定模块具体用于:根据所述第一区域的多个样本数据,确定所述第一区域的第一R-F函数,所述第一R-F函数表示作用到所述第一区域上的压力与检测到的所述第一区域的特征数据的对应关系。
- 根据权利要求9所述的装置,其特征在于,所述还装置包括:第二确定模块,用于根据所述第一R-F函数,确定第二电子设备的输入媒介的第二区域对应的第二R-F函数,所述第二R-F函数对应的曲线是由所述第一R-F函数对应的第一R-F曲线通过左右平移、上下平移和/或上下伸缩得到的,所述第二R-F函数用于所述第二电子设备确定在所述第二区域受到作用力时检测到的所述第二区域的特征数据对应的压力,所述第二区域在所述第二电子设备的输入媒介上的位置与所述第一区域在所述第一电子设备的输入媒介上的位置相对应。
- 根据权利要求10所述的装置,其特征在于,所述第二确定模块具体用于:根据第一特征数据、第二特征数据、第一压力和所述第一R-F函数,确定第一参数、第二参数和第三参数,所述第一参数表示所述第一R-F曲线的拉伸或收缩量,所述第二参数表示所述第一R-F曲线向上或向下的平移量,所述第三参数表示所述第一R-F曲线向左或向右的平移量,其中,所述第一压力为预设非零压力,所述第一特征数据是由零压力作用到所述第二区域上检测所述第二区域的电信号得到的,所述第二特征数据是由所述第一压力作用到所述第二区域上检测所述第二区域的电信号得到的;根据所述第一参数、第二参数、第三参数,确定所述第二R-F函数。
- 根据权利要求10所述的装置,其特征在于,所述第二确定模块具体用于:根据第一特征数据、第二特征数据、第一压力和所述第一R-F函数,确 定第一参数、第二参数和第三参数,所述第一参数表示所述第一R-F曲线的拉伸或收缩量,所述第二参数表示所述第一R-F曲线向上或向下的平移量,所述第三参数表示所述第一R-F曲线向左或向右的平移量,其中,所述第一压力是由将第三特征数据代入所述第一R-F函数得到的,所述第三特征数据是由预设的第二压力作用到所述第一电子设备的输入媒介的第三区域上检测所述第一区域对应的感应电极的电信号得到的,所述第一特征数据是由将零压力作用到所述第二电子设备的输入媒介的第四区域上检测所述第二区域对应的感应电极的电信号得到的,所述第二特征数据是由将所述第二压力作用到所述第四区域上检测所述第二区域对应的感应电极的电信号得到的,所述第三区域在所述第一电子设备的输入媒介上的位置与所述第四区域在所述第二电子设备的输入媒介上的位置相对应;根据所述第一参数、所述第二参数、所述第三参数,确定所述第二R-F函数。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020177024052A KR101928318B1 (ko) | 2016-05-31 | 2016-05-31 | 압력 검출 방법 및 압력 검출 장치 |
PCT/CN2016/084030 WO2017206052A1 (zh) | 2016-05-31 | 2016-05-31 | 用于检测压力的方法和装置 |
CN201680000583.5A CN107710127B (zh) | 2016-05-31 | 2016-05-31 | 用于检测压力的方法和装置 |
EP16892935.4A EP3270272B1 (en) | 2016-05-31 | 2016-05-31 | Method and device for use in detecting pressure |
US15/694,823 US10429982B2 (en) | 2016-05-31 | 2017-09-03 | Method and apparatus for detecting force |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/084030 WO2017206052A1 (zh) | 2016-05-31 | 2016-05-31 | 用于检测压力的方法和装置 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/694,823 Continuation US10429982B2 (en) | 2016-05-31 | 2017-09-03 | Method and apparatus for detecting force |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017206052A1 true WO2017206052A1 (zh) | 2017-12-07 |
Family
ID=60479621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/084030 WO2017206052A1 (zh) | 2016-05-31 | 2016-05-31 | 用于检测压力的方法和装置 |
Country Status (5)
Country | Link |
---|---|
US (1) | US10429982B2 (zh) |
EP (1) | EP3270272B1 (zh) |
KR (1) | KR101928318B1 (zh) |
CN (1) | CN107710127B (zh) |
WO (1) | WO2017206052A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102644091B1 (ko) * | 2018-12-20 | 2024-03-06 | 삼성디스플레이 주식회사 | 표시 장치 |
CN110823419B (zh) * | 2019-09-09 | 2021-03-23 | 中南大学 | 一种多功能柔性阵列传感器的荷载测算方法及系统 |
CN112985649B (zh) * | 2021-01-26 | 2022-09-06 | 电子科技大学 | 一种基于柔性分布式电容触觉传感器的力学信息检测系统 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030214485A1 (en) * | 2002-05-17 | 2003-11-20 | Roberts Jerry B. | Calibration of force based touch panel systems |
CN103425331A (zh) * | 2012-05-16 | 2013-12-04 | 西门子公司 | 带模拟压力检测的作为工业技术装置操作员界面的触摸屏 |
US20140104197A1 (en) * | 2012-10-12 | 2014-04-17 | Microsoft Corporation | Multi-modal user expressions and user intensity as interactions with an application |
CN103827785A (zh) * | 2011-09-12 | 2014-05-28 | 摩托罗拉移动有限责任公司 | 通过触敏显示屏使用压力差 |
CN104615326A (zh) * | 2015-02-15 | 2015-05-13 | 建荣集成电路科技(珠海)有限公司 | 电阻式触摸屏的检测方法及装置 |
CN104834380A (zh) * | 2015-05-12 | 2015-08-12 | 东南大学 | 一种应用于移动终端的柔性物体的触觉建模与表达方法 |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002221461A (ja) * | 2001-01-26 | 2002-08-09 | Fujikura Ltd | 圧力センサおよびその製造方法 |
US9454268B2 (en) * | 2010-10-12 | 2016-09-27 | Parade Technologies, Ltd. | Force sensing capacitive hybrid touch sensor |
JP6057262B2 (ja) * | 2010-10-14 | 2017-01-11 | Nltテクノロジー株式会社 | タッチセンサ装置及び電子機器 |
CN102929422B (zh) * | 2011-08-10 | 2017-04-12 | 谱瑞科技股份有限公司 | 力感测电容式混合触摸传感器 |
US9476790B2 (en) * | 2011-09-20 | 2016-10-25 | National Institute Of Advanced Industrial Science And Technology | Pressure gauge calibration apparatus |
US9594450B2 (en) * | 2011-11-18 | 2017-03-14 | Sentons Inc. | Controlling audio volume using touch input force |
JP5830396B2 (ja) * | 2012-01-31 | 2015-12-09 | 富士通コンポーネント株式会社 | タッチパネルにおける位置検出方法及びタッチパネル |
TWI491859B (zh) * | 2013-05-24 | 2015-07-11 | Himax Tech Ltd | 測量觸碰力量的方法及測量裝置 |
JP5586776B1 (ja) * | 2013-12-27 | 2014-09-10 | 株式会社フジクラ | 入力装置及び入力装置の制御方法 |
JP5587491B1 (ja) * | 2013-12-27 | 2014-09-10 | 株式会社フジクラ | 電子機器及び電子機器の制御方法 |
US20170177114A1 (en) * | 2014-08-07 | 2017-06-22 | 3M Innovative Properties Company | Force-sensing capacitor elements, deformable membranes and electronic devices fabricated therefrom |
US9779676B2 (en) * | 2014-09-30 | 2017-10-03 | Apple Inc. | Integrated touch sensor and force sensor for an electronic device |
-
2016
- 2016-05-31 KR KR1020177024052A patent/KR101928318B1/ko active IP Right Grant
- 2016-05-31 WO PCT/CN2016/084030 patent/WO2017206052A1/zh active Application Filing
- 2016-05-31 EP EP16892935.4A patent/EP3270272B1/en active Active
- 2016-05-31 CN CN201680000583.5A patent/CN107710127B/zh active Active
-
2017
- 2017-09-03 US US15/694,823 patent/US10429982B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030214485A1 (en) * | 2002-05-17 | 2003-11-20 | Roberts Jerry B. | Calibration of force based touch panel systems |
CN103827785A (zh) * | 2011-09-12 | 2014-05-28 | 摩托罗拉移动有限责任公司 | 通过触敏显示屏使用压力差 |
CN103425331A (zh) * | 2012-05-16 | 2013-12-04 | 西门子公司 | 带模拟压力检测的作为工业技术装置操作员界面的触摸屏 |
US20140104197A1 (en) * | 2012-10-12 | 2014-04-17 | Microsoft Corporation | Multi-modal user expressions and user intensity as interactions with an application |
CN104615326A (zh) * | 2015-02-15 | 2015-05-13 | 建荣集成电路科技(珠海)有限公司 | 电阻式触摸屏的检测方法及装置 |
CN104834380A (zh) * | 2015-05-12 | 2015-08-12 | 东南大学 | 一种应用于移动终端的柔性物体的触觉建模与表达方法 |
Also Published As
Publication number | Publication date |
---|---|
KR20180004099A (ko) | 2018-01-10 |
CN107710127B (zh) | 2020-10-20 |
EP3270272A4 (en) | 2018-05-30 |
US20170364192A1 (en) | 2017-12-21 |
EP3270272A1 (en) | 2018-01-17 |
CN107710127A (zh) | 2018-02-16 |
EP3270272B1 (en) | 2020-02-12 |
US10429982B2 (en) | 2019-10-01 |
KR101928318B1 (ko) | 2018-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102018060B1 (ko) | 터치 압력 검측 장치 및 방법 | |
WO2018049638A1 (zh) | 压力检测方法、触控芯片以及压力检测模块 | |
US9007322B1 (en) | Compensation of signal values for a touch sensor | |
CN110132458B (zh) | 一种动态或准动态力度检测装置及方法 | |
US20140347315A1 (en) | Touch control method of capacitive screen and device related thereto | |
EP3376195B1 (en) | Pressure detection apparatus and intelligent terminal | |
US11875592B2 (en) | Elongated fingerprint sensor | |
WO2012138397A1 (en) | Active integrator for a capacitive sense array | |
WO2018145299A1 (zh) | 压力检测方法及其装置以及电子终端 | |
KR102520922B1 (ko) | 압력 감지 신호를 처리하기 위한 방법 및 시스템 | |
WO2017214857A1 (zh) | 便携式电子设备及其压力检测装置和方法 | |
US10120479B2 (en) | Capacitive pressure sensor and method for the same | |
WO2017206052A1 (zh) | 用于检测压力的方法和装置 | |
WO2015154570A1 (zh) | 触摸屏感应方法和装置 | |
CN108604136B (zh) | 确定感应电极初始距离发生变化的方法 | |
WO2017206051A1 (zh) | 用于检测压力的方法和装置 | |
TWI491859B (zh) | 測量觸碰力量的方法及測量裝置 | |
CN107797692B (zh) | 触摸力估计 | |
US10055044B2 (en) | Integral sensing apparatus for touch and pressure sensing and method for the same | |
WO2020147840A1 (zh) | 触控板按压力检测方法、装置、存储介质和计算机设备 | |
CN111443820A (zh) | 触控板的按压冲量识别方法及系统 | |
US11515875B2 (en) | Device comprising force sensors | |
WO2018049633A1 (zh) | 压力检测装置、压力检测方法及电子终端 | |
TW202347097A (zh) | 具有觸覺感測與改正裝置感測的輸入裝置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 20177024052 Country of ref document: KR Kind code of ref document: A |
|
REEP | Request for entry into the european phase |
Ref document number: 2016892935 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |