Pressure calibration method, device, and storage medium for a capacitive pen

By acquiring test signals under different pressures of the capacitive pen, the calibration coefficient is determined, fixture errors are eliminated, and the accuracy and precision of capacitive pen pressure calibration are improved.

CN115575028BActive Publication Date: 2026-03-27MAXEYE SMART TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-01
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

The pressure calibration process of a capacitive pen is subject to fixture errors, which leads to inaccurate calibration results and affects operational precision.

Method used

By acquiring test signals under two different pressures, the calibration coefficient is determined, and the measured signal is used to offset the fixture error, thereby improving the calibration accuracy.

Benefits of technology

It eliminates the influence of fixture errors and improves the accuracy and operational precision of the capacitive pen pressure test signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115575028B_ABST
    Figure CN115575028B_ABST
Patent Text Reader

Abstract

The application discloses a pressure calibration method and device of a capacitive pen and a storage medium, and belongs to the technical field of capacitive pens. The method comprises the following steps: acquiring a first test signal of a capacitive pen corresponding to a first pressure and a second test signal of the capacitive pen corresponding to a second pressure; determining a first calibration coefficient according to the first pressure, the first test signal, the second pressure and the second test signal; and calibrating a pressure test signal detected by the capacitive pen according to the first calibration coefficient. The application aims to improve the accuracy of capacitive pen pressure test signal calibration and improve the operation precision of the capacitive pen.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of capacitive pen, and particularly to a pressure calibration method of capacitive pen, a pressure calibration device of capacitive pen and a storage medium. BACKGROUND

[0002] With the development of science and technology, more and more electronic devices are equipped with capacitive pen products. As a tool for completing human-computer dialogue operation by using pen and capacitive screen, the capacitive pen can simulate writing, drawing and other input actions, and is favored by more and more users.

[0003] The capacitive pen is an electronic product for input, and has a high precision requirement for the pressure detection of the human body contact and applied on the capacitive pen. The pressure calibration process of the capacitive pen generally requires two pressure values of the capacitive pen and corresponding pressure test signals. One of the pressure test signals is a test value obtained by actually measuring the corresponding pressure value through the capacitive pen, and the other pressure test signal is a fixed value of the pre-calibration corresponding to the preset pressure value. The test value actually measured will introduce a jig error, and the fixed value of the pre-calibration does not exist the jig error. This will cause the jig error in the calibration process to be unable to be eliminated, resulting in inaccurate calibration results and affecting the operation precision of the capacitive pen. SUMMARY

[0004] The main purpose of the present application is to provide a pressure calibration method of capacitive pen, a pressure calibration device of capacitive pen and a storage medium, which aims to improve the accuracy of the pressure test signal calibration of the capacitive pen and improve the operation precision of the capacitive pen.

[0005] To achieve the above purpose, the present application provides a pressure calibration method of capacitive pen, which comprises the following steps:

[0006] obtaining a first test signal of the capacitive pen corresponding to a first pressure and a second test signal of the capacitive pen corresponding to a second pressure;

[0007] determining a first calibration coefficient according to the first pressure, the first test signal, the second pressure and the second test signal;

[0008] calibrating the pressure test signal detected by the capacitive pen according to the first calibration coefficient.

[0009] Optionally, the step of determining the first calibration coefficient according to the first pressure, the first test signal, the second pressure and the second test signal comprises:

[0010] determining a first signal difference between the first test signal and the second test signal, and determining a first pressure difference between the first pressure and the second pressure;

[0011] determining the first calibration coefficient according to a ratio of the second signal difference value and the second pressure difference value.

[0012] Optionally, the preset signal deviation is defined as a jig error of the capacitive pen, and the step of determining the first calibration coefficient according to the first pressure, the first test signal, the second pressure and the second test signal comprises:

[0013] determining a difference value between the first test signal and the preset signal deviation as a first output signal of the capacitive pen under the first pressure, and determining a difference value between the second test signal and the preset signal deviation as a second output signal of the capacitive pen under the second pressure;

[0014] determining a second signal difference value between the first output signal and the second output signal, and determining a second pressure difference value between the first pressure and the second pressure;

[0015] determining the first calibration coefficient according to a ratio of the second signal difference value and the second pressure difference value.

[0016] Optionally, after the step of calibrating the pressure test signal detected by the capacitive pen according to the first calibration coefficient, the method further comprises:

[0017] controlling the capacitive pen to move on a test panel according to a preset trajectory to obtain a trajectory characteristic parameter corresponding to the test trajectory;

[0018] when the trajectory characteristic parameter does not match a preset trajectory characteristic parameter, determining a second calibration coefficient according to a test parameter corresponding to the test trajectory, and determining a third calibration coefficient according to the first calibration coefficient and the second calibration coefficient;

[0019] calibrating the pressure test signal detected by the capacitive pen according to the third calibration coefficient.

[0020] Optionally, the step of controlling the capacitive pen to move on a test panel according to a preset trajectory to obtain a trajectory characteristic parameter corresponding to the test trajectory comprises:

[0021] controlling the capacitive pen to move on the test panel according to the preset trajectory at a third pressure and a fourth pressure to respectively obtain a first trajectory characteristic parameter corresponding to the third pressure and a second trajectory characteristic parameter corresponding to the fourth pressure, the trajectory characteristic parameter comprising the first trajectory characteristic parameter and the second trajectory characteristic parameter.

[0022] Optionally, when the trajectory characteristic parameter does not match a preset trajectory characteristic parameter, the step of determining a second calibration coefficient according to a test parameter corresponding to the test trajectory, and determining a third calibration coefficient according to the first calibration coefficient and the second calibration coefficient comprises:

[0023] when the first trajectory characteristic parameter or the second trajectory characteristic parameter does not match a preset trajectory characteristic parameter, obtaining a third test signal of the capacitive pen corresponding to a third pressure and a fourth test signal of the capacitive pen corresponding to a fourth pressure, the test parameter including the third pressure and the fourth pressure;

[0024] determining the second calibration coefficient according to the third pressure, the third test signal, the fourth pressure, and the fourth test signal;

[0025] determining the third calibration coefficient according to the first calibration coefficient and a corresponding first weight parameter, and the second calibration coefficient and a corresponding second weight parameter.

[0026] Optionally, the step of calibrating the pressure test signal detected by the capacitive pen according to the first calibration coefficient includes:

[0027] obtaining a screen correction coefficient of the test panel corresponding to the correlation between the capacitive pen and the test panel;

[0028] calibrating the pressure test signal detected by the capacitive pen according to the first calibration coefficient and the screen correction coefficient.

[0029] Optionally, the first pressure is a pressure obtained based on user data statistics of the capacitive pen, and the second pressure is an upper limit value of pressure allowed to be calibrated by the capacitive pen.

[0030] In addition, in order to achieve the above-mentioned purpose, the present application further provides a pressure calibration device of a capacitive pen, which comprises a memory, a processor, and a pressure calibration program of a capacitive pen stored in the memory and executable on the processor, and the pressure calibration program of the capacitive pen is configured to implement the steps of the pressure calibration method of the capacitive pen.

[0031] In addition, in order to achieve the above-mentioned purpose, the present application further provides a storage medium, which stores a pressure calibration program of a capacitive pen, and the pressure calibration program of the capacitive pen implements the steps of the pressure calibration method of the capacitive pen when executed by a processor.

[0032] This invention proposes a pressure calibration method for a capacitive pen. This method determines the input and output values ​​for pressure calibration by acquiring a first test signal from the capacitive pen corresponding to a first pressure and a second test signal from the capacitive pen corresponding to a second pressure. Then, a first calibration coefficient is determined based on the first pressure, the first test signal, the second pressure, and the second test signal. Finally, the pressure test signal detected by the capacitive pen is calibrated according to the first calibration coefficient. Compared to traditional capacitive pen pressure calibration methods, this method utilizes two pressures and their corresponding test signals. Both test signals used for calibration are actually measured signals, ensuring that the calibration process does not introduce only a single fixture error. This allows fixture errors corresponding to different test signals to cancel each other out during calibration, thus avoiding the influence of fixture errors on the capacitive pen pressure calibration results, improving the accuracy of the capacitive pen pressure test signal calibration, and enhancing the operational precision of the capacitive pen. Attached Figure Description

[0033] Figure 1 This is a schematic diagram of the hardware structure involved in the operation of an embodiment of the pressure calibration device for the capacitive pen of the present invention;

[0034] Figure 2 This is a flowchart illustrating an embodiment of the pressure calibration method for a capacitive pen according to the present invention.

[0035] Figure 3 This is a flowchart illustrating another embodiment of the pressure calibration method for the capacitive pen of the present invention;

