CN112000248A - Noise detection method, active pen and screen - Google Patents
Noise detection method, active pen and screen Download PDFInfo
- Publication number
- CN112000248A CN112000248A CN202011173975.6A CN202011173975A CN112000248A CN 112000248 A CN112000248 A CN 112000248A CN 202011173975 A CN202011173975 A CN 202011173975A CN 112000248 A CN112000248 A CN 112000248A
- Authority
- CN
- China
- Prior art keywords
- active pen
- screen
- noise
- request signal
- frequency
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
Abstract
The application provides a noise detection method, an active pen and a screen, which can reduce the influence of noise on communication between the active pen and the screen. The method comprises the following steps: carrying out noise detection on the active pen in an idle period in a working cycle; and the active pen sends a frequency hopping request signal to a screen according to the result of the noise detection, wherein the frequency hopping request signal is used for indicating and updating the working frequency point of the active pen.
Description
Technical Field
The embodiment of the application relates to the technical field of information, in particular to a noise detection method, an active pen and a screen.
Background
With the popularization of capacitive screens, capacitive active pens are becoming more and more widely used. The active pen and the screen may communicate one-way or two-way. The active pen with one-way communication can send a coding signal to a screen; and an active pen in the two-way communication can send a coding signal, namely a downlink signal, to the screen and can also receive an uplink signal sent by the screen, wherein the uplink signal can carry parameters configured for the active pen to code. In addition, the active pen can also perform wireless communication with the screen through a wireless communication module of the active pen, such as Bluetooth communication and the like. However, due to noise interference of the screen itself or noise interference in the environment, communication between the active pen and the screen is affected, so that phenomena such as disconnection, common occurrence, and vanishing point occur when the active pen writes on the screen, and thus user experience is affected.
Disclosure of Invention
The embodiment of the application provides a noise detection method, an active pen and a screen, which can reduce the influence of noise on communication between the active pen and the screen.
In a first aspect, a method for noise detection is provided, including: carrying out noise detection on the active pen in an idle period in a working cycle; and the active pen sends a frequency hopping request signal to a screen according to the result of the noise detection, wherein the frequency hopping request signal is used for indicating and updating the working frequency point of the active pen.
In the embodiment, the active pen performs noise detection in the idle time period of each working cycle, and because the idle time period of the active pen in each working cycle is long, the noise sampling time is sufficient, the noise resolution ratio is excellent, and a better noise detection result can be obtained, so that the working frequency point of the active pen is updated in time, and the influence of noise on the communication between the active pen and the screen is reduced.
In one possible implementation, the method further includes: the active pen determines whether noise exists in an interference frequency range of the active pen according to a noise detection result, wherein the interference frequency range comprises frequency points, and the frequency difference between the frequency points and the working frequency points is smaller than a preset value; wherein, the active pen sends a frequency hopping request signal to the screen, including: and if the active pen determines that noise exists in the interference frequency range, the active pen sends the frequency hopping request signal to the screen.
When it is determined that no noise exists in the interference frequency range of the active pen based on the result of the noise detection, the active pen may not send a frequency hopping request signal and continue to use the current working frequency point; and/or when the noise is determined to exist in the interference frequency range based on the result of the noise detection, the active pen can send a frequency hopping request signal to the screen to update the working frequency point, so that the influence of the noise on the communication between the active pen and the screen is reduced.
In a possible implementation manner, if the active pen determines that noise exists in the interference frequency range, the sending the frequency hopping request signal to the screen includes: and if the active pen determines that noise exists in the interference frequency range according to the results of multiple noise detections in multiple continuous working cycles, the active pen sends the frequency hopping request signal to the screen.
In order to improve the reliability of noise detection, when the initiative pen determines that noise exists in an interference frequency range according to the results of multiple times of noise detection in multiple continuous working cycles, the initiative pen sends the frequency hopping request signal to a screen.
In one possible implementation, the method further includes: the active pen determines the minimum noise frequency point of the active pen according to the result of noise detection; if the signal amplitude of the minimum noise frequency point is smaller than that of the working frequency point, determining the minimum noise frequency point as the updated working frequency point; wherein, the active pen sends a frequency hopping request signal to the screen, including: and the active pen sends the frequency hopping request signal carrying the minimum noise frequency point to the screen.
The active pen can also determine the minimum noise frequency point according to the result of the noise detection, so that the minimum noise frequency point is used as an updated working frequency point, and the screen is informed of the minimum noise frequency point.
In one possible implementation, the method further includes: the active pen determines the minimum noise frequency point of the active pen according to the result of noise detection; wherein, the active pen sends a frequency hopping request signal to the screen, including: and if the signal amplitude of the minimum noise frequency point is smaller than that of the working frequency point, sending the frequency hopping request signal carrying the minimum noise frequency point to the screen.
The active pen can determine whether to send a frequency hopping request signal to the screen according to the detected minimum noise frequency point. And if the signal amplitude of the minimum noise frequency point is smaller than the signal amplitude of the current working frequency point, the active pen sends a frequency hopping request signal carrying the minimum noise frequency point to a screen.
In one possible implementation, the active pen sending a frequency hopping request signal to a screen includes: and the active pen sends a coding signal carrying the frequency hopping request signal to the screen.
In one possible implementation, the frequency hopping request signal is located at a specific bit in the coded signal.
In one possible implementation, the active pen sending a frequency hopping request signal to a screen includes: and the active pen sends a wireless signal carrying the frequency hopping request signal to the screen.
In a second aspect, a method of noise detection is provided, including: the screen receives a frequency hopping request signal sent by an active pen according to a noise detection result of the active pen; and the screen updates the working frequency point of the active pen according to the frequency hopping request signal.
In this embodiment, the active pen performs noise detection in an idle period of each working cycle, and the screen updates the working frequency point of the active pen by receiving a frequency hopping request signal sent by the active pen. Because the idle time period of the active pen in each working period is long, the noise sampling time is sufficient, the noise resolution ratio is excellent, and a better noise detection result can be obtained, so that the working frequency point of the active pen is updated in time, and the influence of noise on the communication between the active pen and the screen is reduced.
In a possible implementation manner, the frequency hopping request signal carries a minimum noise frequency point determined by the active pen according to a result of noise detection, and a signal amplitude of the minimum noise frequency point is smaller than a signal amplitude of the working frequency point, where the screen updates the working frequency point according to the frequency hopping request signal, including: and the screen updates the working frequency point according to the minimum noise frequency point.
The active pen can also determine the minimum noise frequency point according to the result of the noise detection and inform the screen of the determined minimum noise frequency point. After the screen receives the minimum noise frequency point, the minimum noise frequency point can be used as an updated working frequency point.
In one possible implementation manner, the screen receives a frequency hopping request signal sent by an active pen, and includes: and the screen receives a code printing signal which is sent by the active pen and carries the frequency hopping request signal.
In one possible implementation, the frequency hopping request signal is located at a specific bit in the coded signal.
In one possible implementation manner, the screen receives a frequency hopping request signal sent by an active pen, and includes: and the screen receives a wireless signal which is sent by the active pen and carries the frequency hopping request signal.
In a third aspect, an active pen is provided, comprising: the processing module is used for carrying out noise detection in an idle period in a working cycle; and the sending module is used for sending a frequency hopping request signal to a screen according to the result of the noise detection, wherein the frequency hopping request signal is used for indicating and updating the working frequency point of the active pen.
In a possible implementation manner, the processing module is specifically configured to: determining whether noise exists in an interference frequency range of the active pen according to a noise detection result, wherein the interference frequency range comprises frequency points of which the frequency difference with the working frequency point is smaller than a preset value; wherein the sending module is specifically configured to: and if the processing module determines that noise exists in the interference frequency range, the frequency hopping request signal is sent to the screen.
In a possible implementation manner, the sending module is specifically configured to: and if the processing module determines that noise exists in the interference frequency range according to the results of multiple noise detections in multiple continuous working cycles, the processing module sends the frequency hopping request signal to the screen.
In one possible implementation, the processing module is further configured to: determining the minimum noise frequency point of the active pen according to the result of noise detection; if the signal amplitude of the minimum noise frequency point is smaller than that of the working frequency point, taking the minimum noise frequency point as the updated working frequency point; wherein the sending module is specifically configured to: and sending the frequency hopping request signal carrying the minimum noise frequency point to the screen.
In a possible implementation manner, the processing module is specifically configured to: determining the minimum noise frequency point of the active pen according to the result of noise detection; wherein the sending module is specifically configured to: and if the signal amplitude of the minimum noise frequency point is smaller than that of the working frequency point, sending the frequency hopping request signal carrying the minimum noise frequency point to the screen.
In one possible implementation, the sending module is configured to: and sending a code printing signal carrying the frequency hopping request signal to the screen.
In one possible implementation, the frequency hopping request signal is located at a specific bit in the coded signal.
In a possible implementation manner, the sending module is specifically configured to: and sending a wireless signal carrying the frequency hopping request signal to the screen.
In a fourth aspect, there is provided a screen comprising: the receiving module is used for receiving a frequency hopping request signal sent by the active pen according to the result of the noise detection of the active pen; and the processing module is used for updating the working frequency point of the active pen according to the frequency hopping request signal.
In a possible implementation manner, the frequency hopping request signal carries a minimum noise frequency point determined by the active pen according to a result of noise detection, and a signal amplitude of the minimum noise frequency point is smaller than a signal amplitude of the working frequency point, where the processing module is specifically configured to: and updating the working frequency point according to the minimum noise frequency point.
In a possible implementation manner, the receiving module is specifically configured to: and receiving a coding signal which is sent by the active pen and carries the frequency hopping request signal.
In one possible implementation, the frequency hopping request signal is located at a specific bit in the coded signal.
In a possible implementation manner, the receiving module is specifically configured to: and receiving a wireless signal which is sent by the active pen and carries the frequency hopping request signal.
Drawings
FIG. 1 is a schematic diagram of the use of an active pen on a touch screen.
Fig. 2 is a schematic diagram of a screen performing noise detection.
Fig. 3 is a schematic diagram of the operation timing of the screen.
Fig. 4 is a flowchart of a method of noise detection according to an embodiment of the present application.
Fig. 5 is a schematic diagram of the operation timing sequence of the active pen.
Fig. 6 is a schematic diagram of an operation timing when an active pen and a screen interact based on the method shown in fig. 4.
FIG. 7 is a flow chart of a specific implementation of an active pen based on the method shown in FIG. 4.
Fig. 8 is a flowchart of a specific implementation of a screen based on the method shown in fig. 4.
FIG. 9 is a schematic block diagram of an active pen of an embodiment of the present application.
Fig. 10 is a schematic block diagram of a screen of an embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
The active pen and the screen may communicate one-way or two-way. For the active pen with one-way communication, the active pen can send a coding signal to a screen; for an active pen in bidirectional communication, the active pen may send a coding signal, i.e., a downlink signal, to a screen, and may also receive an uplink signal sent by the screen, where the uplink signal may carry parameters for coding by the active pen. In addition, the active pen can also be in wireless communication with the screen, such as Bluetooth communication, WIFI communication and the like.
When the active pen is in actual use, the uplink signal sent by the screen can be received, and the coding signal is sent to the screen based on the parameters carried in the uplink signal so that the screen can determine the coordinate, pressure, inclination angle and other information of the pen point, and therefore the screen can display the handwriting of the active pen according to the information. For example, as shown in fig. 1, a certain number of transverse and longitudinal detection electrodes are distributed on the screen 200, a coupling capacitance exists between the active pen 100 and the detection electrodes, and signals emitted by the active pen 100 and the screen 200 can be coupled to the detection electrodes or the pen tip through the coupling capacitance, so as to realize interaction between the screen 200 and the active pen 100.
The active pen for one-way communication or two-way communication has certain anti-interference performance so as to avoid noise from influencing communication between the active pen and a screen. Noise mainly comes from the screen itself or the environment, thereby influences the working frequency channel or the working frequency point of initiative pen through capacitive coupling, leads to phenomena such as disconnected line, common node, disappearing point to appear when the initiative pen writes on the screen, influences user experience. After the active pen and the screen are successfully paired, the screen needs to acquire a noise signal in a time period when both the active pen and the screen are idle. For example, as shown in fig. 2, the screen may detect noise during idle periods within each duty cycle. If the signal amplitude of the noise near the working frequency point of the active pen is detected to be small, for example, smaller than a certain threshold value, it can be considered that no noise exists near the working frequency point of the active pen, and the active pen then continues to send a code printing signal to the screen according to the working frequency point; if the noise with the signal amplitude larger than the threshold value exists near the working frequency point of the active pen, the active pen needs to update the working frequency point, namely, frequency hopping is carried out, so that the influence of the noise on the transmission of the code printing signal of the active pen is avoided.
Assuming that the time for noise detection in each duty cycle is T, the sampling fundamental frequency is F = 1/T. According to the principle of fourier transform FFT, noise components of integer multiples of the fundamental frequency F can be detected when signal sampling is performed, and the noise resolution is the sampling fundamental frequency F. For example, if the sampling time is 1ms, the fundamental frequency F =1KHz, and the noise components of the frequency points that are integral multiples of the fundamental frequency F, for example, harmonics of 1KHz, 2KHz, 3KHz, and the like, can be detected. The longer the sampling time is, the better the noise resolution is, and the more accurate the judgment of the noise frequency band is. When noise exists near the working frequency point of the active pen, the frequency can be accurately and timely hopped. Therefore, the sampling time is a key factor for accurately judging whether noise exists near the working frequency point.
Fig. 3 shows the operation timing of the screen. Taking two-way communication as an example, in one working cycle, the screen needs to perform operations of sending an uplink signal, performing self-capacitance detection and/or mutual capacitance detection, collecting a downlink signal of the active pen, and the like, and needs to perform noise detection in the remaining idle period. It can be seen that the time for noise detection is very limited. With the increase of the refresh rate of the screen on the market, the working cycle is shorter and shorter, the idle time period is shorter and shorter, and the time for noise detection is shorter and shorter. Insufficient sampling time can result in poor noise resolution. Taking a certain active pen protocol as an example, when the working period is 16.6ms, the sending of the uplink signal needs to occupy 1ms, the detection of the coding signal of the active pen needs to occupy 10ms, the self-capacitance detection and the mutual-capacitance detection occupy 5ms, and the maximum time for noise sampling is only 0.6 ms. Assuming that the time of noise sampling is set to 500us, the noise resolution is 2 KHz. If the working frequency point of the active pen is 250KHz, when the noise is located at 251KHz, although the working frequency point of the active pen is influenced, the detection cannot be performed at the moment, the active pen cannot perform frequency hopping in time, the coordinate detection of the active pen is inaccurate, and the writing handwriting and the like are abnormal.
Therefore, when the screen carries out noise detection, due to the limitation of detection time, insufficient sampling time and poor noise resolution, noise signals cannot be detected in time, and frequency hopping cannot be carried out in time when noise exists near the working frequency point of the active pen, so that the communication between the active pen and the touch screen is influenced. Moreover, for the active pen in one-way communication, even if the screen detects noise, the screen cannot notify the active pen of the updated working frequency point, so that the active pen can only resist the interference signal hard, and the influence of the noise on the communication between the active pen and the screen cannot be solved.
Therefore, the noise detection scheme is provided by the embodiment of the application, and the influence of noise on communication between the active pen and the screen can be effectively reduced. The method of the embodiment of the application can be applied to the active pen with one-way communication or two-way communication. Hereinafter, bidirectional communication will be described as an example.
Fig. 4 is a flowchart of a method of noise detection according to an embodiment of the present application. The method 400 shown in FIG. 4 is performed by a screen and an active pen. The method 400 may include some or all of the following steps, among others.
In step 410, the active pen performs noise detection during idle periods within the duty cycle.
In step 420, the active pen transmits a frequency hopping request signal to the screen according to the result of the noise detection.
Wherein, the frequency hopping request signal is used for indicating to update the working frequency point.
In step 430, the screen receives the frequency hopping request signal transmitted by the active pen.
In step 440, the screen updates the operating frequency point according to the frequency hopping request signal.
In the embodiment of the application, the active pen performs noise detection in the idle period of each work cycle. Because the idle time period of the active pen in each working cycle is long, the noise sampling time is sufficient, the noise resolution is good, and a better noise detection result can be obtained.
Fig. 5 shows the operation timing of the active pen. It can be seen that in one duty cycle, the active pen needs to detect the up signal and send the coded signal, and the remaining idle time is longer. Taking a certain active pen protocol as an example, when the working cycle is 16.6ms, the uplink signal detection needs to occupy 1ms, the active pen needs to occupy 10ms for sending a coded signal, and the rest of the idle period of 5.6ms, and assuming that the noise sampling time is 4ms, the noise resolution can reach 0.25 KHz. Therefore, compared with a mode of carrying out noise detection by a screen, the active pen carries out noise detection in the idle time period, whether noise exists near the working frequency point can be detected more accurately, timely frequency hopping is realized, and the working frequency point of the active pen is far away from the noise frequency point.
Taking fig. 6 as an example, when the active pen and the screen are in communication, the screen sends an uplink signal to the active pen, and the active pen detects the uplink signal sent by the screen, and obtains parameters for coding from the uplink signal, such as coding frequency of the active pen, a working period of the active pen, a length of the coding signal, a coding mode, an identifier of the active pen, a color of the active pen, a line type of the active pen, and the like. After the active pen is successfully matched with the screen, the active pen sends a code printing signal, namely a downlink signal, to the screen based on the parameter, and meanwhile, the screen detects the code printing signal sent by the active pen; and then the active pen enters an idle period to start noise detection, and meanwhile, the screen can continuously execute operations such as self-capacitance detection and/or mutual capacitance detection and the like. And the active pen performs noise detection in the idle time period of each working cycle, and if the working frequency point needs to be updated according to the result of the noise detection, sends a frequency hopping request signal to the screen in the corresponding time period of the next working cycle. After the screen detects the frequency hopping request signal, the working frequency point is correspondingly updated, so that the code printing signal sent by the active pen is detected based on the updated working frequency point.
In step 420, the active pen may determine whether a frequency hopping request signal needs to be sent to the screen according to the following two ways, so as to update the current working frequency point.
Mode 1
And the active pen determines whether noise exists in the interference frequency range of the active pen according to the result of the noise detection. If the active pen determines that there is noise in the interference frequency range, step 420 is performed, that is, the active pen sends a frequency hopping request signal to the screen.
The interference frequency range comprises a frequency point, wherein the frequency difference between the interference frequency range and the working frequency point of the active pen is smaller than a preset value. When noise exists in the interference frequency range, the noise is considered to exist near the working frequency point of the active pen; when no noise exists in the interference frequency range, the noise is considered to be absent near the working frequency point of the active pen.
The preset value is, for example, between 20KHz and 100 KHz.
For example, if the preset value is 20KHz and the working frequency point of the active pen is 170KHz, the interference frequency range of the active pen may be 150KHz to 190KHz, and when noise exists in the interference frequency range, the active pen sends a frequency hopping request signal to the screen.
In the embodiment, when it is determined that noise exists in the interference frequency range of the active pen based on the result of the noise detection, the active pen sends a frequency hopping request signal to the screen to update the working frequency point, so that the influence of the noise on the communication between the active pen and the screen is reduced; and when it is determined that there is no noise in the interference frequency range of the active pen based on the result of the noise detection, the active pen may not transmit the frequency hopping request signal and continue to use the current working frequency point.
The interference frequency range comprises frequency points of which the frequency difference with the working frequency point is less than a preset value. Assume that the preset value is K. When determining whether noise exists in the interference frequency range, the frequency point with the signal amplitude larger than the threshold value can be used as a noise frequency point; and if the signal amplitude of a certain frequency point is smaller than the threshold, the noise does not exist on the frequency point. For example, assuming that the threshold is a, the current working frequency point is F0, if there is a noise frequency point F1, the signal amplitude thereof is greater than a, and the difference between the noise frequency point and the working frequency point F0 is less than K, that is, | F1-F0| < K, it is determined that there is noise in the interference frequency range, where there may be one or more frequency points such as F1 in the interference frequency range; if the frequency point such as F1 does not exist in the range of F0 ± K, it is considered that no noise exists in the interference frequency range.
Further, in order to improve the reliability of noise detection, optionally, in step 420, if the active pen determines that there is noise in the interference frequency range according to the results of multiple noise detections in multiple consecutive working periods, it is determined that the working frequency point of the active pen needs to be updated, and a frequency hopping request signal is sent to the screen.
For example, as shown in fig. 7, the active pen may update the working frequency point by the following steps.
In step 701, the active pen is successfully paired with the screen.
In step 702, the active pen prints codes according to the working frequency point.
In step 703, the active pen performs noise detection during idle periods.
In step 704, the active pen determines whether there is noise near the working frequency point according to the result of the noise detection.
If there is noise near the working frequency point, execute step 705; if no noise exists near the working frequency point, step 706 is executed.
It is assumed here that when the noise detection results of M consecutive times all indicate that there is noise near the working frequency point, the active pen sends a frequency hopping request signal to update its working frequency point.
In step 705, 1 is added to the number N of times that noise is detected near the operating frequency point.
In step 706, the current number of times N is set to 0.
The active pen performs noise detection for a plurality of consecutive duty cycles and, based on the result of the noise detection, step 707 is performed.
In step 707, it is determined whether the number of times N reaches M.
If N reaches M, that is, the active pen detects that there is noise near its working frequency point in M consecutive periods, then execute step 708; if N does not reach M, go to step 709. M is a positive integer.
In step 708, the active pen sends a frequency hopping request signal to the screen.
In step 709, the active pen enters the next week duty cycle.
Accordingly, the screen may perform the steps as shown in fig. 8.
In step 801, the screen is successfully paired with the active pen.
In step 802, the screen detects a frequency hopping request signal.
If the frequency hopping request signal is detected, go to step 803; if no frequency hopping request signal is detected, step 804 is executed.
In step 803, the screen updates the work frequency point.
In step 804, the screen enters the next duty cycle.
Mode 2
And the active pen determines the minimum noise frequency point of the active pen according to the result of the noise detection. If the signal amplitude of the minimum noise frequency point is smaller than the signal amplitude of the current working frequency point, step 420 is executed, that is, the active pen sends a frequency hopping request signal to the screen.
In this embodiment, the active pen may determine whether to send a frequency hopping request signal to the screen according to the detected minimum noise frequency point. If the signal amplitude of the minimum noise frequency point is smaller than the signal amplitude of the current working frequency point, which indicates that a frequency point with smaller noise can be used, the active pen sends a frequency hopping request signal carrying the minimum noise frequency point to the screen and carries out frequency hopping.
The active pen performs noise detection in an idle period in a work cycle, and performs operations such as FFT on a detection result to obtain a noise spectrum, namely a frequency distribution condition of the noise. Based on the noise spectrum, the active pen can find out the frequency point with the minimum signal amplitude, namely the minimum noise frequency point.
At this time, the active pen can carry the minimum noise frequency point in the frequency hopping request signal, so that the screen is notified of the minimum noise frequency point. And then, the active pen can hop to the minimum noise frequency point and takes the minimum noise frequency point as an updated working frequency point, thereby sending a code printing signal to the screen. Correspondingly, the screen detects the code printing signal sent by the active pen according to the minimum noise frequency point.
It should be understood that, in the mode 1, after the active pen determines that the working frequency point needs to be updated, in an implementation manner, the active pen may determine the updated working frequency point by itself, for example, the active pen may determine a minimum noise frequency point according to a result of noise detection, and if a signal amplitude of the minimum noise frequency point is smaller than a signal amplitude of the current working frequency point, determine the minimum noise frequency point as the updated working frequency point, and carry the minimum noise frequency point in the frequency hopping request signal to inform the screen of the minimum noise frequency point. In another implementation manner, after the active pen sends the frequency hopping request signal to the screen, the updated working frequency point may be determined by the screen, and the determined updated working frequency point may be sent to the active pen in an uplink signal or other wireless signal manner.
That is, in the method 1, the active pen may consider that the working frequency point needs to be updated when it is determined that noise exists in the interference frequency range, and send the frequency hopping request signal to the active pen. Furthermore, the active pen can determine the minimum noise frequency point, take the minimum noise frequency point as an updated working frequency point, and carry the minimum noise frequency point in the frequency hopping request signal to inform a screen of the minimum noise frequency point; or, the updated working frequency point is determined by the screen and is sent to the active pen.
In the mode 2, if the active pen determines that the current working frequency point is not the minimum noise frequency point according to the result of the noise detection, the minimum noise frequency point may be used as an updated working frequency point, and a frequency hopping request signal is sent to the screen, where, for example, the minimum noise frequency point may be carried without considering whether noise exists near the working frequency point. The minimum noise frequency point may be located within the interference frequency range or outside the interference frequency range. For example, assuming that the operating frequency range of the active pen is 100KHz to 500KHz, the minimum noise frequency point may be any frequency point within the range.
No matter the above mode 1 or mode 2 is adopted, when the frequency hopping request signal carries the minimum noise frequency point determined by the active pen according to the result of the noise detection, in step 440, the screen may directly use the minimum noise frequency point as the updated working frequency point. And then, the initiative pen sends a coding signal according to the determined updated working frequency point, and the screen detects the coding signal according to the updated working frequency point. Because the signal amplitude of the minimum noise frequency point is smaller than that of the current working frequency point, the influence of noise can be reduced to the maximum extent when the active pen and the screen communicate based on the minimum noise signal.
Or, in the mode 1 and the mode 2, if the frequency hopping request signal carries the minimum noise frequency point, the screen may refer to the minimum noise frequency point carried in the frequency hopping request signal, re-determine whether the active pen needs to frequency hop, determine the updated working frequency point when frequency hopping is needed, and notify the updated working frequency point determined by the screen to the active pen through an uplink signal or other wireless communication modes. And then, the initiative pen sends a coding signal according to the updated working frequency point determined by the screen again, and the screen detects the coding signal according to the updated working frequency point determined by the screen again. For example, the screen may also perform noise detection in the idle period, and when the screen receives a frequency hopping request signal sent by the active pen, the updated working frequency point may be determined jointly in combination with various factors such as the noise detection result of the screen, the noise detection result of the active pen, the frequency point of self-capacitance detection and/or mutual capacitance detection, and the like.
In step 420, the active pen may send the frequency hopping request signal to the screen by, for example, a code signal or other wireless communication.
Specifically, the active pen may send a code printing signal carrying the frequency hopping request signal to the screen, and the screen obtains the frequency hopping request signal from the code printing signal by receiving the code printing signal. Alternatively, the frequency hopping request signal may be located at a specific bit in the coded signal. For example, the particular bit may be a first bit or bits, a last bit or bits, or a middle particular position bit or bits in the coded signal. For example, if the value of the specific bit indicates 1, the code signal is considered to carry a frequency hopping request signal; if the value of the specific bit indicates 0, the code signal is considered not to carry the frequency hopping request signal. In addition, the code signal may also carry information of the minimum noise frequency point, for example, a correspondence between multiple frequency points and multiple numbers may be preconfigured in a protocol, so that the number corresponding to the minimum noise frequency point is carried in the specific bit.
The active pen can also send other wireless signals carrying the frequency hopping request signal to the screen, and the screen obtains the frequency hopping request signal from the wireless signals. For example, the active pen may send a bluetooth signal carrying the frequency hopping request signal through a bluetooth module in the active pen.
The present application also provides an active pen that can perform the operations performed by the active pen in any of the possible methods of fig. 4-8. As shown in fig. 9, the active pen 900 includes:
the processing module 910 is configured to perform noise detection during an idle period in a work cycle.
A sending module 920, configured to send a frequency hopping request signal to a screen according to a result of noise detection, where the frequency hopping request signal is used to instruct to update a working frequency point of the active pen.
Optionally, the processing module 910 is specifically configured to: determining whether noise exists in an interference frequency range of the active pen according to a noise detection result, wherein the interference frequency range comprises frequency points of which the frequency difference with the working frequency point is smaller than a preset value; the sending module 920 is specifically configured to: if the processing module 910 determines that there is noise in the interference frequency range, the frequency hopping request signal is sent to the screen.
Optionally, the sending module 920 is further configured to: if the processing module 910 determines that there is noise in the interference frequency range according to the results of multiple noise detections in multiple consecutive working cycles, the frequency hopping request signal is sent to the screen.
Optionally, the processing module 910 is further configured to: determining the minimum noise frequency point of the active pen according to the result of noise detection; if the signal amplitude of the minimum noise frequency point is smaller than that of the working frequency point, taking the minimum noise frequency point as the updated working frequency point; the sending module 920 is specifically configured to: and sending the frequency hopping request signal carrying the minimum noise frequency point to the screen.
Optionally, the processing module 910 is specifically configured to: determining the minimum noise frequency point of the active pen according to the result of noise detection; the sending module 920 is specifically configured to: and if the signal amplitude of the minimum noise frequency point is smaller than that of the working frequency point, sending the frequency hopping request signal carrying the minimum noise frequency point to the screen.
Optionally, the sending module 920 is specifically configured to: and sending a code printing signal carrying the frequency hopping request signal to the screen.
Optionally, the frequency hopping request signal is located at a specific bit in the coded signal.
Optionally, the sending module 920 is specifically configured to: and sending a wireless signal carrying the frequency hopping request signal to the screen.
The present application also provides a screen, such as a touch screen, that can perform the operations performed by the screen in any of the possible methods of fig. 4-8 described above. As shown in fig. 10, the screen 1000 includes:
a receiving module 1010, configured to receive a frequency hopping request signal sent by an active pen according to a result of noise detection performed by the active pen;
and the processing module 1020 is configured to update the active pen working frequency point according to the frequency hopping request signal.
Optionally, the frequency hopping request signal carries a minimum noise frequency point determined by the active pen according to a result of noise detection, where a signal amplitude of the minimum noise frequency point is smaller than a signal amplitude of the working frequency point, where the processing module 1020 is specifically configured to: and updating the working frequency point according to the minimum noise frequency point.
Optionally, the receiving module 1010 is specifically configured to: and receiving a coding signal which is sent by the active pen and carries the frequency hopping request signal.
Optionally, the frequency hopping request signal is located at a specific bit in the coded signal.
Optionally, the receiving module 1010 is specifically configured to: and receiving a wireless signal which is sent by the active pen and carries the frequency hopping request signal.
The application also provides an electronic device comprising the screen described in any of the preceding embodiments.
The present application also includes a communication system comprising the active pen and the electronic device as described in any of the previous embodiments.
It should be noted that, without conflict, the embodiments and/or technical features in the embodiments described in the present application may be arbitrarily combined with each other, and the technical solutions obtained after the combination also fall within the protection scope of the present application.
The system, apparatus and method disclosed in the embodiments of the present application can be implemented in other ways. For example, some features of the method embodiments described above may be omitted or not performed. The above-described device embodiments are merely illustrative, the division of the unit is only one logical functional division, and there may be other divisions when the actual implementation is performed, and a plurality of units or components may be combined or may be integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the coupling includes electrical, mechanical or other connections.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes and the generated technical effects of the above-described apparatuses and devices may refer to the corresponding processes and technical effects in the foregoing method embodiments, and are not described herein again.
It should be understood that the specific examples in the embodiments of the present application are for the purpose of promoting a better understanding of the embodiments of the present application, and are not intended to limit the scope of the embodiments of the present application, and that various modifications and variations can be made by those skilled in the art based on the above embodiments and fall within the scope of the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (26)
1. A method of noise detection, the method comprising:
carrying out noise detection on the active pen in an idle period in a working cycle;
and the active pen sends a frequency hopping request signal to a screen according to the result of the noise detection, wherein the frequency hopping request signal is used for indicating and updating the working frequency point of the active pen.
2. The method of claim 1, further comprising:
the active pen determines whether noise exists in an interference frequency range of the active pen according to a noise detection result, wherein the interference frequency range comprises frequency points, and the frequency difference between the frequency points and the working frequency points is smaller than a preset value;
wherein, the active pen sends a frequency hopping request signal to the screen, including:
and if the active pen determines that noise exists in the interference frequency range, the active pen sends the frequency hopping request signal to the screen.
3. The method of claim 2, wherein sending the frequency hopping request signal to the screen if the active pen determines that noise is present in the interference frequency range comprises:
and if the active pen determines that noise exists in the interference frequency range according to the results of multiple noise detections in multiple continuous working cycles, the active pen sends the frequency hopping request signal to the screen.
4. The method of claim 2, further comprising:
the active pen determines the minimum noise frequency point of the active pen according to the result of noise detection;
if the signal amplitude of the minimum noise frequency point is smaller than that of the working frequency point, taking the minimum noise frequency point as the updated working frequency point;
wherein, the active pen sends a frequency hopping request signal to the screen, including:
and the active pen sends the frequency hopping request signal carrying the minimum noise frequency point to the screen.
5. The method of claim 1, further comprising:
the active pen determines the minimum noise frequency point of the active pen according to the result of noise detection;
wherein, the active pen sends a frequency hopping request signal to the screen, including:
and if the signal amplitude of the minimum noise frequency point is smaller than that of the working frequency point, sending the frequency hopping request signal carrying the minimum noise frequency point to the screen.
6. The method of any of claims 1 to 5, wherein the active pen sends a frequency hopping request signal to the screen, comprising:
and the active pen sends a coding signal carrying the frequency hopping request signal to the screen.
7. The method of claim 6, wherein the frequency hopping request signal is located at a specific bit in the coded signal.
8. The method of any of claims 1 to 5, wherein the active pen sends a frequency hopping request signal to the screen, comprising:
and the active pen sends a wireless signal carrying the frequency hopping request signal to the screen.
9. A method of noise detection, the method comprising:
the screen receives a frequency hopping request signal sent by an active pen according to a noise detection result of the active pen;
and the screen updates the working frequency point of the active pen according to the frequency hopping request signal.
10. The method according to claim 9, wherein the frequency hopping request signal carries a minimum noise frequency point determined by the active pen according to a noise detection result, wherein a signal amplitude of the minimum noise frequency point is smaller than a signal amplitude of the working frequency point,
wherein, the screen updates the working frequency point according to the frequency hopping request signal, including:
and the screen updates the working frequency point according to the minimum noise frequency point.
11. The method according to claim 9 or 10, wherein the screen receives a frequency hopping request signal transmitted by an active pen according to a result of noise detection performed by the active pen, and comprises:
and the screen receives a code printing signal which is sent by the active pen and carries the frequency hopping request signal.
12. The method of claim 11, wherein the frequency hopping request signal is located at a specific bit in the coded signal.
13. The method according to claim 9 or 10, wherein the screen receives a frequency hopping request signal transmitted by an active pen according to a result of noise detection performed by the active pen, and comprises:
and the screen receives a wireless signal which is sent by the active pen and carries the frequency hopping request signal.
14. An active pen, comprising:
the processing module is used for carrying out noise detection in an idle period in a working cycle;
and the sending module is used for sending a frequency hopping request signal to a screen according to the result of the noise detection, wherein the frequency hopping request signal is used for indicating and updating the working frequency point of the active pen.
15. The active pen of claim 14, wherein the processing module is specifically configured to:
determining whether noise exists in an interference frequency range of the active pen according to a noise detection result, wherein the interference frequency range comprises frequency points of which the frequency difference with the working frequency point is smaller than a preset value;
wherein the sending module is specifically configured to:
and if the processing module determines that noise exists in the interference frequency range, the frequency hopping request signal is sent to the screen.
16. The active pen of claim 15, wherein the sending module is specifically configured to:
and if the processing module determines that noise exists in the interference frequency range according to the results of multiple noise detections in multiple continuous working cycles, the processing module sends the frequency hopping request signal to the screen.
17. The active pen of claim 15, wherein the processing module is further configured to:
determining the minimum noise frequency point of the active pen according to the result of noise detection;
if the signal amplitude of the minimum noise frequency point is smaller than that of the working frequency point, taking the minimum noise frequency point as the updated working frequency point;
wherein the sending module is specifically configured to:
and sending the frequency hopping request signal carrying the minimum noise frequency point to the screen.
18. The active pen of claim 14, wherein the processing module is specifically configured to:
determining the minimum noise frequency point of the active pen according to the result of noise detection;
wherein the sending module is specifically configured to:
and if the signal amplitude of the minimum noise frequency point is smaller than that of the working frequency point, sending the frequency hopping request signal carrying the minimum noise frequency point to the screen.
19. The active pen according to any one of claims 14 to 18, wherein the sending module is specifically configured to:
and sending a code printing signal carrying the frequency hopping request signal to the screen.
20. The active pen of claim 19, wherein the frequency hopping request signal is located at a specific bit in the coded signal.
21. The active pen according to any one of claims 14 to 18, wherein the sending module is specifically configured to:
and sending a wireless signal carrying the frequency hopping request signal to the screen.
22. A screen, comprising:
the receiving module is used for receiving a frequency hopping request signal sent by the active pen according to the result of the noise detection of the active pen;
and the processing module is used for updating the working frequency point of the active pen according to the frequency hopping request signal.
23. The screen of claim 22, wherein the frequency hopping request signal carries a minimum noise frequency point determined by the active pen according to a noise detection result, wherein a signal amplitude of the minimum noise frequency point is smaller than a signal amplitude of the working frequency point,
wherein the processing module is specifically configured to:
and updating the working frequency point according to the minimum noise frequency point.
24. A screen according to claim 22 or 23, wherein said receiving module is specifically configured to:
and receiving a coding signal which is sent by the active pen and carries the frequency hopping request signal.
25. The screen of claim 24, wherein the frequency hopping request signal is located at a particular bit in the coded signal.
26. A screen according to claim 22 or 23, wherein said receiving module is specifically configured to:
and receiving a wireless signal which is sent by the active pen and carries the frequency hopping request signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011173975.6A CN112000248B (en) | 2020-10-28 | 2020-10-28 | Noise detection method, active pen and screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011173975.6A CN112000248B (en) | 2020-10-28 | 2020-10-28 | Noise detection method, active pen and screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112000248A true CN112000248A (en) | 2020-11-27 |
CN112000248B CN112000248B (en) | 2021-04-23 |
Family
ID=73475182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011173975.6A Active CN112000248B (en) | 2020-10-28 | 2020-10-28 | Noise detection method, active pen and screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112000248B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286381A (en) * | 2020-12-30 | 2021-01-29 | 深圳市千分一智能技术有限公司 | Communication control method and active capacitance pen |
CN115599229A (en) * | 2022-03-22 | 2023-01-13 | 荣耀终端有限公司(Cn) | Control method of touch pen and touch pen device |
CN116737000A (en) * | 2022-09-20 | 2023-09-12 | 荣耀终端有限公司 | Touch control method, system, electronic equipment and touch control pen |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190050110A1 (en) * | 2008-10-02 | 2019-02-14 | Wacom Co., Ltd. | Combination touch and transducer input system and method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104571732B (en) * | 2013-10-14 | 2018-09-21 | 深圳市汇顶科技股份有限公司 | Touch terminal, active stylus detection method and system |
CN111356974B (en) * | 2017-11-01 | 2024-04-16 | 株式会社和冠 | Position detection system and touch sensor |
-
2020
- 2020-10-28 CN CN202011173975.6A patent/CN112000248B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190050110A1 (en) * | 2008-10-02 | 2019-02-14 | Wacom Co., Ltd. | Combination touch and transducer input system and method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286381A (en) * | 2020-12-30 | 2021-01-29 | 深圳市千分一智能技术有限公司 | Communication control method and active capacitance pen |
CN115599229A (en) * | 2022-03-22 | 2023-01-13 | 荣耀终端有限公司(Cn) | Control method of touch pen and touch pen device |
CN115599229B (en) * | 2022-03-22 | 2023-08-11 | 荣耀终端有限公司 | Control method of touch pen and touch pen equipment |
CN116737000A (en) * | 2022-09-20 | 2023-09-12 | 荣耀终端有限公司 | Touch control method, system, electronic equipment and touch control pen |
Also Published As
Publication number | Publication date |
---|---|
CN112000248B (en) | 2021-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112000248B (en) | Noise detection method, active pen and screen | |
US11144140B2 (en) | System and method for bidirectional communication between stylus and stylus sensor controller | |
US11132074B2 (en) | Active stylus | |
US11385729B2 (en) | Communication method, communication system, sensor controller, and stylus | |
JP6745273B2 (en) | Method for detecting sensor controller by stylus, stylus, and sensor controller | |
CN109683733A (en) | Stylus, touch panel, display device and sensing method of touch control | |
CN111290665B (en) | Pressure detection method and device, active pen, touch chip and electronic equipment | |
US9448646B1 (en) | System and method for bidirectional communication between stylus and stylus sensor controller | |
CN112905047A (en) | Anti-interference method, touch control chip and active pen refill sheet | |
US10503318B2 (en) | Touch sensitive processing apparatus and system for despreading and method thereof | |
WO2017221590A1 (en) | Communication apparatus, and communication system | |
CN115712357A (en) | Wireless communication method, active pen and touch screen | |
JP2004005507A (en) | Data packet transmission for radio device placed together for sharing channel | |
WO2022087917A1 (en) | Noise detection method, active pen and screen | |
CN115427922B (en) | Code printing method, code printing device and touch chip | |
WO2022165839A1 (en) | Method for preventing interference, touch chip, and active pen chip | |
CN109511106B (en) | Wireless data transmission control method | |
TW201701118A (en) | Touch sensitive processing apparatus and system for descpreading and method thereof | |
CN111736719A (en) | Touch system, input device thereof and signal transmission method thereof | |
CN112306263A (en) | Active stylus and wireless signal generation method thereof |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |