Nothing Special   »   [go: up one dir, main page]

CN108287633B - Calibration method and device of pressure sensor - Google Patents

Calibration method and device of pressure sensor Download PDF

Info

Publication number
CN108287633B
CN108287633B CN201810066556.9A CN201810066556A CN108287633B CN 108287633 B CN108287633 B CN 108287633B CN 201810066556 A CN201810066556 A CN 201810066556A CN 108287633 B CN108287633 B CN 108287633B
Authority
CN
China
Prior art keywords
pressure value
calibration
pressing
pressure
pressing position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201810066556.9A
Other languages
Chinese (zh)
Other versions
CN108287633A (en
Inventor
张海平
周意保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810066556.9A priority Critical patent/CN108287633B/en
Publication of CN108287633A publication Critical patent/CN108287633A/en
Application granted granted Critical
Publication of CN108287633B publication Critical patent/CN108287633B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring Fluid Pressure (AREA)

Abstract

The embodiment of the invention discloses a calibration method and a calibration device of a pressure sensor. Therefore, the pressure value detected by the pressure sensor can be automatically calibrated according to the predetermined calibration parameters without the help of an external auxiliary calibration tool, the calibration process is simplified, and the use experience of a user is improved.

Description

Calibration method and device of pressure sensor
Technical Field
The invention relates to the technical field of electronics, in particular to a calibration method and a calibration device for a pressure sensor.
Background
With the rapid development of electronic technology, more and more mobile terminals are equipped with pressure sensors, and the mobile terminals can detect an operation instruction input by a user through the pressure sensors, that is, the mobile terminals can detect a pressing operation of the user and a pressure value of the pressing operation through the pressure sensors, and then determine an operation instruction corresponding to the pressure value of the pressing operation according to a corresponding relationship between the pressure value and the operation instruction. It is important to calibrate the pressure sensor to accurately detect the pressure value of the pressing operation.
Currently, the calibration method of the pressure sensor mainly calibrates the pressure sensor by means of an auxiliary calibration tool, for example, a pressure sensor calibration device composed of an air tube, a barometer and a data acquisition and processing component calibrates the pressure sensor. It can be seen that the current calibration method for the pressure sensor has the problem of tedious operation.
Disclosure of Invention
The embodiment of the invention discloses a calibration method and a calibration device for a pressure sensor, which can conveniently and quickly calibrate the pressure value detected by the pressure sensor without an auxiliary calibration tool.
The first aspect of the embodiment of the invention discloses a calibration method of a pressure sensor, which comprises the following steps:
detecting a first pressure value of a pressing operation for a terminal screen through a pressure sensor;
calibrating the first pressure value according to a predetermined target calibration parameter to obtain a second pressure value;
determining the second pressure value as an output pressure value of the pressure sensor for the pressing operation.
In a first possible implementation manner of the first aspect of the embodiment of the present invention, the target calibration parameter includes a calibration coefficient and a calibration offset;
the calibrating the first pressure value according to a predetermined target calibration parameter to obtain a second pressure value comprises:
calculating a product of the calibration coefficient and the first pressure value;
determining a sum of the product and the calibration offset as a second pressure value.
With reference to the first possible implementation manner of the first aspect of the embodiment of the present invention, in a second possible implementation manner of the first aspect of the embodiment of the present invention, after the detecting, by the pressure sensor, the first pressure value for the pressing operation of the terminal screen, before the calibrating, according to a predetermined target calibration parameter, the first pressure value to obtain the second pressure value, the method further includes:
determining a target pressing position point of the pressing operation in the terminal screen;
and acquiring calibration parameters corresponding to the target pressing position point from the corresponding relation between the pressing position point and the calibration parameters, and determining the calibration parameters corresponding to the target pressing position point as target calibration parameters.
With reference to the second possible implementation manner of the first aspect of the embodiment of the present invention, in a third possible implementation manner of the first aspect of the embodiment of the present invention, before the obtaining the calibration parameter corresponding to the target pressing position point from the corresponding relationship between the pressing position point and the calibration parameter, the method further includes:
detecting fourth pressure values of at least four pressing position points in the terminal screen under the test pressing operation of the third pressure values through the pressure sensors;
detecting, by the pressure sensor, a sixth pressure value of each of the at least four pressing location points at a test pressing operation of a fifth pressure value;
determining a ratio of a first difference between the third pressure value and the fifth pressure value to a second difference between the fourth pressure value and the sixth pressure value at each pressing position point as a calibration coefficient of the pressing position point;
determining a ratio of a third difference value of each of the compression location points to a fourth difference value of the compression location point as a calibration offset of the compression location point, wherein the third difference value of each of the compression location points is equal to a difference value of a product of the fifth pressure value and the fourth pressure value of the compression location point and a product of the third pressure value and the sixth pressure value of the compression location point, and the fourth difference value of each of the compression location points is equal to a difference value of the fourth pressure value of the compression location point and the sixth pressure value of the compression location point;
and determining the corresponding relation between the pressing position points and the calibration parameters according to the calibration coefficient of each pressing position point and the calibration offset of the pressing position point.
With reference to the third possible implementation manner of the first aspect of the embodiment of the present invention, in a fourth possible implementation manner of the first aspect of the embodiment of the present invention, the test pressing operation of the third pressure value and the test pressing operation of the fifth pressure value are applied to the terminal screen by a standard pressure controller through a planar silicone rubber.
With reference to the first aspect of the embodiment of the present invention, in a fifth possible implementation manner of the first aspect of the embodiment of the present invention, after the detecting, by the pressure sensor, a first pressure value for a pressing operation of the terminal screen, before calibrating, according to a predetermined target calibration parameter, the first pressure value to obtain a second pressure value, the method further includes:
judging whether the terminal screen is in a horizontal state or not;
and when the terminal screen is in the horizontal state, executing the operation of calibrating the first pressure value according to a predetermined target calibration parameter to obtain a second pressure value.
The second aspect of the embodiments of the present invention discloses a calibration apparatus for a pressure sensor, the apparatus includes a detection module, a calibration module, and a first determination module, wherein:
the detection module is used for detecting a first pressure value aiming at the pressing operation of the terminal screen through the pressure sensor;
the calibration module is used for calibrating the first pressure value according to a predetermined target calibration parameter to obtain a second pressure value;
the first determination module is configured to determine the second pressure value as an output pressure value of the pressure sensor for the pressing operation.
In a first possible implementation manner of the second aspect of the embodiment of the present invention, the target calibration parameter includes a calibration coefficient and a calibration offset;
the calibration module comprises a calculation submodule and a determination submodule, wherein:
the calculation submodule is used for calculating the product of the calibration coefficient and the first pressure value;
the determination submodule is used for determining the sum of the product and the calibration offset as the second pressure value.
With reference to the first possible implementation manner of the second aspect of the embodiment of the present invention, in a second possible implementation manner of the second aspect of the embodiment of the present invention, the apparatus further includes a second determining module and an obtaining module, where:
the second determination module is used for determining a target pressing position point of the pressing operation in the terminal screen after the detection module performs the operation of detecting the first pressure value of the pressing operation on the terminal screen through the pressure sensor and before the calibration module performs the operation of calibrating the first pressure value according to a predetermined target calibration parameter to obtain a second pressure value;
the acquisition module is used for acquiring the calibration parameters corresponding to the target pressing position points from the corresponding relation between the pressing position points and the calibration parameters;
the first determining module is further configured to determine a calibration parameter corresponding to the target pressing position point as the target calibration parameter.
With reference to the second possible implementation manner of the second aspect of the embodiment of the present invention, in a third possible implementation manner of the second aspect of the embodiment of the present invention, before the obtaining module performs the operation of obtaining the calibration parameter corresponding to the target pressing position point from the corresponding relationship between the pressing position point and the calibration parameter, the detecting module is further configured to detect, by the pressure sensor, a fourth pressure value of at least four pressing position points in the terminal screen under a test pressing operation at a third pressure value, and detect, by the pressure sensor, a sixth pressure value of each of the at least four pressing position points under a test pressing operation at a fifth pressure value;
the first determining module is further configured to determine a ratio of a first difference between the third pressure value and the fifth pressure value to a second difference between the fourth pressure value and the sixth pressure value at each pressing position point as a calibration coefficient of the pressing position point, determine a ratio of a third difference between each pressing position point and the fourth difference at the pressing position point as a calibration offset of the pressing position point, and determine a corresponding relationship between the pressing position point and the calibration parameter according to the calibration coefficient and the calibration offset of each pressing position point, where the third difference at each pressing position point is equal to a difference between a product of the fifth pressure value and the fourth pressure value at the pressing position point and a product of the third pressure value and the sixth pressure value at the pressing position point, a fourth difference value for each of the pressing location points is equal to a difference value between the fourth pressure value for that pressing location point and the sixth pressure value for that pressing location point.
With reference to the third possible implementation manner of the second aspect of the embodiment of the present invention, in a fourth possible implementation manner of the second aspect of the embodiment of the present invention, the test pressing operation of the third pressure value and the test pressing operation of the fifth pressure value are applied to the terminal screen by a standard pressure controller through a flat silicone rubber.
With reference to the second aspect of the embodiment of the present invention, in a fifth possible implementation manner of the second aspect of the embodiment of the present invention, the apparatus further includes a determining module, where:
the judging module is used for judging whether the terminal screen is in a horizontal state or not after the detecting module executes the operation of detecting the first pressure value of the pressing operation aiming at the terminal screen through the pressure sensor and before the calibrating module executes the operation of calibrating the first pressure value according to the predetermined target calibrating parameter to obtain the second pressure value, and when the judging result is yes, the calibrating module is triggered to execute the operation of calibrating the first pressure value according to the predetermined target calibrating parameter to obtain the second pressure value.
In the embodiment of the invention, a first pressure value of the pressing operation of the terminal screen is detected through the pressure sensor, the first pressure value is calibrated according to a predetermined target calibration parameter to obtain a second pressure value, and the second pressure value is used as an output pressure value of the pressure sensor for the pressing operation. Therefore, the pressure value detected by the pressure sensor can be automatically calibrated according to the predetermined calibration parameters without the help of an external auxiliary calibration tool, the calibration process is simplified, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a method for calibrating a pressure sensor according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating another method for calibrating a pressure sensor according to an embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of a calibration apparatus for a pressure sensor according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of another calibration apparatus for a pressure sensor according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of a calibration apparatus for a pressure sensor according to an embodiment of the disclosure;
fig. 6 is a schematic structural diagram of a calibration apparatus for a pressure sensor according to another embodiment of the disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a calibration method and a calibration device for a pressure sensor, which can automatically calibrate a pressure value detected by the pressure sensor according to predetermined calibration parameters without an external auxiliary calibration tool, simplify a calibration process and improve the use experience of a user. The following are detailed below.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a calibration method of a pressure sensor according to an embodiment of the present invention. The method shown in fig. 1 may be applied to a terminal provided with a pressure sensor, such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. As shown in fig. 1, the calibration method of the pressure sensor may include the steps of:
s101, detecting a first pressure value of the pressing operation of the terminal screen through a pressure sensor.
In the embodiment of the invention, the first pressure value of the pressing operation for the terminal screen, which is detected by the pressure sensor, is greater than or equal to the preset pressure value, that is, only when the first pressure value of the pressing operation for the terminal screen is greater than or equal to the preset pressure value, the pressing operation can be detected by the pressure sensor, and then the first pressure value of the pressing operation is detected.
And S102, calibrating the first pressure value according to a predetermined target calibration parameter to obtain a second pressure value.
In the embodiment of the present invention, the target calibration parameter may be a calibration parameter set manually or a calibration parameter analyzed according to a corresponding test pressing operation, which is not limited in the embodiment of the present invention.
And S103, determining the second pressure value as an output pressure value of the pressure sensor for the pressing operation.
In the embodiment of the invention, the second pressure value is determined as the output pressure value of the pressure sensor aiming at the press operation, so that the calibration of the first pressure value detected by the pressure sensor is realized, and further, the operation instruction corresponding to the second pressure value can be determined as the operation instruction corresponding to the press operation by the terminal and executed, the calibration process is simple, and the use experience of a user is improved.
As an alternative embodiment, the target calibration parameter may include a calibration coefficient (e.g., 0.9 or 1.1, etc.) and/or a calibration offset (e.g., 0.1N or 0.2N, etc.), and when the target calibration parameter includes the calibration coefficient, calibrating the first pressure value according to a predetermined target calibration parameter to obtain the second pressure value may include:
and calculating the product of the calibration coefficient and the first pressure value, and determining the product as the second pressure value.
When the target calibration parameter includes a calibration offset, calibrating the first pressure value according to a predetermined target calibration parameter to obtain a second pressure value may include:
and calculating the sum of the first pressure value and the target calibration parameter, and determining the calculation result as the second pressure value.
When the target calibration parameter includes a calibration coefficient and a calibration offset, calibrating the first pressure value according to a predetermined target calibration parameter to obtain a second pressure value may include:
calculating a product of the calibration coefficient and the first pressure value, and determining a sum of the calculated product and the calibration offset as the second pressure value; or
And calculating the sum of the first pressure value and the calibration offset, and determining the product of the calculated sum and the calibration coefficient as the second pressure value.
In this alternative embodiment, the target calibration parameter is used to represent the relationship between the pressure value actually detected by the pressure sensor and the actual pressure value of the pressing operation, so that the output pressure value of the pressure sensor for the pressing operation can be as close as possible to or equal to the actual pressure value (i.e. the theoretical pressure value) of the pressing operation, such as the linear relationship nPractice of=k*xDetection of+ b, wherein, xDetection ofA pressure value of the pressing operation actually detected by the pressure sensor, nPractice ofFor example, the output pressure value of the pressure sensor for the pressing operation, k is a calibration coefficient and b is a calibration offset, and the parabolic relationship is also included, and the embodiments of the present invention are not limited thereto. For example, assuming that the relationship between the pressure value of the pressing operation actually detected by the pressure sensor and the actual pressure value of the pressing operation is a linear relationship, the pressure value of the pressing operation actually detected by the pressure sensor is 4N, the calibration coefficient k is 1, and the calibration offset b is 1N, the pressure value finally output by the pressure sensor is (4 × 1+1) N.
As another alternative, after step S101 is performed and before step S102 is performed, the following operations may be performed:
and judging whether the terminal screen is in a horizontal state, and triggering and executing the operation of calibrating the first pressure value according to a predetermined target calibration parameter to obtain a second pressure value when the terminal screen is in the horizontal state. Therefore, the accuracy of the first pressure value of the pressing operation detected by the pressure sensor can be improved, and misoperation of a user can be prevented.
As another alternative, after step S101 is performed and before step S102 is performed, the following operations may be performed:
and judging whether the terminal screen is in a screen locking state, judging whether the terminal screen is in a horizontal state when the terminal screen is not in the screen locking state, and triggering and executing the operation of calibrating the first pressure value according to a predetermined target calibration parameter to obtain a second pressure value when the terminal screen is in the horizontal state. Therefore, misoperation of the user can be prevented, the electric quantity loss caused by the fact that the corresponding operation instruction is triggered and executed due to the misoperation of the user is reduced, and the use experience of the user is improved.
It should be noted that the calibration method disclosed in the embodiment of the present invention may also be applied to a terminal provided with a pressure membrane, so as to calibrate the pressure value of the pressing operation detected by the pressure membrane.
In the embodiment of the invention, a first pressure value of the pressing operation of the terminal screen is detected through the pressure sensor, the first pressure value is calibrated according to a predetermined target calibration parameter to obtain a second pressure value, and the second pressure value is used as an output pressure value of the pressure sensor for the pressing operation. Therefore, the pressure value detected by the pressure sensor can be automatically calibrated according to the predetermined calibration parameters without the help of an external auxiliary calibration tool, the calibration process is simplified, and the use experience of a user is improved.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another calibration method for a pressure sensor according to an embodiment of the present invention. The method shown in fig. 2 may be applied to a terminal provided with a pressure sensor, such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. As shown in fig. 2, the calibration method of the pressure sensor may include the steps of:
s201, detecting a first pressure value of the pressing operation of the terminal screen through a pressure sensor.
In the embodiment of the invention, the first pressure value of the pressing operation for the terminal screen, which is detected by the pressure sensor, is greater than or equal to the preset pressure value, that is, only when the first pressure value of the pressing operation for the terminal screen is greater than or equal to the preset pressure value, the pressing operation can be detected by the pressure sensor, and then the first pressure value of the pressing operation is detected.
And S202, determining a target pressing position point of the pressing operation in the terminal screen.
And S203, acquiring the calibration parameters corresponding to the target pressing position points from the corresponding relation between the pressing position points and the calibration parameters.
In the embodiment of the invention, different pressing position points correspond to different calibration parameters, so that the first pressure value can be calibrated in a differentiated and accurate manner.
And S204, determining the calibration parameters corresponding to the target pressing position points as target calibration parameters.
In the embodiment of the present invention, the target calibration parameter includes a calibration coefficient and a calibration offset.
S205, calibrating the first pressure value according to the target calibration parameter to obtain a second pressure value.
And S206, determining the second pressure value as the output pressure value of the pressure sensor for the pressing operation.
In the embodiment of the invention, the second pressure value is determined as the output pressure value of the pressure sensor aiming at the press operation, so that the calibration of the first pressure value detected by the pressure sensor is realized, and further, the operation instruction corresponding to the second pressure value can be determined as the operation instruction corresponding to the press operation by the terminal and executed, the calibration process is simple, and the use experience of a user is improved.
As an alternative embodiment, calibrating the first pressure value according to a predetermined target calibration parameter to obtain the second pressure value may include:
calculating a product of the calibration coefficient and the first pressure value, and determining a sum of the calculated product and the calibration offset as the second pressure value; or
And calculating the sum of the first pressure value and the calibration offset, and determining the product of the calculated sum and the calibration coefficient as the second pressure value.
As another optional implementation, before performing step S201, the following operations may also be performed:
detecting fourth pressure values of at least four pressing position points in the terminal screen under the test pressing operation of the third pressure values through a pressure sensor;
detecting, by the pressure sensor, a sixth pressure value of each of the at least four pressing location points at a test pressing operation of the fifth pressure value;
determining the ratio of a first difference value of the third pressure value and the fifth pressure value to a second difference value of a fourth pressure value of each pressing position point and a sixth pressure value of the pressing position point as a calibration coefficient of the pressing position point;
determining a ratio of a third difference value of each pressing position point to a fourth difference value of the pressing position point as a calibration offset of the pressing position point, wherein the third difference value of each pressing position point is equal to a difference value of a product of a fifth pressure value and a fourth pressure value of the pressing position point and a product of the third pressure value and a sixth pressure value of the pressing position point, and the fourth difference value of each pressing position point is equal to a difference value of the fourth pressure value of the pressing position point and the sixth pressure value of the pressing position point;
and determining the corresponding relation between the pressing position points and the calibration parameters according to the calibration coefficient of each pressing position point and the calibration offset of the pressing position point.
In this another optional implementation, at least four pressing position points, such as pressing position points located in four top corners of the terminal screen and pressing position points located in a center position of the terminal screen, are determined in advance from the terminal screen, and for example, the terminal screen is uniformly divided into a preset number of screen regions, and the center position of each screen region is used as the determined at least four pressing position points, where the preset number is an even number greater than or equal to 4, which is not limited in the embodiment of the present invention.
Further optionally, the test pressing operation of the third pressure value and the test pressing operation of the fifth pressure value may be applied to the terminal screen by a standard pressure controller through a planar silicone rubber.
In the actual calibration operation, the terminal provided with the pressure sensor can be placed in a groove completely attached to the terminal, so that the terminal can be fixed and a terminal screen can be kept in a horizontal state, then a plane silica gel with the same size as the terminal screen is flatly laid on the terminal screen, a test pressing operation of a third pressure value and a test pressing operation of a fifth pressure value are applied to the terminal screen through a standard pressure tester, calibration parameters for representing the relation between the pressure value of the pressing operation detected by the pressure sensor and the actual pressure value of the test pressing operation of each pressing position point are determined according to the fourth pressure value of at least four pressing position points detected by the pressure sensor under the test pressing operation of the third pressure value and the sixth pressure value under the test pressing operation of the fifth pressure value, and storing the calibration parameter of each pressing position point so as to calibrate the pressure value of the pressing operation of each pressing position point directly according to the calibration parameter of each pressing position point.
As another alternative embodiment, after completing step S201 and before executing step S202, the following operations may be further executed:
judging whether the terminal screen is in a horizontal state, and triggering and executing the step S202 when the terminal screen is in the horizontal state; or
Judging whether the terminal screen is in a screen locking state, judging whether the terminal screen is in a horizontal state when the terminal screen is not in the screen locking state, and triggering to execute the step S202 when the terminal screen is in the horizontal state.
It should be noted that the calibration method disclosed in the embodiment of the present invention may also be applied to a terminal provided with a pressure membrane, so as to calibrate the pressure value of the pressing operation detected by the pressure membrane.
By implementing the embodiment of the invention, the pressure value detected by the pressure sensor can be automatically calibrated according to the predetermined calibration parameters without an external auxiliary calibration tool, so that the calibration process is simplified, and the use experience of a user is improved.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a calibration device of a pressure sensor according to an embodiment of the present invention. The calibration device of the pressure sensor shown in fig. 3 may be installed in a terminal provided with a pressure sensor, such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. As shown in fig. 3, the calibration apparatus of the pressure sensor may include a detection module 301, a calibration module 302, and a first determination module 303, wherein:
the detection module 301 is configured to detect a first pressure value of a pressing operation on a terminal screen through a pressure sensor.
The calibration module 302 is configured to calibrate the first pressure value of the pressing operation detected by the detection module 301 according to a predetermined target calibration parameter to obtain a second pressure value.
The first determining module 303 is configured to determine the second pressure value calibrated by the calibrating module 302 as an output pressure value of the pressure sensor for the pressing operation.
As an alternative implementation, the target calibration parameter may include a calibration coefficient and a calibration offset, and the calibration module 302 may include a calculation sub-module 3021 and a determination sub-module 3022, in this case, the structure of the calibration apparatus for a pressure sensor may be as shown in fig. 4, where fig. 4 is a schematic structural diagram of another calibration apparatus for a pressure sensor disclosed in the embodiment of the present invention. Wherein:
the calculation submodule 3021 is configured to calculate a product of the calibration coefficient and the first pressure value, and calculate a sum of the product and the calibration offset;
the determination submodule 3022 is configured to determine the sum of the product calculated by the calculation submodule 3021 and the calibration offset as the second pressure value.
In this optional implementation manner, further optionally, the calibration apparatus for a pressure sensor may further include a second determining module 304 and an obtaining module 305, in this case, the structure of the calibration apparatus for a pressure sensor may be as shown in fig. 5, and fig. 5 is a schematic structural diagram of a calibration apparatus for a pressure sensor according to another embodiment of the disclosure. Wherein:
the second determining module 304 is configured to determine a target pressing position point of the pressing operation detected by the detecting module 301 in the terminal screen after the detecting module 301 detects the first pressure value of the pressing operation on the terminal screen through the pressure sensor and before the calibrating module 302 calibrates the first pressure value according to a predetermined target calibration parameter to obtain the second pressure value.
The obtaining module 305 is configured to obtain the calibration parameter corresponding to the target pressing position point determined by the second determining module 304 from the corresponding relationship between the pressing position point and the calibration parameter.
The first determining module 303 may be further configured to determine, as the target calibration parameter, the calibration parameter corresponding to the target pressing position acquired by the acquiring module 305, so that the calibrating module 302 calibrates the first pressure value of the pressing operation detected by the detecting module 301 according to the target calibration parameter determined by the first determining module 303.
In this optional embodiment, still further optionally, the detecting module 301 may be further configured to detect, by the pressure sensor, fourth pressure values of at least four pressing location points in the terminal screen under a test pressing operation at a third pressure value before the obtaining module 305 obtains the calibration parameter corresponding to the target pressing location point from the corresponding relationship between the pressing location points and the calibration parameter, and detect, by the pressure sensor, a sixth pressure value of each of the at least four pressing location points under a test pressing operation at a fifth pressure value.
The first determining module 303 may be further configured to determine a ratio of a first difference between the third pressure value and the fifth pressure value to a second difference between a fourth pressure value of each pressing location point and a sixth pressure value of the pressing location point as a calibration coefficient of the pressing location point, and determining a ratio of the third difference value of each compression position point to the fourth difference value of the compression position point as a calibration offset amount of the compression position point, and determining the corresponding relation between the pressing position points and the calibration parameters according to the calibration coefficient of each pressing position point and the calibration offset of the pressing position point, wherein the third difference value of each pressing position point is equal to a difference value of a product of the fifth pressure value and the fourth pressure value of the pressing position point and a product of the third pressure value and the sixth pressure value of the pressing position point, and the fourth difference value of each pressing position point is equal to a difference value of the fourth pressure value of the pressing position point and the sixth pressure value of the pressing position point.
Optionally, the test pressing operation of the third pressure value and the test pressing operation of the fifth pressure value may be performed by a standard pressure controller through a planar silicone rubber applied to the terminal screen.
As another optional implementation manner, on the basis of the structure of the calibration device of the pressure sensor shown in fig. 3, the calibration device of the pressure sensor may further include a determination module 306, in this case, the structure of the calibration device of the pressure sensor may be as shown in fig. 6, and fig. 6 is a schematic structural diagram of a calibration device of another pressure sensor disclosed in the embodiment of the present invention. Wherein:
the judging module 306 is configured to judge whether the terminal screen is in a horizontal state after the detecting module 301 detects the first pressure value of the pressing operation on the terminal screen through the pressure sensor and before the calibrating module 302 calibrates the first pressure value according to the predetermined target calibration parameter to obtain the second pressure value, and when the detecting result is yes, trigger the calibrating module 302 to perform the above operation of calibrating the first pressure value according to the predetermined target calibration parameter to obtain the second pressure value.
It should be noted that the calibration device may also be installed in a terminal provided with a pressure membrane, so as to calibrate the pressure value of the pressing operation detected by the pressure membrane.
By implementing the embodiment of the invention, the pressure value detected by the pressure sensor can be automatically calibrated according to the predetermined calibration parameters without an external auxiliary calibration tool, so that the calibration process is simplified, and the use experience of a user is improved.
It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to relevant descriptions of other embodiments for parts that are not described in detail in a certain embodiment. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules and sub-modules involved are not necessarily required by the invention.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The modules and sub-modules in the device of the embodiment of the invention can be combined, divided and deleted according to actual needs.
The modules and sub-modules described in the embodiments of the present invention may be implemented by a general-purpose Integrated Circuit, such as a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit).
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above detailed description is provided for the calibration method and apparatus of the pressure sensor disclosed in the embodiments of the present invention, and the specific examples are applied herein to explain the principle and the embodiments of the present invention, and the above description of the embodiments is only used to help understand the present invention and its core ideas; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. A method of calibrating a pressure sensor, the method comprising:
detecting a first pressure value of a pressing operation for a terminal screen through a pressure sensor;
determining a target pressing position point of the pressing operation in a terminal screen;
acquiring calibration parameters corresponding to the target pressing position points from the corresponding relation between the pressing position points and the calibration parameters; corresponding different calibration parameters at different pressing position points;
determining a calibration parameter corresponding to the target pressing position point as a target calibration parameter, wherein the target calibration parameter is used for representing a relation between a pressure value actually detected by the pressure sensor and an actual pressure value of the pressing operation;
calibrating the first pressure value according to the target calibration parameter to obtain a second pressure value;
determining the second pressure value as an output pressure value of the pressure sensor for the pressing operation.
2. The method of claim 1, wherein the target calibration parameters comprise a calibration coefficient and a calibration offset;
the calibrating the first pressure value according to a predetermined target calibration parameter to obtain a second pressure value comprises:
calculating a product of the calibration coefficient and the first pressure value;
determining a sum of the product and the calibration offset as a second pressure value.
3. The method according to claim 1, wherein before the obtaining of the calibration parameter corresponding to the target compression position point from the corresponding relationship between the compression position point and the calibration parameter, the method further comprises:
detecting fourth pressure values of at least four pressing position points in the terminal screen under the test pressing operation of the third pressure values through the pressure sensors;
detecting, by the pressure sensor, a sixth pressure value of each of the at least four pressing location points at a test pressing operation of a fifth pressure value;
determining a ratio of a first difference between the third pressure value and the fifth pressure value to a second difference between the fourth pressure value and the sixth pressure value at each pressing position point as a calibration coefficient of the pressing position point;
determining a ratio of a third difference value of each of the compression location points to a fourth difference value of the compression location point as a calibration offset of the compression location point, wherein the third difference value of each of the compression location points is equal to a difference value of a product of the fifth pressure value and the fourth pressure value of the compression location point and a product of the third pressure value and the sixth pressure value of the compression location point, and the fourth difference value of each of the compression location points is equal to a difference value of the fourth pressure value of the compression location point and the sixth pressure value of the compression location point;
and determining the corresponding relation between the pressing position points and the calibration parameters according to the calibration coefficient of each pressing position point and the calibration offset of the pressing position point.
4. The method of claim 3, wherein the test pressing operation of the third pressure value and the test pressing operation of the fifth pressure value are applied on the terminal screen by a standard pressure controller through a flat silicone rubber.
5. The method according to any one of claims 1 to 4, wherein after detecting a first pressure value for a pressing operation of a terminal screen by a pressure sensor, before calibrating the first pressure value according to a predetermined target calibration parameter to obtain a second pressure value, the method further comprises:
judging whether the terminal screen is in a horizontal state or not;
and when the terminal screen is in the horizontal state, executing the operation of calibrating the first pressure value according to a predetermined target calibration parameter to obtain a second pressure value.
6. A calibration device for a pressure sensor, the device comprising a detection module, a calibration module, a first determination module, a second determination module, and an acquisition module, wherein:
the detection module is used for detecting a first pressure value aiming at the pressing operation of the terminal screen through the pressure sensor;
the second determining module is used for determining a target pressing position point of the pressing operation in a terminal screen;
the acquisition module is used for acquiring the calibration parameters corresponding to the target pressing position points from the corresponding relation between the pressing position points and the calibration parameters; corresponding different calibration parameters at different pressing position points;
the first determining module is configured to determine a calibration parameter corresponding to the target pressing position point as a target calibration parameter, where the target calibration parameter is used to represent a relationship between a pressure value actually detected by the pressure sensor and an actual pressure value of the pressing operation;
the calibration module is used for calibrating the first pressure value according to the target calibration parameter to obtain a second pressure value;
the first determination module is configured to determine the second pressure value as an output pressure value of the pressure sensor for the pressing operation.
7. The apparatus of claim 6, wherein the target calibration parameters comprise a calibration coefficient and a calibration offset;
the calibration module comprises a calculation submodule and a determination submodule, wherein:
the calculation submodule is used for calculating the product of the calibration coefficient and the first pressure value;
the determination submodule is used for determining the sum of the product and the calibration offset as the second pressure value.
8. The apparatus according to claim 6, wherein the detecting module is further configured to detect, by the pressure sensor, a fourth pressure value of at least four pressing location points in the terminal screen at a third pressure value of the test pressing operation and detect, by the pressure sensor, a sixth pressure value of each of the at least four pressing location points at a fifth pressure value of the test pressing operation before the acquiring module performs the operation of acquiring the calibration parameter corresponding to the target pressing location point from the corresponding relationship between the pressing location points and the calibration parameter;
the first determining module is further configured to determine a ratio of a first difference between the third pressure value and the fifth pressure value to a second difference between the fourth pressure value and the sixth pressure value at each pressing position point as a calibration coefficient of the pressing position point, determine a ratio of a third difference between each pressing position point and the fourth difference at the pressing position point as a calibration offset of the pressing position point, and determine a corresponding relationship between the pressing position point and the calibration parameter according to the calibration coefficient and the calibration offset of each pressing position point, where the third difference at each pressing position point is equal to a difference between a product of the fifth pressure value and the fourth pressure value at the pressing position point and a product of the third pressure value and the sixth pressure value at the pressing position point, a fourth difference value for each of the pressing location points is equal to a difference value between the fourth pressure value for that pressing location point and the sixth pressure value for that pressing location point.
9. The apparatus of claim 8, wherein the test pressing operation of the third pressure value and the test pressing operation of the fifth pressure value are applied on the terminal screen by a standard pressure controller through a flat silicone rubber.
10. The apparatus according to any one of claims 6 to 9, further comprising a determining module, wherein:
the judging module is used for judging whether the terminal screen is in a horizontal state or not after the detecting module executes the operation of detecting the first pressure value of the pressing operation aiming at the terminal screen through the pressure sensor and before the calibrating module executes the operation of calibrating the first pressure value according to the predetermined target calibrating parameter to obtain the second pressure value, and when the judging result is yes, the calibrating module is triggered to execute the operation of calibrating the first pressure value according to the predetermined target calibrating parameter to obtain the second pressure value.
11. A computer-readable storage medium, characterized in that it stores a computer program that can be executed by a processor to implement the method of any one of claims 1 to 5.
CN201810066556.9A 2015-10-08 2015-10-08 Calibration method and device of pressure sensor Expired - Fee Related CN108287633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810066556.9A CN108287633B (en) 2015-10-08 2015-10-08 Calibration method and device of pressure sensor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510649978.5A CN105224132B (en) 2015-10-08 2015-10-08 The calibration method and device of a kind of pressure sensor
CN201810066556.9A CN108287633B (en) 2015-10-08 2015-10-08 Calibration method and device of pressure sensor

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510649978.5A Division CN105224132B (en) 2015-10-08 2015-10-08 The calibration method and device of a kind of pressure sensor

Publications (2)

Publication Number Publication Date
CN108287633A CN108287633A (en) 2018-07-17
CN108287633B true CN108287633B (en) 2021-06-01

Family

ID=54993148

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810066556.9A Expired - Fee Related CN108287633B (en) 2015-10-08 2015-10-08 Calibration method and device of pressure sensor
CN201510649978.5A Expired - Fee Related CN105224132B (en) 2015-10-08 2015-10-08 The calibration method and device of a kind of pressure sensor

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201510649978.5A Expired - Fee Related CN105224132B (en) 2015-10-08 2015-10-08 The calibration method and device of a kind of pressure sensor

Country Status (1)

Country Link
CN (2) CN108287633B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10198125B2 (en) * 2016-03-22 2019-02-05 Synaptics Incorporated Force sensor recalibration
CN105786257A (en) * 2016-03-25 2016-07-20 努比亚技术有限公司 Pressure screen test method and device
CN106294042B (en) * 2016-07-29 2019-08-30 深圳市中兴移动软件有限公司 A kind of detection method and detection device
CN108604145A (en) * 2016-09-17 2018-09-28 深圳市汇顶科技股份有限公司 Pressure detection method, touch chip and pressure detecting module
TWM537259U (en) * 2016-10-14 2017-02-21 奕力科技股份有限公司 Three dimensional touch control apparatus
EP3407169A4 (en) 2016-11-08 2019-04-17 Shenzhen Goodix Technology Co., Ltd. Method for determining change in initial distance of sensing electrode
CN107609496B (en) * 2017-08-31 2020-06-12 北京集创北方科技股份有限公司 Calibration method and device of pressure fingerprint module
CN109101128A (en) * 2018-07-02 2018-12-28 珠海市魅族科技有限公司 Pressure detection method and pressure detecting assembly
US11499812B2 (en) * 2019-07-01 2022-11-15 Pony Ai Inc. Systems and methods for using piezoelectric sensors to detect alignment anomaly
CN112445357B (en) * 2019-08-28 2022-06-14 北京钛方科技有限责任公司 Calibration method, calibration device and storage medium
CN111142691B (en) * 2019-12-31 2021-09-14 联想(北京)有限公司 Data processing method and electronic equipment
CN114006977B (en) * 2020-07-28 2022-10-11 华为技术有限公司 Pressure detection module and electronic equipment
CN112258809B (en) * 2020-09-30 2022-04-05 歌尔科技有限公司 Loss detection method and device of wireless earphone and earphone
CN112558791B (en) * 2020-12-17 2022-11-01 深圳市汇顶科技股份有限公司 Pressure calibration method, test machine, touch chip and touch panel

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487267A (en) * 2002-06-13 2004-04-07 西南研究会 System and method for calibrating distortion signal with another known calibrated signal
CN101750185A (en) * 2010-01-21 2010-06-23 西北工业大学 Method for measuring accuracy of small pressure
CN101846572A (en) * 2010-05-13 2010-09-29 西北工业大学 Method for decreasing basic error of pressure sensor
CN103440076A (en) * 2013-08-18 2013-12-11 江苏物联网研究发展中心 Three-dimensional multiple-point type touch screen based on thin film pressure sensors and triaxial accelerometer
CN104111766A (en) * 2014-07-24 2014-10-22 福建联迪商用设备有限公司 Resistive touch screen calibration method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63167046A (en) * 1986-12-27 1988-07-11 Honda Motor Co Ltd After-starting fuel supply control method for fuel injection type internal combustion engine
US7124047B2 (en) * 2004-09-03 2006-10-17 Eaton Corporation Mathematical model useful for determining and calibrating output of a linear sensor
JP5429131B2 (en) * 2010-10-14 2014-02-26 株式会社デンソー Touch position detection device for touch panel display
CN102539062A (en) * 2011-12-29 2012-07-04 中国燃气涡轮研究院 Sensor temperature drift compensation method and pressure sensor box
US9383287B2 (en) * 2012-12-14 2016-07-05 Eaton Corporation Online sensor calibration for electrohydraulic valves
CN103712741B (en) * 2013-11-15 2016-01-20 上海新干通通信设备有限公司 The bearing calibration of line pressure sensor
CN104776957A (en) * 2015-04-10 2015-07-15 北京振兴计量测试研究所 Pressure sensor calibration method and pressure sensor calibration device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487267A (en) * 2002-06-13 2004-04-07 西南研究会 System and method for calibrating distortion signal with another known calibrated signal
CN101750185A (en) * 2010-01-21 2010-06-23 西北工业大学 Method for measuring accuracy of small pressure
CN101846572A (en) * 2010-05-13 2010-09-29 西北工业大学 Method for decreasing basic error of pressure sensor
CN103440076A (en) * 2013-08-18 2013-12-11 江苏物联网研究发展中心 Three-dimensional multiple-point type touch screen based on thin film pressure sensors and triaxial accelerometer
CN104111766A (en) * 2014-07-24 2014-10-22 福建联迪商用设备有限公司 Resistive touch screen calibration method