[0036] Figure 4 This is a flowchart illustrating another embodiment of the pressure calibration method for the capacitive pen of the present invention.

[0037] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0038] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0039] This invention provides a pressure calibration device for a capacitive pen. For example... Figure 1 As shown, the pressure calibration device for the capacitive pen may include: a processor 1001, such as a central processing unit (CPU), and a memory 1002. The memory 1002 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. Optionally, the memory 1002 may also be a storage device independent of the aforementioned processor 1001.

[0040] Those skilled in the art can understand that, Figure 1 The structure shown in the figure does not constitute a limitation on the pressure calibration device of the capacitive pen, and can include more or fewer components than the figure, or combine certain components, or different component arrangements.

[0041] As Figure 1 The memory 1002 as a storage medium can include a capacitive pen pressure calibration program. In Figure 1 In the capacitive pen pressure calibration device shown in the figure, the processor 1001 can be used to call the capacitive pen pressure calibration program stored in the memory 1004, and execute the related step operations of the capacitive pen pressure calibration method in the following embodiments.

[0042] The embodiment of the application also provides a capacitive pen pressure calibration method, applied to the capacitive pen pressure calibration device described above.

[0043] Referring to Figure 2 , an embodiment of the capacitive pen pressure calibration method is proposed. In this embodiment, the capacitive pen pressure calibration method comprises:

[0044] Step S10, obtaining a first test signal of a capacitive pen corresponding to a first pressure and a second test signal of the capacitive pen corresponding to a second pressure;

[0045] The first pressure and the second pressure are two pressure values used as test samples in the capacitive pen pressure calibration process. It should be noted that the first pressure and the second pressure are two different pressure values, and neither of them is zero. Correspondingly, the first test signal is the signal output by the capacitive pen when the first pressure is used as the test sample, and the second test signal is the signal output by the capacitive pen when the second pressure is used as the test sample. The signal value of the first test signal or the second test signal can be used to determine the size of the corresponding pressure. The capacitive pen confirms the pressure received by the capacitive pen according to the size of the signal value and outputs the corresponding writing effect.

[0046] Optionally, different weights (such as weights) are set to replace the pressure values of the test samples, the capacitive pen receives the first pressure corresponding weight and the second pressure corresponding weight, and the first test signal and the second test signal corresponding to the output are recorded.

[0047] In other embodiments, more than two pressure values and corresponding test signals can also be obtained for capacitive pen pressure calibration.

[0048] Step S20, determining a first calibration coefficient according to the first pressure, the first test signal, the second pressure, and the second test signal;

[0049] Optionally, a first relationship can be established according to the first pressure and the first test signal, the first relationship being a relationship with the first pressure as an input parameter and the first test signal as an output parameter. Meanwhile, a second relationship can also be established according to the second pressure and the second test signal. Further, a parameter in the relationship that is related to the input parameter and affects the output parameter can be determined as a first calibration coefficient, and a third relationship about the first calibration coefficient can be obtained by combining the first relationship and the second relationship, the third relationship being a relationship with the first calibration coefficient as an output parameter and the first pressure, the first test signal, the second pressure and the second test signal as input parameters. The first calibration coefficient can be determined according to the third relationship.

[0050] In step S30, the pressure test signal detected by the capacitive pen is calibrated according to the first calibration coefficient.

[0051] It should be noted that the pressure calibration of the capacitive pen is one of the processes performed in the production of the capacitive pen, and the pressure calibration can be performed before the assembly of each component of the capacitive pen is completed, by taking the components or modules related to pressure sensing or calibration in the capacitive pen as calibration objects.

[0052] In addition, the jigs used in the process of calibrating the pressure of the capacitive pen include various devices, such as electronic scales and devices for converting analog signals and digital signals, and each device will produce a certain error in the calibration process according to its own physical hardware. The errors produced by each device will eventually affect the output result after being aggregated, thereby causing a jig error in the calibration process. The embodiment eliminates the jig error by the above steps to determine the accurate first calibration coefficient.

[0053] Optionally, after the first calibration coefficient is determined, the pressure test signal detected by the capacitive pen is calibrated according to the first calibration coefficient, so that the pressure test signal of the capacitive pen can match the actual pressure value.

