Disclosure of Invention
In order to solve the problems in the prior art, the embodiment of the application provides a method and a device for preventing ink leakage of a nib of a pressure-sensitive active pen and the pressure-sensitive active pen. The technical scheme is as follows:
in a first aspect, a method for preventing ink leakage from a tip of a pressure-sensitive active pen is provided, including the steps of:
Determining a zero AD value;
Collecting a real-time AD value, and calculating an absolute value of a difference between the real-time AD value and the zero AD value;
adjusting the zero AD value according to the absolute value of the difference between the real-time AD value and the zero AD value;
Collecting an induced current signal, and judging whether the distance between the pressure-sensitive active pen and a screen is larger than a preset distance threshold value or not according to the induced current signal;
And if the distance value is larger than the preset distance threshold value, re-executing the process of determining the zero AD value.
Further, the determining the zero AD value includes:
Continuously collecting a preset number of real-time AD values;
and deleting one maximum value and one minimum value from the preset number of real-time AD values, and calculating the average value of the residual real-time AD values to be used as a zero AD value.
Further, the adjusting the zero point AD value according to the absolute value of the difference between the real-time AD value and the zero point AD value includes:
if the absolute value of the difference between the real-time AD value and the zero AD value is smaller than a preset threshold value, the zero AD value is adjusted to the real-time AD value;
and if the absolute value of the difference between the real-time AD value and the zero AD value is larger than a preset threshold value, determining the pressure sensing active pen state, and when the pressure sensing active pen state is a katen, re-executing the process of determining the zero AD value.
Further, if the absolute value of the difference between the real-time AD value and the zero AD value is smaller than a preset threshold, adjusting the zero AD value to the real-time AD value includes:
And if the absolute value of the difference between the real-time AD value and the zero AD value is smaller than a preset threshold value, acquiring the real-time AD value again, and after each acquisition, adjusting the zero AD value by a preset adjustment value until the zero AD value is equal to the real-time AD value.
Further, if the absolute value of the difference between the real-time AD value and the zero AD value is greater than a preset threshold, determining the pressure-sensitive active pen state, and when the pressure-sensitive active pen state is a click, re-executing the process of determining the zero AD value, including:
Continuously collecting a preset number of real-time AD values;
determining a maximum real-time AD value and a minimum real-time AD value in the preset number of real-time AD values;
and calculating the difference between the maximum real-time AD value and the minimum real-time AD value, if the difference is smaller than a preset maximum threshold value, determining that the pressure sensing active pen state is stuck, and re-executing the process of determining the zero AD value.
Further, after continuously acquiring the preset number of real-time AD values, the method further comprises:
And sequentially calculating absolute values of differences between two adjacent real-time AD values, if the absolute values of the differences between the two adjacent real-time AD values are smaller than the number of preset adjacent difference thresholds and exceed the interference upper limit threshold, determining that the pressure sensing active pen state is stuck, and re-executing the process of determining the zero AD value.
In a second aspect, there is provided an apparatus for preventing ink leakage from a tip of a pressure-sensitive active pen, comprising:
A baseline module for determining a zero AD value;
the acquisition module is used for acquiring a real-time AD value and calculating an absolute value of a difference between the real-time AD value and the zero AD value;
the adjusting module is used for adjusting the zero point AD value according to the absolute value of the difference between the real-time AD value and the zero point AD value;
the distance module is used for collecting an induced current signal and judging whether the distance between the pressure-sensitive active pen and the screen is larger than a preset distance threshold value or not according to the induced current signal;
and the baseline module is further used for re-executing the processing for determining the zero AD value if the distance between the pressure-sensitive active pen and the screen is greater than a preset distance threshold.
Further, the baseline module is specifically configured to:
Continuously collecting a preset number of real-time AD values;
and deleting one maximum value and one minimum value from the preset number of real-time AD values, and calculating the average value of the residual real-time AD values to be used as a zero AD value.
Further, the adjusting module is specifically configured to:
if the absolute value of the difference between the real-time AD value and the zero AD value is smaller than a preset threshold value, the zero AD value is adjusted to the real-time AD value;
And if the absolute value of the difference between the real-time AD value and the zero AD value is larger than a preset threshold value, determining the pressure sensing active pen state, and calling the baseline module to re-execute the processing of determining the zero AD value when the pressure sensing active pen state is a katen.
Further, the adjusting module is specifically configured to:
And if the absolute value of the difference between the real-time AD value and the zero AD value is smaller than a preset threshold value, acquiring the real-time AD value again, and after each acquisition, adjusting the zero AD value by a preset adjustment value until the zero AD value is equal to the real-time AD value.
Further, the adjusting module is specifically configured to:
Continuously collecting a preset number of real-time AD values;
determining a maximum real-time AD value and a minimum real-time AD value in the preset number of real-time AD values;
And calculating the difference between the maximum real-time AD value and the minimum real-time AD value, if the difference is smaller than a preset maximum threshold value, determining that the pressure sensing active pen state is stuck, and calling the baseline module to re-execute the processing of determining the zero AD value.
Further, the adjusting module is specifically further configured to:
And sequentially calculating absolute values of differences between two adjacent real-time AD values, if the absolute values of the differences between the two adjacent real-time AD values are smaller than the number of preset adjacent difference thresholds and exceed an interference upper limit threshold, determining that the pressure sensing active pen state is stuck, and calling the baseline module to re-execute the processing of determining the zero AD value.
In a third aspect, there is provided a pressure-sensitive active pen comprising a device for preventing ink leakage from the tip of the pressure-sensitive active pen as described in the second aspect above.
The technical scheme provided by the embodiment of the application has the beneficial effects that in the embodiment of the application, a zero point AD value is determined, a real-time AD value is acquired, the absolute value of the difference between the real-time AD value and the zero point AD value is calculated, the zero point AD value is adjusted according to the absolute value of the difference between the real-time AD value and the zero point AD value, an induced current signal is acquired, whether the distance between the pressure-sensitive active pen and a screen is larger than a preset distance threshold value is judged according to the induced current signal, and if the distance between the pressure-sensitive active pen and the screen is larger than the preset distance threshold value, the processing for determining the zero point AD value is executed again. Therefore, the zero point AD value is adjusted through the real-time AD value, the problem of ink leakage caused by errors caused by temperature drift and structural clamping of the pressure sensor can be effectively avoided, and meanwhile, the zero point AD value can be automatically updated when the distance between the pressure sensing active pen and the screen is too long.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
When a user writes by using the pressure-sensitive active pen, a certain pressure is generated on the pen point, the pressure of the pen point is changed at any moment, each pressure value corresponds to handwriting with different thickness, and innumerable different pressure values and corresponding handwriting thickness degrees can form a pressure-handwriting thickness curve graph, namely, the pressure of the pressure-sensitive active pen is an abscissa, and the handwriting thickness is an ordinate pressure-handwriting thickness curve graph. The pressure-handwriting thickness can directly reflect the stroke point change of a user when writing characters, the stroke is performed, and the handwriting plumpness is determined when the user receives the strokes, so that the writing experience of a pressure-sensitive active pen is determined. The pressure-handwriting thickness graph is particularly important when handwriting and drawing operations are performed. The curve graph of pressure-handwriting thickness is the most important parameter index for measuring the quality of a pressure sensing pen.
The working process of the pressure-sensitive active pen generally comprises the steps of (1) collecting pressure data by a pen point AD, (2) calculating the collected pressure value by an MCU, (3) outputting a pressure signal by a DA, and (4) displaying handwriting corresponding to the thickness by display equipment according to the pressure signal.
When the pen tip of the pressure-sensitive active pen just touches or does not touch the display screen, the user does not exert force, and if handwriting is written on the screen, the condition is called ink leakage of the pressure-sensitive active pen. The ink leakage at the tip AD of the pressure-sensitive active pen is generally caused by a change in the zero point AD value due to a click or interference.
As can be seen from the working process of the pressure-sensitive active pen, the ink leakage phenomenon can be generated at all four nodes in the working process. In practical use, the ink leakage phenomenon of the three latter nodes is easy to eliminate and solve, and the first node, namely the node where the nib AD collects pressure data, is difficult to solve.
When the pressure-sensitive active pen is normally used, the display screen can display handwriting only when the pen point contacts the screen and pressure is applied. Normally, the note thickness percentage in the "pressure-writing thickness" graph should be 0% when no force is applied. The ink leakage is not 0%. However, in practical situations, the structure of the pressure sensor is often not particularly accurate due to the limitation of technology and cost, and the consistency of each pressure sensor is also different, so even if the same pressure sensor is used, the two pressure-sensing active pens can not necessarily obtain the same pressure-handwriting thickness graph. With the increase of the use times, the physical structure of the pressure sensor may be slightly changed, so that the pressure sensor is deformed, and therefore, the pressure sensor cannot be restored to the original position when not forced, and the ink leakage phenomenon is generated.
Based on the above, the embodiment of the application provides a method and a device for preventing ink leakage of a nib of a pressure-sensitive active pen and the pressure-sensitive active pen. In the working process of the pressure sensing active pen, real-time AD values are continuously collected, then the absolute value of the difference between the real-time AD values and the zero AD values is calculated, and then, according to whether the absolute value is larger than or smaller than or equal to a preset threshold value, how to adjust the zero AD values is judged.
The following will describe in detail a process flow for preventing ink leakage from the tip of the pressure-sensitive active pen shown in fig. 1 with reference to the specific embodiment, and the following may be included:
and 101, determining a zero AD value.
In practice, the pressure sensitive active pen needs to first determine the zero AD value when it is just started to be used. The zero point AD value is understood to be a pressure value generated by the pressure sensor when the external pressure applied to the pen tip is zero or almost zero when the pressure-sensitive active pen is not in the writing state. Through the AD value of the zero point, the deformation degree of the pressure sensor can be determined in the application process of the pressure-sensitive active pen, and then the writing force during writing is determined. In the subsequent use process, the pressure-sensitive active pen can judge the specific pressure of the pen point according to the deformation degree of the pressure sensor, and then the thickness and the length of the corresponding handwriting are determined by combining a pressure-handwriting thickness curve graph, so that the difference of the handwriting under different writing forces is shown. It will be appreciated that the zero point AD value of the pressure sensitive active pen may be preset by the manufacturer and stored in the pressure sensitive active pen when shipped, or may be determined by other means after shipment, and the present application is not limited in detail herein.
Alternatively, the zero AD value may be automatically determined after the voltage-sensing active pen is powered on, and the corresponding process may be as follows, continuously collecting a preset number of real-time AD values, deleting one maximum value and one minimum value from the preset number of real-time AD values, and calculating an average value of the remaining real-time AD values as the zero AD value.
In implementation, after the pressure sensing active pen is powered on (a new battery is installed or replaced), the pressure sensing active pen can automatically perform processes such as initialization, and then a preset number of real-time AD values are continuously collected immediately according to a preset frequency (such as1 frame). Since unexpected factors may cause abnormality (abrupt increase or abrupt decrease) of the real-time AD value, one of the maximum value and the minimum value may be deleted, and then the average value of the remaining real-time AD values is calculated again, with the result being taken as the zero-point AD value. After the zero AD value is obtained, the pressure-sensitive active pen can be stored locally, and can be taken at any time when the zero AD value is needed to be used in the subsequent use process of the pressure-sensitive active pen. In this embodiment, real-time AD values of 10 consecutive frames immediately after power-up, for example, 8, 9, 10, 11, 10, 11, 9, 11, and then deleting one maximum value 11 and one minimum value 8, calculating the average value of the real-time AD values of 8 frames of the remaining 9, 10, 11, 10, 11, 9, and 10 to be 10, and setting the zero point AD value to be 10.
And 102, collecting a real-time AD value, and calculating the absolute value of the difference between the real-time AD value and the zero AD value.
And 103, adjusting the zero point AD value according to the absolute value of the difference between the real-time AD value and the zero point AD value.
In the implementation, the pressure-sensitive active pen collects real-time AD values at any time in the working process, then calculates the difference between the real-time AD values and the zero AD values obtained in the previous step, and takes the absolute value of the obtained difference. And then determining whether the zero AD value and a specific adjustment method need to be adjusted according to the obtained absolute value.
Alternatively, the absolute value of the difference between the real-time AD value and the zero AD value may be compared with a preset threshold, and the zero AD value may be correspondingly adjusted according to different results, where the corresponding process may be that if the absolute value of the difference between the real-time AD value and the zero AD value is smaller than the preset threshold, the zero AD value is adjusted to the real-time AD value, and if the absolute value of the difference between the real-time AD value and the zero AD value is greater than the preset threshold, the pressure-sensitive active pen state is determined, and when the pressure-sensitive active pen state is a katen, the process of determining the zero AD value is re-executed.
In practice, the preset threshold may be preset in the pressure sensitive active pen. When the pressure sensing active pen is needed, a preset threshold value can be directly obtained. At this time, the preset threshold may be manually set and stored in the MCU of the pressure-sensitive active pen before the pressure-sensitive active pen leaves the factory. The method for determining the preset threshold is not particularly limited herein, and for example, writing data of the current batch of pressure-sensitive active pens when used is manually collected, the writing data includes a pressure value generated by a pressure sensor, and then the preset threshold is calculated and counted based on the pressure value. For example, based on the pressure value of the pressure sensor and the reference pressure value (i.e. the zero point AD value) of the pressure sensor in the writing process of each pressure-sensitive active pen, determining the corresponding AD value when each pressure-sensitive active pen just emits ink, and then counting each pressure variation to obtain the AD value which can be the most reflected just emits ink and is used as a preset threshold value. The statistical method is not limited in the application. It can be understood that the structures, parameters, and used pressure sensors of the same batch of pressure sensitive active pens are the same.
After the absolute value of the difference between the real-time AD value and the zero AD value is calculated, the magnitude of the preset threshold value and the absolute value are compared. When the absolute value is smaller than the preset threshold, the zero point AD value can be adjusted until the zero point AD value is equal to the real-time AD value, when the absolute value is larger than the preset threshold, whether the pressure sensing active pen is blocked currently can be further judged, if the pressure sensing active pen is blocked, the process of determining the zero point AD value in the step 101 is executed again, and when the absolute value is equal to the preset threshold, the zero point AD value can be not adjusted.
Optionally, if the absolute value of the difference between the real-time AD value and the zero AD value is smaller than a preset threshold, the process of adjusting the zero AD value to the real-time AD value may specifically be that if the absolute value of the difference between the real-time AD value and the zero AD value is smaller than the preset threshold, the real-time AD value is collected again, and after each collection, the zero AD value is adjusted by a preset adjustment value until the zero AD value is equal to the real-time AD value.
In implementation, after the absolute value of the difference between the real-time AD value and the zero AD value is smaller than the preset threshold value after comparison, the pressure sensing active pen can start to adjust the zero AD value. Specifically, the pressure-sensitive active pen can continuously collect real-time AD values according to a preset frequency (e.g., 1 frame), after the real-time AD values are collected, the zero-point AD values are close to the real-time AD values by preset adjustment values each time until the real-time AD values obtained after a certain collection are equal to the zero-point AD values after adjustment, adjustment of the zero-point AD values is stopped, and the zero-point AD values at the moment are used as the latest zero-point AD values.
For example, the preset threshold of the pressure-sensitive active pen may be 3, and the zero-point AD value is 10 according to the foregoing, and when 7< real-time AD value <13, the absolute value of the difference between the real-time AD value and the zero-point AD value is smaller than the preset threshold 3. If the real-time AD value is 8, it can be determined that the absolute value of the difference between the real-time AD value and the zero AD value is smaller than the preset threshold (|8-10|= 2<3), the pressure-sensitive active pen continues to acquire the real-time AD value (assuming still 8), then adjusts the zero AD value by the preset adjustment value (1 AD value), 10-1=9, and obtains a new zero AD value which is not equal to the real-time AD value, and therefore, the pressure-sensitive active pen continues to acquire the real-time AD value (assuming still 8), adjusts the new zero AD value by the preset adjustment value (1 AD value), and obtains a new zero AD value which is 8, and at this time, the pressure-sensitive active pen uses 8 as the zero AD value and stops the adjustment processing of the zero AD value. It should be noted that, in this embodiment, the preset threshold, the acquisition frequency of the real-time AD value, and the preset adjustment value may be specifically set according to actual needs, and the data adopted in this embodiment is only exemplary, and the present application is not limited herein.
Optionally, determining the state of the pressure sensing active pen, and when the state of the pressure sensing active pen is a click, re-executing the process of determining the zero point AD value, wherein the process comprises continuously collecting a preset number of real-time AD values, determining a maximum real-time AD value and a minimum real-time AD value in the preset number of real-time AD values, calculating a difference between the maximum real-time AD value and the minimum real-time AD value, and if the difference is smaller than a preset maximum threshold, determining that the state of the pressure sensing active pen is the click, and re-executing the process of determining the zero point AD value.
In implementation, after the absolute value of the difference between the real-time AD value and the zero AD value is greater than the preset threshold value after the comparison, the magnitudes of the real-time AD value and the zero AD value may be compared first. And then further judging whether the pressure sensing active pen is currently in a clamping state. Specifically, a preset number of real-time AD values can be continuously collected, and the maximum real-time AD value and the minimum real-time AD value in the preset number of real-time AD values can be screened out. And calculating the difference value between the maximum real-time AD value and the minimum real-time AD value. And comparing the obtained difference value with a preset maximum threshold value, and judging that the current pressure-sensitive active pen is in a stuck state if the difference value is smaller than the preset maximum threshold value. Further combining the previous comparison of the real-time AD value and the zero AD value, it can be determined whether the positive or negative jam occurs. If the previously compared real-time AD value is greater than the zero AD value, positive-going jamming is performed, and if the previously compared real-time AD value is less than the zero AD value, negative-going jamming is performed. Whether positive or negative stuck, the process of determining the zero point AD value of step 101 above needs to be re-performed. Therefore, once the pressure-sensitive active pen is detected to be blocked, the zero AD value can be determined again, and the problem of ink leakage of the pen point is avoided.
It should be noted that if the previously compared real-time AD value is greater than the zero-point AD value and the difference between the maximum real-time AD value and the minimum real-time AD value is greater than the preset threshold, or if the previously compared real-time AD value is less than the zero-point AD value and the difference between the maximum real-time AD value and the minimum real-time AD value is greater than the preset threshold, it may be determined that the pressure sensing is not actively in the stuck state. In this case, the state of the pressure-sensitive active pen needs to be further analyzed according to the specific situation to make corresponding adjustment.
Alternatively, whether the pressure sensing active pen is stuck or not can be judged by other methods, and the corresponding processing can be as follows, after continuously collecting a preset number of real-time AD values, sequentially calculating the absolute value of the difference between two adjacent real-time AD values, if the absolute value of the difference between the two adjacent real-time AD values is smaller than the number of the preset adjacent difference threshold and exceeds the interference upper limit threshold, determining that the pressure sensing active pen is stuck, and re-executing the processing for determining the zero AD value.
In practice, the magnitudes of the real-time AD value and the zero-point AD value may be compared first, similar to the previous process. And continuously collecting a preset number of real-time AD values, and sequentially calculating the absolute value of the difference between two adjacent real-time AD values. And comparing each obtained absolute value with a preset adjacent difference threshold value, and counting the number of absolute values smaller than the preset adjacent difference threshold value. If the number is greater than the interference upper threshold, the current pressure sensing active pen can be judged to be in a stuck state. Further combining the previous comparison of the real-time AD value and the zero AD value, it can be determined whether the positive or negative jam occurs. If the previously compared real-time AD value is greater than the zero AD value, positive-going jamming is performed, and if the previously compared real-time AD value is less than the zero AD value, negative-going jamming is performed. Similar to the foregoing, whether positive or negative stuck, the process of determining the zero point AD value of the foregoing step 101 needs to be re-performed.
And 104, collecting an induced current signal, and judging whether the distance between the pressure-sensitive active pen and the screen is greater than a preset distance threshold according to the induced current signal.
And 105, if the distance value is larger than the preset distance threshold value, re-executing the process of determining the zero AD value.
In implementation, during the use process, the distance between the screen of the pressure-sensitive active pen can be determined, and when the distance between the pressure-sensitive active pen and the screen is too far, the process of determining the zero point AD value in the previous step 101 is actively re-executed to correct the zero point AD value. It will be appreciated that during the actual use of the pressure sensitive active pen, there is no sequence between steps 102-103 and steps 104-105, or steps 104-105 may be performed first and then steps 102-103 may be performed.
An induction coil can be arranged on the pressure-sensitive active pen in advance, so that a magnetic field generated by scanning current emitted by the capacitive touch display screen or the OC display can be sensed within a certain range from the screen, and the distance can be used as a preset distance threshold. According to the principle of electromagnetic induction, the scanning current is changed continuously to generate a magnetic field which changes continuously and moves the induction coil relatively. The coil is subjected to a cutting motion of the conductor with respect to the magnetic field, thereby generating an induced current. Further, whether or not the zero point AD value needs to be newly determined can be determined based on whether or not the induced current is generated. When the induced current can be detected, the distance between the pressure-sensitive active pen and the screen can be judged to be smaller than a preset distance threshold value, and when the induced current cannot be detected, the distance between the pressure-sensitive active pen and the screen can be judged to be larger than the preset distance threshold value. When the distance between the pressure-sensitive active pen and the screen is greater than the preset distance threshold, the process of determining the zero point AD value in the previous step 101 may be re-performed with reference to the previous method.
Through the processing, the zero AD value can be determined again at regular time when the pressure-sensitive active pen is far away from the screen, misoperation of a user can be prevented, the situation that the user deliberately presses the pen point to be far away from the screen and releases the pen after the pressure-sensitive pen is reset is prevented.
In the embodiment of the application, a zero point AD value is determined, a real-time AD value is acquired, the absolute value of the difference between the real-time AD value and the zero point AD value is calculated, the zero point AD value is adjusted according to the absolute value of the difference between the real-time AD value and the zero point AD value, an induced current signal is acquired, whether the distance between the pressure sensing active pen and a screen is larger than a preset distance threshold value is judged according to the induced current signal, and if the distance between the pressure sensing active pen and the screen is larger than the preset distance threshold value, the zero point AD value determining process is executed again. Therefore, the zero point AD value is adjusted through the real-time AD value, the problem of ink leakage caused by errors caused by temperature drift and structural clamping of the pressure sensor can be effectively avoided, and meanwhile, the zero point AD value can be automatically updated when the distance between the pressure sensing active pen and the screen is too long.
Based on the same technical concept, the embodiment of the application also provides a device for preventing ink leakage of the nib of the pressure-sensitive active pen, as shown in fig. 2, comprising:
a baseline module 201 for determining a zero AD value;
The acquisition module 202 is configured to acquire a real-time AD value, and calculate an absolute value of a difference between the real-time AD value and the zero AD value;
An adjustment module 203, configured to adjust the zero point AD value according to an absolute value of a difference between the real-time AD value and the zero point AD value;
The distance module 204 is used for collecting an induced current signal, and judging whether the distance between the pressure-sensitive active pen and the screen is greater than a preset distance threshold value according to the induced current signal;
The baseline module 201 is further configured to re-execute the process of determining the zero point AD value if the distance between the pressure-sensitive active pen and the screen is greater than a preset distance threshold.
Optionally, the baseline module 201 is specifically configured to:
Continuously collecting a preset number of real-time AD values;
and deleting one maximum value and one minimum value from the preset number of real-time AD values, and calculating the average value of the residual real-time AD values to be used as a zero AD value.
Optionally, the adjusting module 203 is specifically configured to:
if the absolute value of the difference between the real-time AD value and the zero AD value is smaller than a preset threshold value, the zero AD value is adjusted to the real-time AD value;
And if the absolute value of the difference between the real-time AD value and the zero AD value is larger than a preset threshold value, determining the pressure sensing active pen state, and calling the baseline module 201 to re-execute the process of determining the zero AD value when the pressure sensing active pen state is a katen.
Optionally, the adjusting module 203 is specifically configured to:
And if the absolute value of the difference between the real-time AD value and the zero AD value is smaller than a preset threshold value, acquiring the real-time AD value again, and after each acquisition, adjusting the zero AD value by a preset adjustment value until the zero AD value is equal to the real-time AD value.
Optionally, the adjusting module 203 is specifically configured to:
Continuously collecting a preset number of real-time AD values;
determining a maximum real-time AD value and a minimum real-time AD value in the preset number of real-time AD values;
and calculating the difference between the maximum real-time AD value and the minimum real-time AD value, if the difference is smaller than a preset maximum threshold value, determining that the pressure sensing active pen state is a stuck state, and calling the baseline module 201 to re-execute the process of determining the zero AD value.
Optionally, the adjusting module 203 is specifically further configured to:
And sequentially calculating the absolute value of the difference between the two adjacent real-time AD values, if the absolute value of the difference between the two adjacent real-time AD values is smaller than the number of the preset adjacent difference threshold and exceeds the interference upper limit threshold, determining that the pressure sensing active pen state is stuck, and calling the baseline module 201 to re-execute the process of determining the zero AD value.
Based on the same technical conception, the embodiment of the application also provides a pressure-sensitive active pen, which comprises the device for preventing ink leakage of the nib of the pressure-sensitive active pen.
It should be noted that, the embodiments of the device for preventing ink leakage from the pen tip of the pressure-sensitive active pen and the method for preventing ink leakage from the pen tip of the pressure-sensitive active pen provided in the foregoing embodiments belong to the same concept, and the method for preventing ink leakage from the pen tip of the pressure-sensitive active pen may be implemented based on the device for preventing ink leakage from the pen tip of the pressure-sensitive active pen, which is not described herein.
The foregoing description of the preferred embodiments of the application is not intended to limit the application to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the application are intended to be included within the scope of the application.