Also Published As

Publication number Publication date
CN105224132B (en) 2018-01-23
CN105224132A (en) 2016-01-06
CN108287633A (en) 2018-07-17

Similar Documents

Publication Publication Date Title
CN108287633B (en) Calibration method and device of pressure sensor
CN112019279B (en) Line loss calibration method, device and system and computer readable storage medium
CN110617916B (en) Calibration method and device of air pressure sensor
CN109341836B (en) Method and device for calibrating symmetrical platform
CN112556927B (en) Pressure sensor self-correcting method, equipment, storage medium and device
CN105866781B (en) Data processing method and electronic equipment
CN111537143B (en) Performance test method and device of pressure sensor and storage medium
CN107967701B (en) Calibration method, device and equipment of depth camera equipment
CN105630158A (en) Sensor data processing method and apparatus, and terminal device
CN112629576B (en) Temperature and pressure sensor testing method, equipment, device and storage medium
CN112418590B (en) Printed circuit board component detection method and system
CN105224133A (en) A kind of pressure calibration method and device
CN105241580A (en) Temperature calibration method and terminal
CN112688687A (en) Method and device for acquiring physical information to be tested, computer equipment and storage medium
CN115728445A (en) Sensor calibration method, device, equipment and computer readable storage medium
EP2905595A1 (en) Gauge Testing Device
CN114199451A (en) Pressure detection method and system based on temperature compensation and storage medium
CN107607129B (en) Data calibration method and device and electronic equipment
CN113655093B (en) Gas concentration detection method, device, equipment and medium
CN111487011B (en) Pressure chip baking method and device and readable storage medium
CN104375696B (en) The apparatus and method of touch screen induction value self-correcting
CN111678641A (en) Performance test method and device of pressure sensor and storage medium
TWI832693B (en) Data processing control device, inspection device, data processing control method and data processing control program
CN110366040B (en) Television delivery resetting method and device, computer readable storage medium and system
CN110361602A (en) A kind of antenna for mobile phone standing wave tester and the method using its progress standing wave test

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210601