[0054] The method for calibrating the pressure of the capacitive pen according to the embodiment of the present application comprises the following steps: obtaining a first test signal of the capacitive pen corresponding to a first pressure and a second test signal of the capacitive pen corresponding to a second pressure, determining an input value and an output value of the pressure calibration, and then determining a first calibration coefficient according to the first pressure, the first test signal, the second pressure and the second test signal, and further calibrating the pressure test signal detected by the capacitive pen according to the first calibration coefficient. Compared with the traditional method for calibrating the pressure of the capacitive pen, the method uses two pressures and corresponding test signals, and the test signals corresponding to the two pressures used for calibration are both signals actually measured, so that the calibration process no longer only introduces a jig error, and the jig errors corresponding to different test signals can be offset in the calibration process, thereby avoiding the influence of the jig error on the calibration result of the pressure of the capacitive pen in the calibration process, improving the accuracy of the calibration of the pressure test signal of the capacitive pen, and improving the operation precision of the capacitive pen.

[0055] Further, in the embodiment, the first pressure is a pressure obtained based on user data statistics of the capacitive pen, and the second pressure is an upper limit value of the pressure allowed to be calibrated by the capacitive pen.

[0056] Optionally, through user data statistics, the most frequently used pressure value in the actual use environment of the user can be determined, or a target value can be determined in a manner such as an average or a median in the data statistics, so as to determine the first pressure according to the actual use condition of the user. In addition, the pressure calibration of the capacitive pen has a limited range, when the pressure received by the capacitive pen is greater than the range, the capacitive pen does not support the function of the corresponding pressure value, and even the pressure value can cause damage to the capacitive pen. Therefore, the condition of the capacitive pen under the limit condition can also be taken as a test example, that is, the upper limit value of the pressure allowed to be calibrated is taken as the second pressure, so as to ensure that the capacitive pen can be accurately calibrated under the upper limit value of the pressure.

[0057] By determining the first pressure and the second pressure based on the user data statistics and the upper limit value of the pressure of the capacitive pen, the reliability of the first pressure and the second pressure as test samples can be ensured, so as to improve the accuracy of the pressure calibration of the capacitive pen and improve the user experience.

[0058] Further, based on the above embodiment, another embodiment of the method for calibrating the pressure of the capacitive pen is provided. In the embodiment, referring to Figure 3 , the step of determining the first calibration coefficient according to the first pressure, the first test signal, the second pressure and the second test signal comprises:

[0059] Step S21, determining a first signal difference between the first test signal and the second test signal, and determining a first pressure difference between the first pressure and the second pressure;

[0060] Step S22, determining the first calibration coefficient according to the ratio of the first signal difference and the first pressure difference.

[0061] In the embodiment, the pressure value of the capacitive pen and the corresponding test signal are linearly related. Specifically, a linear relationship between the pressure value of the capacitive pen and the corresponding test signal can be established in advance. The slope of the pressure value as the independent variable in the linear relationship represents the calibration coefficient of the capacitive pen. Based on the linear relationship, a linear relationship between the capacitive pen and the test signal under different pressure values can be established to obtain the first relationship and the second relationship corresponding to different pressure values, respectively. Then, the slope parameter in the linear relationship can be determined, that is, the first calibration coefficient is determined.

[0062] Alternatively, the first pressure corresponds to the first relationship, and the second pressure corresponds to the second relationship. According to the first relationship and the second relationship, the quantitative relationship between the calibration coefficient of the capacitive pen pressure test signal and the first pressure, the second pressure, the first test signal, and the second test signal can be determined. The first signal difference between the first test signal and the second test signal is the difference between the output parameters of the two relationships. The first pressure difference between the first pressure and the second pressure is the difference between the input parameters of the two relationships. The ratio of the first signal difference and the first pressure difference is the relationship about the slope parameter after fitting the two linear relationships. Based on this, the quantitative relationship between the first calibration coefficient and the first signal difference and the second signal difference can be obtained. Based on the quantitative relationship, the first calibration coefficient can be determined by the ratio of the first signal difference and the first pressure difference.

[0063] In addition, the constant term in the linear relationship is a pre-pressure value when the input pressure value is zero. The pre-pressure value is set by manual input. The input pressure value of zero is equivalent to using the pre-pressure value as a test sample. The jig error cannot be introduced in both pressure test samples to eliminate it, so the first pressure and the second pressure are not zero.

[0064] In other embodiments, the first calibration coefficient can also be determined according to the first pressure, the first test signal, the second pressure, and the second test signal curve fitting according to actual needs.

