Active stylus and synchronization method by the same
The active stylus synchronizes with touch devices in noisy conditions by identifying and matching energy distributions, allowing accurate signal parsing in high noise environments.
Patent Information
- Application Number
- US19/674234
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-21
- Filing Date
- 2026-05-12
- Publication Date
- 2026-11-26
AI Technical Summary
Active styluses face synchronization challenges with touch devices in high noise environments, leading to incorrect parsing of signals due to low signal-to-noise ratios.
The active stylus employs a method to synchronize with a touch device by receiving a signal, determining an active-stylus sub-signal, analyzing energy distribution versus frequency, and matching it with a stored energy distribution to ensure accurate synchronization.
Enables the active stylus to correctly parse control instructions and data from the touch device even in high noise environments by ensuring synchronization based on energy distribution matching.
Smart Images

Figure US20260377009A1-D00000_ABST
Abstract
Description
CROSS REFERENCE TO RELATED APPLICATION
[0001] This application claims priority to Taiwan Patent Application No. 114119131, filed on May 21, 2025, which is incorporated herein by reference in its entirety.TECHNICAL FIELD
[0002] Embodiments of the present application relate to a field of electronic technology, and more particularly to an active stylus and a synchronization method performed by the same.BACKGROUND
[0003] In recent years, when operating devices such as smartphones, tablet computers and etc., users increasingly use a stylus in addition to finger touch. The stylus has an advantage of providing more precise input than a finger. The styluses currently available on the market are mainly divided into passive styluses and active styluses. When a passive stylus is used, it is relatively difficult for a touch pad or a touch screen to accurately identify a touch position. By contrast, an active stylus, also referred to as an active touch pen, generates a driving signal, and the touch pad or touch screen receives the signal at the position of a touch point, such that the touch position can be identified more easily and accurately. In addition, by detecting a tilt angle of the active stylus, a brushstroke of the writing can also be determined. When the active stylus is more tilted, the brushstroke appears line-like rather than point-like.
[0004] Signal synchronization between a touch device and an active stylus is important to normal communication therebetween. If the active stylus is not synchronized with the touch device, the active stylus cannot correctly parse a signal sent by the touch device. In particular, in an environment with severe noise interference, synchronization between the active stylus and the touch device becomes more difficult. When a signal-to-noise ratio yielded by the active stylus is not good enough, parsing of data or instructions sent by the touch device is adversely affected. Accordingly, how to synchronize the active stylus with the touch device in a high noise environment such that the active stylus can correctly parse a signal sent by the touch device is of considerable importance in this technical field.SUMMARY
[0005] Embodiments of the present application provide an active stylus and a synchronization method performed by the same, which can correctly parse a signal sent by a touch device in a high noise environment. The technical solutions are provided as follows:
[0006] According to an aspect of the embodiments of the present application, a synchronization method performed by an active stylus is provided. The method includes receiving a signal sent by a touch device; determining, from the signal, an active-stylus sub-signal used for communicating with the active stylus; analyzing a distribution of energy versus frequency in the active-stylus sub-signal to obtain a first energy distribution; determining whether the first energy distribution matches a second energy distribution stored in the active stylus; and in response to determining that the first energy distribution matches the second energy distribution, synchronizing the active stylus with the touch device based on the active-stylus sub-signal.
[0007] According to another aspect of the embodiments of the present application, an active stylus is provided. The active stylus includes a receiving electrode, configured to receive a signal sent by a touch device; a controller configured to determine, from the signal, an active-stylus sub-signal used for communicating with the active stylus; analyze a distribution of energy versus frequency in the active-stylus sub-signal to obtain a first energy distribution; a memory, configured to store a second energy distribution, wherein the controller is further configured to determine whether the first energy distribution matches the second energy distribution stored in the memory; and in response to determining that the first energy distribution matches the second energy distribution, synchronize the active stylus with the touch device based on the active-stylus sub-signal.
[0008] The technical solutions provided in the embodiments of the present application may provide beneficial effects as follows.
[0009] In the active stylus and the synchronization method performed by the same according to the embodiments of the present application, the active stylus receives a signal sent by a touch device, determines from the signal an active-stylus sub-signal used for communicating with the active stylus, analyzes a distribution of energy versus frequency in the active-stylus sub-signal to obtain a first energy distribution, determines whether the first energy distribution matches a second energy distribution stored in the active stylus, and in response to determining that the first energy distribution matches the second energy distribution, synchronizes the active stylus with the touch device based on the active-stylus sub-signal. Therefore, the active stylus can still synchronize with the touch device even in a high noise environment, thereby correctly parsing control instructions and / or data that the touch device is to send to the active stylus.BRIEF DESCRIPTION OF THE DRAWINGS
[0010] For explaining the technical solutions used in the embodiments of the present application more clearly, the following figures are briefly introduced to describe the embodiments. Obviously, the figures described below are only some of the embodiments of the present application, and those of ordinary skill in the art can further obtain other figures based on these figures without making any inventive effort.
[0011] FIG. 1 is a schematic diagram illustrating a sensing system according to an embodiment of the present application.
[0012] FIG. 2 is a schematic diagram illustrating a hardware architecture of an active stylus shown in FIG. 1.
[0013] FIG. 3 is a flowchart of a synchronization method performed by an active stylus according to an embodiment of the present application.
[0014] FIG. 4 is a schematic diagram illustrating that a signal sent by a touch device includes a touch sub-signal and an active-stylus sub-signal according to an embodiment of the present application.
[0015] FIG. 5 is a schematic diagram illustrating a distribution of energy versus frequency of a signal segment in an active-stylus sub-signal according to an embodiment of the present application.10 Active stylus
[0017] 11 Tip electrode
[0018] 12 Ring electrode
[0019] 22 Touch pad or touch screen
[0020] 24 Touch controller
[0021] 30 Controller
[0022] 40 Memory
[0023] 50 TX driver
[0024] 202 Amplifier
[0025] 204 Gain controller
[0026] 206 Integrator
[0027] 208 Analog-to-digital converter
[0028] 210 Switch
[0029] S10-S50 Steps
[0030] f1-f7 Frequency pointsDETAILED DESCRIPTION
[0031] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the figures in the embodiments of the present application. Obviously, the described embodiments are merely some embodiments of the present application and do not represent all of the embodiments. According to the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without making any inventive effort are within the scope of protection sought in the present application.
[0032] FIG. 1 shows a sensing system according to an embodiment of the present application. The system includes an active stylus 10, a touch pad or touch screen 22, and a touch controller 24. The active stylus 10 may also be referred to as an active touch pen, namely, a stylus having its own power source and driven by the power source to receive or transmit signals. The touch pad or touch screen 22 may be a capacitive touch pad or screen and may have a display function or may omit a display function. The active stylus 10 may movably contact the touch pad 22. That is, the active stylus 10 and the touch pad 22 are two separate components. The active stylus 10 can move on an outer surface of the touch pad 22 to achieve, for example, handwriting input. The touch controller 24 is electrically connected to the touch pad or touch screen 22. Through electrodes (not shown) on the touch pad 22, the touch controller 24 can sense a signal sent by the active stylus 10 or may send a signal to the active stylus 10, and the signal sent to the active stylus 10 may carry data or instructions. The touch controller 24 and the touch pad or touch screen 22 constitute a touch device.
[0033] FIG. 2 shows a hardware architecture of the active stylus 10 shown in FIG. 1. The active stylus 10 includes a tip electrode 11, a ring electrode 12, an amplifier 202, an integrator 206, an analog-to-digital converter (ADC) 208, a controller 30, a memory 40, and a TX driver 50, among other components. Signal processing of the active stylus 10 may be divided into two paths, namely, a signal receiving path and a signal transmitting path. In one possible implementation, the ring electrode 12 may serve as a receiving electrode, and the tip electrode 11 may serve as a transmitting electrode. Of course, other implementations are also possible, and the present application is not limited thereto.
[0034] In the signal receiving path, the ring electrode 12 is used to receive a signal sent by the touch device, but the ring electrode 12 will receive other noise signals as well. Especially in a high noise environment, the signals received by the ring electrode 12 generally exhibit a relatively low signal-to-noise ratio. After the signal received by the ring electrode 12 undergoes a series of signal processing operations by the amplifier 202, the integrator 206, and the ADC 208, the processed signal is sent to the controller 30 for further signal analysis, and the controller 30 makes a corresponding control action. The amplifier 202 amplifies the signal received by the ring electrode 12, and an amplification gain thereof may be controlled by a gain controller 204. The integrator 206 integrates energy of the signal varied over time so as to obtain a data of accumulated energy over time. The ADC 208 converts a received analog signal into a digital signal to facilitate subsequent signal processing. The controller 30 may further analyze the received signal such that the active stylus 10 is synchronized with the touch device and parses, from the signal sent by the touch device, a signal segment belonging to the active stylus 10. The controller 30 may read content stored in the memory 40. The memory 40 may be a volatile memory and / or a non-volatile memory. For example, the memory 40 includes a static random access memory (SRAM).
[0035] In the signal transmitting path, the transmitting electrode 11 is used to send a signal. After the touch pad or touch screen 22 of the touch device senses the signal of the active stylus 10, the touch controller 24 may analyze the position of a touch point, the tilt angle of the active stylus 10, brushstroke and pressure, and the like. The TX driver 50 is configured to drive the transmitting electrode 11 to send a signal, and the TX driver 50 may be controlled by the controller 30. Signal transmission and signal reception of the active stylus 10 are separated from each other in the time domain, which may be implemented by a switch 210. For example, when the switch 210 is turned on, the active stylus 10 performs signal reception according to the signal receiving path; and when the switch 210 is turned off, the active stylus 10 performs signal transmission according to the signal transmitting path.
[0036] FIG. 3 shows a flowchart of a synchronization method performed by an active stylus according to an embodiment of the present application. With reference to FIGS. 1-3, the synchronization method includes the following steps:
[0037] Step S10: receiving a signal sent by a touch device.
[0038] The ring electrode or receiving electrode 12 of the active stylus 10 receives a signal sent by the touch device. The touch device communicates with the active stylus 10 by using time-division multiplexing (TDM). In addition to a signal that is intended for the active stylus 10, the touch device also sends other signals in the time domain. For example, the touch controller 24 may also send a sensing signal to the touch pad or touch screen 22 in order to sense a touch point produced by a user finger. Of course, the ring electrode or receiving electrode 12 of the active stylus 10 will receive other noise signals. In a high noise environment, such noise may affect signal quality received by the active stylus 10, causing the active stylus 10 to fail to synchronize with the touch device and further fail to parse the signal sent by the touch device.
[0039] As shown in FIG. 4, the signal sent by the touch device includes at least a touch sub-signal and an active-stylus sub-signal. The touch sub-signal is used for touch coordinate sensing, and its corresponding driving frequency may be changed dynamically based on environmental noise but remain unchanged within a specific time range, for example, at a frequency of 200 kHz. The active-stylus sub-signal is a signal intended by the touch device for the active stylus 10, which includes control instructions and / or data and is used for communication with the active stylus 10. The active-stylus sub-signal is usually modulated using a spread-spectrum technique and is a spread-spectrum signal. That is, the active-stylus sub-signal spans one or more frequency bands, rather than existing in a single-frequency form.
[0040] A prerequisite for communication between the active stylus 10 and the touch device is that the active stylus 10 needs to first identify the active-stylus sub-signal in the signal sent by the touch device.
[0041] Step S20: determining, from the signal, an active-stylus sub-signal used for communicating with the active stylus.
[0042] In this step, the controller 30 of the active stylus 10 determines the active-stylus sub-signal in the received signal, namely, the "active-stylus sub-signal" shown in FIG. 4. Because the signal waveforms of the touch sub-signal and the active-stylus sub-signal are significantly different, the active-stylus sub-signal may be identified through a plurality of different signal processing or analysis approaches.
[0043] For example, in one embodiment, energy of the signal received by the ring electrode or receiving electrode 12 of the active stylus 10 may be accumulated by the integrator 206. It can be found that, at an end of the active-stylus sub-signal, accumulated energy over time reaches an extremum, and its corresponding time point may be used as an end of the active-stylus sub-signal. The occurrence of the extremum of the accumulated energy is also a point at which energy of the received signal rapidly decreases, and the time point corresponding to the extremum of the accumulated energy will correspond to a time point at which energy of the received signal transitions to a low-energy level.
[0044] After the time point corresponding to the end of the active-stylus sub-signal is determined, a start time point of the active-stylus sub-signal may be further determined. For example, in general, a length of the active-stylus sub-signal is fixed. The length is generally 400 microseconds to 1 millisecond. When the length of the active-stylus sub-signal is known, the controller 30 may infer the start time point of the active-stylus sub-signal from the determined end of the active-stylus sub-signal, thereby obtaining a signal interval occupied by the active-stylus sub-signal. Depending on different communication protocols between the touch device and the active stylus 10, the length of the active-stylus sub-signal may vary, and such data may be stored in the memory 40.
[0045] In other embodiments, if accumulated energy at a boundary between the touch sub-signal and the active-stylus sub-signal exhibits an obvious jump in the time domain, the start and the end of the active-stylus sub-signal may also be determined from a distribution of the accumulated energy, thereby determining the signal interval occupied by the active-stylus sub-signal.
[0046] Step S30: analyzing a distribution of energy versus frequency in the active-stylus sub-signal to obtain a first energy distribution.
[0047] In this step, the controller 30 of the active stylus 10 further analyzes the distribution of energy versus frequency in the active-stylus sub-signal, namely, the first energy distribution. Parsing this energy distribution helps make sure that the signal interval obtained in Step S20 indeed belongs to the active-stylus sub-signal rather than to other signals or noise. In particular, in a high noise environment, such analysis avoids erroneously determining that noise is the signal intended for the active stylus 10.
[0048] Due to the feature of the spread-spectrum signal, it is sufficient to select and analyze a short segment of the active-stylus sub-signal, for example, 31 microseconds. That is, the first energy distribution is a distribution of energy versus frequency of a signal segment in the active-stylus sub-signal.
[0049] As shown in FIG. 5, a distribution of energy versus frequency of a signal segment in the active-stylus sub-signal is illustrated. The signal segment occupies a frequency interval, and the distribution of energy versus frequency of the signal segment is substantially fixed during each communication. Therefore, its distribution may be used to determine whether the analyzed signal belongs to the active-stylus sub-signal.
[0050] Step S40: determining whether the first energy distribution matches a second energy distribution stored in the active stylus.
[0051] The distribution of energy versus frequency of the signal segment depends on a used spread-spectrum code. If the touch device and the active stylus 10 use an identical or similar spread-spectrum code during each communication, the energy distribution of the signal segment is substantially the same. Therefore, this feature may be utilized to determine whether the signal interval obtained in Step S20 is indeed the active-stylus sub-signal.
[0052] In this step, the controller 30 further compares the first energy distribution with a second energy distribution stored in the active stylus 10. The second energy distribution may be stored in the memory 40 of the active stylus 10. If the controller 30 determines that the first energy distribution matches the second energy distribution, it indicates that the signal interval obtained in Step S20 is highly likely to be the active-stylus sub-signal. If the controller 30 determines that the first energy distribution does not match the second energy distribution, it indicates that the signal interval obtained in Step S20 is highly likely to be noise. Accordingly, this step can make sure whether the signal interval obtained in Step S20 is indeed the active-stylus sub-signal, thereby preventing noise from being misidentified as a signal intended for the active stylus 10 in a high noise environment.
[0053] In one embodiment, whether the first energy distribution matches the second energy distribution may be determined based on a correlation between the first energy distribution and the second energy distribution. For example, as shown in FIG. 5, several frequency points, for example, f1, f2, ..., and f7, may be selected from the energy distribution, and energies corresponding to these frequency points may be compared with energies corresponding to the same frequency points in the stored second energy distribution. When the correlation between the two sets of data is greater than a threshold, it is determined that the first energy distribution matches the second energy distribution; otherwise, it is determined that the first energy distribution does not match the second energy distribution. Of course, other approaches may also be used to analyze and determine whether the first energy distribution and the second energy distribution are identical or similar, and the present application is not limited thereto.
[0054] Step S50: in response to determining that the first energy distribution matches the second energy distribution, synchronizing the active stylus with the touch device based on the active-stylus sub-signal.
[0055] In this step, if the first energy distribution matches the second energy distribution, it indicates that the signal interval obtained in Step S20 is the active-stylus sub-signal. At this time, the controller 30 may synchronize the active stylus 10 with the touch device based on the active-stylus sub-signal, and may further parse the active-stylus sub-signal to obtain corresponding control instructions and / or data. If the first energy distribution does not match the second energy distribution, it indicates that the signal interval obtained in Step S20 belongs to other signals or noise. Therefore, the active stylus 10 is not synchronized with the touch device, and the controller 30 does not parse the signal.
[0056] Embodiments of the present application further provide an active stylus 10, which includes a receiving electrode 12, configured to receive a signal sent by a touch device; a controller 30 configured to determine, from the signal, an active-stylus sub-signal used for communicating with the active stylus 10 and analyze a distribution of energy versus frequency in the active-stylus sub-signal to obtain a first energy distribution; and a memory 40, configured to store a second energy distribution. The controller 30 is further configured to determine whether the first energy distribution matches the second energy distribution stored in the memory40, and in response to determining that the first energy distribution matches the second energy distribution, synchronize the active stylus with the touch device based on the active-stylus sub-signal. Other technical details of the active stylus 10 according to the embodiments of the present application may refer to the foregoing description and will not be repeated herein.
[0057] In the active stylus and the synchronization method performed by the same according to the embodiments of the present application, the active stylus 10 receives a signal sent by a touch device, determines from the signal an active-stylus sub-signal used for communicating with the active stylus 10, analyzes a distribution of energy versus frequency in the active-stylus sub-signal to obtain a first energy distribution, determines whether the first energy distribution matches a second energy distribution stored in the active stylus 10, and in response to determining that the first energy distribution matches the second energy distribution, synchronizes the active stylus 10 with the touch device based on the active-stylus sub-signal. Therefore, the active stylus 10 can still synchronize with the touch device in a high noise environment and can correctly parse control instructions and / or data that the touch device is to send to the active stylus 10.
[0058] While the preferred embodiments of the present application have been illustrated and described in detail, various modifications and alterations can be made by persons skilled in this art. The embodiments of the present application are therefore described in an illustrative but not restrictive sense. It is intended that the present application should not be limited to the particular forms illustrated, and that all modifications and alterations which maintain the spirit and scope of the present application are within the scope as defined in the appended claims.
Claims
1. A synchronization method performed by an active stylus, comprising:receiving a signal sent by a touch device;determining, from the signal, an active-stylus sub-signal used for communicating with the active stylus;analyzing a distribution of energy versus frequency in the active-stylus sub-signal to obtain a first energy distribution;determining whether the first energy distribution matches a second energy distribution stored in the active stylus; andin response to determining that the first energy distribution matches the second energy distribution, synchronizing the active stylus with the touch device based on the active-stylus sub-signal.
2. The synchronization method performed by the active stylus according to claim 1, wherein the step of determining, from the signal, the active-stylus sub-signal used for communicating with the active stylus comprises:determining a time point corresponding to an extremum of accumulated energy obtained by accumulating energy of the signal over time; anddetermining the active-stylus sub-signal based on the time point.
3. The synchronization method performed by the active stylus according to claim 2, wherein the time point corresponding to the extremum of the accumulated energy corresponds to a time point at which energy of the signal transitions to a low-energy level.
4. The synchronization method performed by the active stylus according to claim 2, wherein in the step of determining the active-stylus sub-signal, a start and an end of the active-stylus sub-signal is determined from a distribution of the accumulated energy of the signal.
5. The synchronization method performed by the active stylus according to claim 1, wherein the step of determining whether the first energy distribution matches the second energy distribution stored in the active stylus comprises:determining whether the first energy distribution matches the second energy distribution based on a correlation between the first energy distribution and the second energy distribution.
6. The synchronization method performed by the active stylus according to claim 5, wherein the step of determining whether the first energy distribution matches the second energy distribution based on the correlation between the first energy distribution and the second energy distribution comprises:obtaining a correlation value by comparing energies of a plurality of frequency points in the first energy distribution with energies of corresponding frequency points in the second energy distribution;in response to the correlation value being greater than a threshold, determining that the first energy distribution matches the second energy distribution; andin response to the correlation value being less than or equal to the threshold, determining that the first energy distribution does not match the second energy distribution.
7. The synchronization method performed by the active stylus according to claim 1, wherein the first energy distribution is a distribution of energy versus frequency of a signal segment in the active-stylus sub-signal.
8. The synchronization method performed by the active stylus according to claim 1, wherein the active-stylus sub-signal is a spread-spectrum signal.
9. The synchronization method performed by the active stylus according to claim 1, wherein the touch device further sends a touch sub-signal used for sensing a touch coordinate.
10. An active stylus, comprising:a receiving electrode, configured to receive a signal sent by a touch device;a controller configured to:determine, from the signal, an active-stylus sub-signal used for communicating with the active stylus;analyze a distribution of energy versus frequency in the active-stylus sub-signal to obtain a first energy distribution;a memory, configured to store a second energy distribution,wherein the controller is further configured to:determine whether the first energy distribution matches the second energy distribution stored in the memory; andin response to determining that the first energy distribution matches the second energy distribution, synchronize the active stylus with the touch device based on the active-stylus sub-signal.
11. The active stylus according to claim 10, wherein the controller is further configured to:determine a time point corresponding to an extremum of accumulated energy obtained by accumulating energy of the signal over time; anddetermine the active-stylus sub-signal based on the time point.
12. The active stylus according to claim 11, wherein the time point corresponding to the extremum of the accumulated energy corresponds to a time point at which energy of the signal transitions to a low-energy level.
13. The active stylus according to claim 11, wherein a start and an end of the active-stylus sub-signal is determined from a distribution of the accumulated energy of the signal.
14. The active stylus according to claim 10, wherein the controller is further configured to:determine whether the first energy distribution matches the second energy distribution based on a correlation between the first energy distribution and the second energy distribution.
15. The active stylus according to claim 14, wherein the controller is further configured to:obtain a correlation value by comparing energies of a plurality of frequency points in the first energy distribution with energies of corresponding frequency points in the second energy distribution;in response to the correlation value being greater than a threshold, determine that the first energy distribution matches the second energy distribution; andin response to the correlation value being less than or equal to the threshold, determine that the first energy distribution does not match the second energy distribution.
16. The active stylus according to claim 10, wherein the first energy distribution is a distribution of energy versus frequency of a signal segment in the active-stylus sub-signal.
17. The active stylus according to claim 10, wherein the active-stylus sub-signal is a spread-spectrum signal.
18. The active stylus according to claim 10, wherein the touch device further sends a touch sub-signal used for sending a touch coordinate.