[0065] It can be determined that the same jig error is included in the first test signal and the second test signal. By determining the first signal difference of the two test signals, the jig error can be offset. Then, the first calibration coefficient is determined according to the ratio between the first signal difference and the first pressure difference, so as to determine the first calibration coefficient of the test sample fitting under the first pressure and the second pressure two test samples, and improve the accuracy of the capacitive pen pressure calibration.

[0066] Further, in the embodiment, the preset signal deviation is defined as a jig error of the capacitive pen, and the step of determining the first calibration coefficient according to the first pressure, the first test signal, the second pressure, and the second test signal comprises:

[0067] In step S210, a difference between the first test signal and the preset signal deviation is determined as a first output signal of the capacitive pen under the first pressure, and a difference between the second test signal and the preset signal deviation is determined as a second output signal of the capacitive pen under the second pressure.

[0068] In step S211, a second signal difference between the first output signal and the second output signal is determined, and a second pressure difference between the first pressure and the second pressure is determined.

[0069] In step S220, the first calibration coefficient is determined according to a ratio of the second signal difference to the second pressure difference.

[0070] The preset signal deviation is the jig error, and the first output signal and the second output signal are accurate signal values that should be output under corresponding pressures. In the pressure calibration process, the jig error is introduced, causing the first output signal and the second output signal that should be originally output to be mixed with the preset signal deviation, so that the first test signal and the second test signal are output. That is, the first test signal is the sum of the preset signal deviation and the first output signal, and the second test signal is the sum of the preset signal deviation and the second output signal. Because the first pressure and the second pressure are calibrated based on the same jig, it can be determined that the preset signal deviation in the first test signal and the second test signal is the same.

[0071] Optionally, in the actual calibration process, the preset signal deviation is an unknown parameter, the first test signal is the sum of the preset signal deviation and the first output signal, and the second test signal is the sum of the preset signal deviation and the second output signal. Therefore, the difference between the first test signal and the second test signal can offset the preset signal deviation of both sides, obtain the second signal difference between the first output signal and the second output signal, and then determine the first calibration coefficient according to the second signal difference and the second pressure difference.

[0072] It can be determined that the first test signal and the second test signal both include equal preset signal deviations. The preset signal deviation of both sides is offset by the difference between the first test signal and the second test signal, the difference between the first output signal and the second output signal is determined, and then the first calibration coefficient is determined according to the accurate first output signal and the second output signal, and the first pressure and the second pressure, so as to eliminate the jig error introduced in the process of determining the first calibration coefficient and improve the accuracy of the capacitive pen pressure calibration.

[0073] Further, based on the above embodiments, another embodiment of the pressure calibration method of the capacitive pen is proposed. In this embodiment, referring to Figure 4 , the step of calibrating the pressure test signal detected by the capacitive pen according to the first calibration coefficient further comprises:

[0074] Step S40, controlling the capacitive pen to move on the test panel according to a preset trajectory to obtain a trajectory characteristic parameter corresponding to the test trajectory;

[0075] Step S50, when the trajectory characteristic parameter does not match the preset trajectory characteristic parameter, determining a second calibration coefficient according to the test parameter corresponding to the test trajectory, and determining a third calibration coefficient according to the first calibration coefficient and the second calibration coefficient;

[0076] Step S60, calibrating the pressure test signal detected by the capacitive pen according to the third calibration coefficient.

[0077] Optionally, after completing the calibration of the pressure test signal detected by the capacitive pen according to the first calibration coefficient, the pressure calibration effect of the capacitive pen can be further verified, that is, the actual use scenario is simulated, the capacitive pen is assembled and writing is performed.

[0078] The test panel is a capacitive screen for simulating the screen on which the user writes in the actual use scenario, and can support the capacitive pen to write on the panel and feedback the corresponding writing effect. The preset trajectory is a trajectory that simulates the operation of the capacitive pen by the user in the actual use scenario, for example, a certain Chinese character, a figure or a plurality of lines, etc. The preset trajectory can be set by the staff to design a trajectory that reflects the writing effect of the capacitive pen after pressure calibration as much as possible.

[0079] Further, the trajectory characteristic parameter is a corresponding parameter after extracting the features of the test trajectory, and the device can confirm the writing effect of the test trajectory according to the trajectory characteristic parameter. For example, the trajectory characteristic parameter can include whether the center of the trajectory has discontinuous pixel points, the position of the center line, the number of lines, the total area of pixel points, etc. In this embodiment, the types of trajectory characteristic parameters are not limited. Correspondingly, the preset trajectory characteristic parameter is a corresponding parameter after extracting the features of the preset trajectory, and the preset trajectory characteristic parameter includes parameters of the same type as the trajectory characteristic parameter, which can be used as an index parameter to judge whether the writing effect of the test trajectory matches the preset trajectory. When the trajectory characteristic parameter does not match the preset trajectory characteristic parameter, it is judged that the writing effect of the test trajectory is not up to standard. For example, the distance between the position of the center line of the test trajectory and the position of the center line of the preset trajectory is greater than a preset distance, which is judged as not matching.

[0080] Further, when controlling the capacitive pen to move and write on the test panel, a load needs to be applied to the capacitive pen to simulate the pressure condition in actual use, and the load value is the test parameter. In order to better verify the pressure calibration effect, the test parameter can be set to a pressure value different from the first pressure and the second pressure.

[0081] Optionally, the pressure calibration effect of the capacitive pen is further verified. The capacitive pen is controlled to move and write on the test panel according to the preset track. The test track corresponding to the input is obtained through the feedback result of the test panel. The track feature parameters of the test track are extracted. The track feature parameters are compared with the preset track feature parameters of the corresponding preset track to determine whether they match. When they do not match, the capacitive pen is calibrated again according to the test parameter to determine a second calibration coefficient, and a third calibration coefficient is determined according to the first calibration coefficient and the second calibration coefficient.

[0082] By comparing the track feature parameters of the test track with the preset track feature parameters of the preset track, the writing effect of the capacitive pen in the actual use scenario can be determined, the pressure calibration effect of the capacitive pen is further determined, and the first calibration coefficient is corrected according to the result to improve the accuracy of the pressure calibration of the capacitive pen.

[0083] Further, in the embodiment, the step of controlling the capacitive pen to move on the test panel according to the preset track to obtain the track feature parameters of the corresponding test track includes:

[0084] In step S41, the capacitive pen is controlled to move on the test panel according to the preset track at a third pressure and a fourth pressure, respectively obtaining first track feature parameters corresponding to the third pressure and second track feature parameters corresponding to the fourth pressure. The track feature parameters include the first track feature parameters and the second track feature parameters.

[0085] The third pressure and the fourth pressure are both test parameters. It should be noted that the third pressure and the fourth pressure are both pressure values different from the first pressure and the second pressure, so as to test the writing effect under other pressure values. Further, the third pressure and the fourth pressure can be obtained based on user data statistics of the capacitive pen, for example, two pressure values different from the first pressure and the second pressure and frequently used by users can be selected, or the pressure values that can reflect the track feature parameters of the test track as much as possible can be selected according to the experience of employees.

[0086] Optionally, the third pressure and the fourth pressure are determined so that the capacitive pen is loaded with the third pressure, the capacitive pen is controlled to move on the test panel according to the preset track, and the first track and the first track feature parameters corresponding to the third pressure are obtained. The capacitive pen is loaded with the fourth pressure, the capacitive pen is controlled to move on the test panel according to the preset track, and the second track and the second track feature parameters corresponding to the fourth pressure are obtained.

[0087] In other embodiments, other pressure values or more pressure values can be selected to perform this step, or different preset trajectories are designed for different pressure values for testing.

[0088] By setting the third pressure and the fourth pressure and obtaining the trajectory characteristic parameters under the corresponding pressures, the writing effect of the capacitive pen under the corresponding pressures can be determined, so that the capacitive pen pressure calibration result is tested in combination with the actual use scene, and the accuracy of the capacitive pen pressure calibration is improved.

[0089] Further, in this embodiment, when the trajectory characteristic parameters do not match the preset trajectory characteristic parameters, the step of determining a second calibration coefficient according to the test parameters corresponding to the test trajectory, and determining a third calibration coefficient according to the first calibration coefficient and the second calibration coefficient, comprises:

[0090] Step S51, when the first trajectory characteristic parameters or the second trajectory characteristic parameters do not match the preset trajectory characteristic parameters, obtaining a third test signal of the capacitive pen corresponding to the third pressure and a fourth test signal of the capacitive pen corresponding to the fourth pressure, and the test parameters include the third pressure and the fourth pressure;

[0091] Step S52, determining the second calibration coefficient according to the third pressure, the third test signal, the fourth pressure and the fourth test signal;

[0092] Step S53, determining the third calibration coefficient according to the first calibration coefficient and the corresponding first weight parameter, and the second calibration coefficient and the corresponding second weight parameter.

[0093] For the third pressure and the fourth pressure, the preset trajectory characteristic parameters can include corresponding first preset trajectory characteristic parameters and second preset trajectory characteristic parameters, which are used to compare whether the trajectory characteristic parameters under the two pressures are matched and qualified.

[0094] Alternatively, when the trajectory characteristic parameters under the third pressure or the fourth pressure do not match the preset trajectory characteristic parameters, the third pressure and the fourth pressure can be used as test samples, and pressure calibration is performed again to obtain a third test signal corresponding to the third pressure and a fourth test signal corresponding to the fourth pressure, and a second calibration coefficient is determined according to the third pressure, the third test signal, the fourth pressure and the fourth test signal.

[0095] Further, the first weight parameter is a parameter about a proportion of the first calibration coefficient in the final calibration coefficient result, and the second weight parameter is a parameter about a proportion of the second calibration coefficient in the final calibration coefficient result. The first weight parameter and the second weight parameter can be set according to the experience of employees, for example, both are 0.5. Based on the first calibration coefficient and the corresponding first weight parameter, and the second calibration coefficient and the corresponding second weight parameter, the third calibration coefficient of the final calibration coefficient result can be determined.

[0096] By performing pressure calibration again based on the unqualified pressure value of the test effect, and combining the calibration coefficients of the two times of pressure calibration to determine the final calibration coefficient, the accuracy of the calibration coefficient of the capacitive pen can be further improved, the possible errors in the first calibration coefficient can be eliminated, and the accuracy of the pressure calibration of the capacitive pen and the operation precision of the capacitive pen can be improved.

[0097] Further, in the embodiment, the step of calibrating the pressure test signal detected by the capacitive pen according to the first calibration coefficient comprises:

[0098] In step S31, a screen correction coefficient of the test panel corresponding to the association relationship between the capacitive pen and the test panel is obtained.

[0099] In step S32, the pressure test signal detected by the capacitive pen is calibrated according to the first calibration coefficient and the screen correction coefficient.

[0100] The test panel is a capacitive screen simulating an actual use scenario. Considering that the capacitive pen may be used with capacitive screens of various brands or models in actual use, and different capacitive screens may have different output feedbacks based on different hardware parameters, corresponding screen correction coefficients can be set according to different capacitive screens, to compensate for possible errors on different capacitive screens, so that the capacitive pen has the same pressure calibration effect and the same output effect on different capacitive screens. The screen correction coefficient can be set according to the experience of employees.

[0101] Optionally, after the capacitive pen is associated with the test panel, a screen correction coefficient corresponding to the test panel is determined, and the pressure test signal detected by the capacitive pen is calibrated by using the screen correction coefficient and the first calibration coefficient.

[0102] By combining the capacitive screen associated in actual use, and further correcting the pressure calibration of the capacitive pen by using the screen correction coefficient, the capacitive pen can have the same pressure calibration accuracy when applied to different capacitive screens, and the stability of the use experience of the capacitive pen can be improved.

[0103] In addition, the embodiment of the present application further provides a storage medium, wherein the storage medium stores a pressure calibration program of the capacitive pen, and the pressure calibration program of the capacitive pen is executed by a processor to realize the related steps of any one of the above capacitive pen pressure calibration methods.

[0104] It should be noted that, in this document, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element preceded by "comprises... a" does not, without more constraints, foreclose the existence of additional identical elements in the process, method, article, or system that includes the element.

[0105] The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0106] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by means of software and necessary general hardware platforms, and of course, they can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) as described above, and includes a plurality of instructions for causing a terminal device (which can be a mobile phone, a computer, a server, or a network device) to execute the methods described in the various embodiments of the present application.

[0107] The above is only the preferred embodiment of the present application, and does not limit the patent scope of the present application, and any equivalent structure or equivalent process transformation, or direct or indirect application in other related technical fields, is also included in the patent protection scope of the present application.

Claims

1. A method for calibrating the pressure of a capacitive pen, characterized in that, The pressure calibration method for the capacitive pen includes the following steps: Acquire the first test signal of the capacitive pen corresponding to the first pressure and the second test signal of the capacitive pen corresponding to the second pressure. A first calibration coefficient is determined based on the first pressure, the first test signal, the second pressure, and the second test signal; The step of determining the first calibration coefficient based on the first pressure, the first test signal, the second pressure, and the second test signal includes: Determine the first signal difference between the first test signal and the second test signal, and determine the first pressure difference between the first pressure and the second pressure; The first calibration coefficient is determined based on the ratio of the first signal difference to the first pressure difference; The pressure test signal detected by the capacitive pen is calibrated according to the first calibration coefficient.

2. The pressure calibration method for a capacitive pen as described in claim 1, characterized in that, Define a preset signal deviation as the fixture error of the capacitive pen, and the step of determining the first calibration coefficient based on the first pressure, the first test signal, the second pressure, and the second test signal includes: The difference between the first test signal and the preset signal is determined to be the first output signal of the capacitive pen under the first pressure, and the difference between the second test signal and the preset signal is determined to be the second output signal of the capacitive pen under the second pressure. Determine the second signal difference between the first output signal and the second output signal, and determine the second pressure difference between the first pressure and the second pressure; The first calibration coefficient is determined based on the ratio of the second signal difference to the second pressure difference.

3. The pressure calibration method for a capacitive pen as described in claim 1, characterized in that, After the step of calibrating the pressure test signal detected by the capacitive pen according to the first calibration coefficient, the method further includes: Control the capacitive stylus to move on the test panel according to a preset trajectory, and obtain the trajectory feature parameters of the corresponding test trajectory; When the trajectory feature parameters do not match the preset trajectory feature parameters, a second calibration coefficient is determined based on the test parameters corresponding to the test trajectory, and a third calibration coefficient is determined based on the first calibration coefficient and the second calibration coefficient. The pressure test signal detected by the capacitive pen is calibrated according to the third calibration coefficient.

4. The pressure calibration method for a capacitive pen as described in claim 3, characterized in that, The step of controlling the capacitive stylus to move along a preset trajectory on the test panel to obtain the trajectory feature parameters of the corresponding test trajectory includes: The capacitive stylus is controlled to move on the test panel according to the preset trajectory based on the third pressure and the fourth pressure, respectively obtaining the first trajectory feature parameter corresponding to the third pressure and the second trajectory feature parameter corresponding to the fourth pressure. The trajectory feature parameter includes the first trajectory feature parameter and the second trajectory feature parameter.

5. The pressure calibration method for a capacitive pen as described in claim 4, characterized in that, The step of determining a second calibration coefficient based on the test parameters corresponding to the test trajectory when the trajectory feature parameters do not match the preset trajectory feature parameters, and determining a third calibration coefficient based on the first calibration coefficient and the second calibration coefficient, includes: When the first trajectory feature parameter or the second trajectory feature parameter does not match the preset trajectory feature parameter, the third test signal of the capacitive pen corresponding to the third pressure and the fourth test signal of the capacitive pen corresponding to the fourth pressure are obtained, and the test parameters include the third pressure and the fourth pressure; The second calibration coefficient is determined based on the third pressure, the third test signal, the fourth pressure, and the fourth test signal; The third calibration coefficient is determined based on the first calibration coefficient and its corresponding first weight parameter, and the second calibration coefficient and its corresponding second weight parameter.

6. The pressure calibration method for a capacitive pen as described in claim 3, characterized in that, The step of calibrating the pressure test signal detected by the capacitive pen according to the first calibration coefficient includes: Obtain the screen correction coefficient of the test panel corresponding to the association between the capacitive pen and the test panel; The pressure test signal detected by the capacitive pen is calibrated according to the first calibration coefficient and the screen correction coefficient.

7. The pressure calibration method for a capacitive pen as described in any one of claims 1 to 6, characterized in that, The first pressure is the pressure obtained based on user data statistics of the capacitive pen, and the second pressure is the upper limit of the pressure that the capacitive pen is allowed to calibrate.

8. A pressure calibration device for a capacitive pen, characterized in that, The pressure calibration device for the capacitive pen includes: a memory, a processor, and a pressure calibration program for the capacitive pen stored in the memory and executable on the processor, the pressure calibration program for the capacitive pen being configured to implement the steps of the pressure calibration method for the capacitive pen as described in any one of claims 1 to 7.

9. A storage medium, characterized in that, The storage medium stores a pressure calibration program for the capacitive pen, which, when executed by a processor, implements the steps of the pressure calibration method for the capacitive pen as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Calibrating methodology of stylus pressure mapping curve for matching microsoft® window 10 standard in mass production

    US20170131796A1