CN116301408A - An Active Pen Synchronization Method and Device Based on Manchester Coding - Google Patents
An Active Pen Synchronization Method and Device Based on Manchester Coding Download PDFInfo
- Publication number
- CN116301408A CN116301408A CN202310298390.4A CN202310298390A CN116301408A CN 116301408 A CN116301408 A CN 116301408A CN 202310298390 A CN202310298390 A CN 202310298390A CN 116301408 A CN116301408 A CN 116301408A
- Authority
- CN
- China
- Prior art keywords
- active pen
- uplink
- code
- unit
- clock
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
- G06F3/03545—Pens or stylus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- G06F3/0441—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means using active external devices, e.g. active pens, for receiving changes in electrical potential transmitted by the digitiser, e.g. tablet driving signals
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
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)
- Near-Field Transmission Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及智能设备技术领域,尤其设计一种基于曼彻斯特编码的主动笔同步方法及装置。The invention relates to the technical field of smart devices, in particular, an active pen synchronization method and device based on Manchester coding.
背景技术Background technique
目前电容式主动笔依赖电容式触控屏的上行信号进行时钟同步,但是传统同步方案为基于NRZ数字编码,抗噪性能一般,且传统方案需要主动笔和触控屏都携带高精度时钟,对主动笔的性能和板级设计都带来不利影响,使得主动笔的成本提升。At present, the capacitive active pen relies on the upstream signal of the capacitive touch screen for clock synchronization, but the traditional synchronization scheme is based on NRZ digital coding, and the anti-noise performance is average, and the traditional scheme requires both the active pen and the touch screen to carry high-precision clocks. Both the performance of the active pen and the board-level design have adverse effects, which increases the cost of the active pen.
需要说明的是,在上述背景技术部分公开的信息只用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to those of ordinary skill in the art.
发明内容Contents of the invention
本发明的目的在于克服现有技术的缺点,提供了一种基于曼彻斯特编码的主动笔同步方法及装置,解决了现有电容式主动笔时钟同步存在的问题。The purpose of the present invention is to overcome the disadvantages of the prior art, provide an active pen synchronization method and device based on Manchester coding, and solve the problems existing in the clock synchronization of the existing capacitive active pen.
本发明的目的通过以下技术方案来实现:一种基于曼彻斯特编码的主动笔同步装置,它包括触控屏和主动笔,所述主动笔点击触控屏时与触控屏之间形成电容进行信号的传递;The object of the present invention is achieved through the following technical solutions: a kind of active pen synchronizing device based on Manchester coding, it comprises touch screen and active pen, when described active pen clicks on touch screen, forms capacitance to carry out signal with touch screen the transmission of
所述触控屏包括导电屏体、驱动单元和调制单元;所述调制单元的输出端与驱动单元连接,驱动单元的输出端与导电屏体连接,所述调制单元将发送的同步编码转变为曼彻斯特编码形式的上行同步编码;所述驱动单元将上行同步编码转换为驱动电压波形,不断改变导电屏体的电位,使导电屏体的电位随时间发送改变;The touch screen includes a conductive screen body, a drive unit and a modulation unit; the output end of the modulation unit is connected to the drive unit, the output end of the drive unit is connected to the conductive screen body, and the modulation unit converts the synchronous code sent into Uplink synchronous encoding in the form of Manchester encoding; the drive unit converts the uplink synchronous encoding into a driving voltage waveform, constantly changing the potential of the conductive screen, so that the potential of the conductive screen changes with time;
所述主动笔对从触控屏接收的信号进行信号放大和采样后得到数字信号序列,同时捕获上行信号的同步时机,以及获取上行信号中的时钟信息实现同步。The active pen amplifies and samples the signal received from the touch screen to obtain a digital signal sequence, and at the same time captures the synchronization timing of the uplink signal and acquires clock information in the uplink signal to achieve synchronization.
所述同步笔包括接收电极、接收电路单元、放大电路单元、采样单元和处理单元;所述接收电极与触控屏的导电屏体接触时形成电容,导电屏体的电位变化形成上行信号通过电容传递到主动笔的接收电极形成小信号;接收电路单元从接收电极接收的小信号通过放大电路单元进行放大,被放大的信号通过采样单元采集后得到数字信号序列发送给处理单元;处理单元得到属性信号序列后进行相关检测处理用于捕获上行信号的同步时机,以及时间间隔捕获处理获取上行信号中的时钟信息实现同步。The synchronous pen includes a receiving electrode, a receiving circuit unit, an amplifying circuit unit, a sampling unit and a processing unit; the receiving electrode forms a capacitor when it contacts the conductive screen body of the touch screen, and the potential change of the conductive screen body forms an uplink signal through the capacitor The receiving electrode transmitted to the active pen forms a small signal; the small signal received by the receiving circuit unit from the receiving electrode is amplified by the amplifying circuit unit, and the amplified signal is collected by the sampling unit to obtain a digital signal sequence and sent to the processing unit; the processing unit obtains the attribute Correlation detection processing is performed after the signal sequence to capture the synchronization timing of the uplink signal, and time interval capture processing is used to acquire clock information in the uplink signal to achieve synchronization.
所述上行同步编码由N个子码组成,每个子码的持续时间相同,每个子码包括持续之间相同的高电平和低电平两种形式,相邻两个子码之间存在两个高低电平转换的电位跳变沿,且两个电位跳变沿之间的距离为T。The uplink synchronization code is composed of N subcodes, each subcode has the same duration, and each subcode includes the same high level and low level forms between the durations, and there are two high and low levels between two adjacent subcodes. The potential transition edge of the level transition, and the distance between the two potential transition edges is T.
一种基于曼彻斯特编码的主动笔同步方法,所述同步方法包括:An active pen synchronization method based on Manchester encoding, the synchronization method comprising:
调制单元将发送的同步编码转变为曼彻斯特编码形式的上行同步编码,驱动单元将上行同步编码转换为驱动电压波形,不断改变导电屏体的电位,使导电屏体的电位随时间发送改变;The modulation unit converts the transmitted synchronous code into an upstream synchronous code in the form of Manchester code, and the drive unit converts the upstream synchronous code into a driving voltage waveform, constantly changing the potential of the conductive screen, so that the potential of the conductive screen changes with time;
接收电极触碰导电屏体并与导电屏体之间形成电容,导通屏体的电位变化形成上行信号传递到接收电极形成小信号;The receiving electrode touches the conductive screen and forms a capacitance with the conductive screen, and the potential change of the conductive screen forms an uplink signal that is transmitted to the receiving electrode to form a small signal;
接收电路单元接收小信号通过放大电路单元将小信号放大,并通过采样单元采集后得到数字信号序列;The receiving circuit unit receives the small signal and amplifies the small signal through the amplifying circuit unit, and obtains a digital signal sequence after being collected by the sampling unit;
信号处理单元将得到的数字信号序列同时进行相关检测捕获上行信号的同步时机,以及时间间隔捕获处理获取上行信号中的时钟信息实现同步。The signal processing unit simultaneously performs correlation detection on the obtained digital signal sequence to capture the synchronization timing of the uplink signal, and captures and processes the time interval to acquire clock information in the uplink signal to achieve synchronization.
所述相关检测的具体步骤如下:The specific steps of the related detection are as follows:
A1、从采样单元获取一个新的数字信号值,将该值放入到被检测队列中,并将最先进入队列的值移出队列;A1. Obtain a new digital signal value from the sampling unit, put the value into the detected queue, and remove the value that first entered the queue from the queue;
A2、使用一组标准数据队列与被检测队列中的值逐个相乘,将相乘后的所有值相加得到一个被检测队列的相关检测结果;A2. Use a set of standard data queues to multiply the values in the detected queue one by one, and add all the multiplied values to obtain a related detection result of the detected queue;
A3、将得到的相关检测结果与预设的阈值进行判断,如果相关检测结果大于阈值就判定为捕获到了同步的上行信号,该时刻即为同步时刻,如果相关检测结果小于阈值就判定为未捕获成功。A3. Judge the obtained correlation detection result with the preset threshold value. If the correlation detection result is greater than the threshold value, it is determined that a synchronized uplink signal has been captured. This moment is the synchronization time. If the correlation detection result is smaller than the threshold value, it is determined that it has not been captured. success.
所述时间间隔捕获包括以下步骤:The time interval capture includes the following steps:
B1、获取时钟边沿位置,即调制为曼彻斯特编码后,在每个子码的中点产生额外的时钟边沿位置;B1. Obtain the clock edge position, that is, after modulation is Manchester encoding, an additional clock edge position is generated at the midpoint of each subcode;
B2、计算时间间隔,将时间间隔取平均值得到平均时间间隔T2;B2. Calculate the time interval, and take the average value of the time interval to obtain the average time interval T2;
B3、调整主动笔本地时钟,如果当前主动笔的时钟频率为F_pen,则计算平均时间间隔T2与T的误差,将主动笔的时钟调整为当前时钟周期的F_pen*T2/T,使得主动笔的时钟与触控屏的时钟完成实时同步;B3. Adjust the local clock of the active pen. If the current clock frequency of the active pen is F_pen, calculate the error between the average time interval T2 and T, and adjust the clock of the active pen to F_pen*T2/T of the current clock cycle, so that the active pen The clock is synchronized with the clock of the touch screen in real time;
B4、重复步骤B1重新开始下一次的同步动作。B4. Repeat step B1 to restart the next synchronous action.
本发明具有以下优点:一种基于曼彻斯特编码的主动笔同步方法及装置,通过调制单元将数字波形调制为曼彻斯特编码,将自带时钟信息的曼彻斯特编码经过导电屏体发送到主动笔,而不是将数字波形经过导电屏体直接发送到主动笔;使用曼彻斯特编码作为主动笔的上行同步编码,与传统主动笔NRZ编码相比,每个子码至少有一次电平反转,单位时间的反转次数更多,上行信号的能量更大,能提升上行通信的同步成功率;基于曼彻斯特编码使用一种带有时钟信息的编码,能够直接从上行信号中恢复时钟,使得主动笔不再需要高精度时钟,可以降低主动笔方案复杂度以及降低主动笔的综合成本。The present invention has the following advantages: an active pen synchronization method and device based on Manchester encoding, the digital waveform is modulated into Manchester encoding through the modulation unit, and the Manchester encoding with its own clock information is sent to the active pen through the conductive screen instead of The digital waveform is directly sent to the active pen through the conductive screen; the Manchester code is used as the upstream synchronization code of the active pen. Compared with the traditional NRZ code of the active pen, each subcode has at least one level inversion, and the number of inversions per unit time is more More, the energy of the uplink signal is greater, which can improve the synchronization success rate of uplink communication; based on Manchester coding, a code with clock information can be used to recover the clock directly from the uplink signal, so that the active pen no longer needs a high-precision clock. The complexity of the active pen solution and the comprehensive cost of the active pen can be reduced.
附图说明Description of drawings
图1为本发明装置的结构示意图;Fig. 1 is the structural representation of device of the present invention;
图2为触控屏的结构示意图;2 is a schematic structural diagram of a touch screen;
图3为编码调制的示意图;Fig. 3 is a schematic diagram of coded modulation;
图4为主动笔的结构示意图;Fig. 4 is a schematic structural diagram of the active pen;
图5为相关检测的示意图;Fig. 5 is the schematic diagram of relevant detection;
图6为相关检测是流程示意图;Fig. 6 is a schematic flow chart of related detection;
图7为时间间隔捕获的流程示意图;Figure 7 is a schematic flow chart of time interval capture;
图8为时间间隔捕获的示意图。Figure 8 is a schematic diagram of time interval capture.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下结合附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的保护范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。下面结合附图对本发明做进一步的描述。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the application provided in conjunction with the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present application. The present invention will be further described below in conjunction with the accompanying drawings.
本发明在电容式主动笔的应用中,使用曼彻斯特编码作为上行信号的编码。通过本方案的编码设计,可以增强上行信号的单位时间信号强度,增强上行接收可靠性,提升主动笔上行信号的识别率;同时,主动笔可以从上行信号中恢复时钟,使得主动笔不再依赖高精度时钟,降低方案成本。In the application of the capacitive active pen, the present invention uses Manchester encoding as the encoding of the uplink signal. Through the coding design of this scheme, the signal strength per unit time of the uplink signal can be enhanced, the reliability of uplink reception can be enhanced, and the recognition rate of the uplink signal of the active pen can be improved; at the same time, the active pen can recover the clock from the uplink signal, so that the active pen no longer depends on High-precision clock reduces solution cost.
如图1和图2所示,电容式触控屏包含驱动电路单元、导电屏体、调制单元。调制单元通过驱动单元与导电屏体相连。如图3所示,调制单元将需要发送的同步编码(如图3的原始编码1011)转变为曼彻斯特编码形式的上行同步编码(如果图3的调制后编码)。As shown in FIG. 1 and FIG. 2 , the capacitive touch screen includes a driving circuit unit, a conductive screen body, and a modulation unit. The modulating unit is connected with the conductive screen through the driving unit. As shown in FIG. 3 , the modulation unit converts the synchronous code to be sent (the original code 1011 in FIG. 3 ) into an uplink synchronous code in the form of Manchester code (if the modulated code in FIG. 3 ).
经过调制后的编码的信号反转点数量相比原始编码明显增多,如图3所示,波形电平的反转次数由4次上升到6次。更多的反转点能产生更多上行信号能量,对后续同步捕获有明显提升作用。驱动单元将上行同步编码转化为驱动电压波形,不断改变导电屏体的电位,使导电屏体的电位随时间发生改变。Compared with the original code, the number of signal inversion points of the modulated encoded signal is significantly increased. As shown in Figure 3, the number of inversions of the waveform level increases from 4 times to 6 times. More reversal points can generate more uplink signal energy, which can significantly improve subsequent synchronization capture. The driving unit converts the uplink synchronous code into a driving voltage waveform, and continuously changes the potential of the conductive screen, so that the potential of the conductive screen changes with time.
进一步地,上行同步编码满足的要素包括:1、一段驱动波形由确定数量(N个)的子码组合完成;1≤N≤1000;2、每个子码的持续时间相同;子码持续时间的取值范围为0.5us小于等于T小于等于2us;3、每个子码只有两种形式,由高电平变为低电平,或者由低电平变为高电平,且低电平和高电平的持续时间各占50%;4、将该电位变化定义为电位跳变沿;相邻两个子码之间一定能找到两个电位跳变沿,这两个电位跳变沿的距离记为T。Further, the elements that the uplink synchronous encoding satisfies include: 1. A section of driving waveform is completed by a certain number (N) of subcode combinations; 1≤N≤1000; 2. The duration of each subcode is the same; The value range is 0.5us less than or equal to T less than or equal to 2us; 3. Each subcode has only two forms, from high level to low level, or from low level to high level, and low level and high level The flat durations each account for 50%; 4. Define the potential change as a potential transition edge; two potential transition edges must be found between two adjacent subcodes, and the distance between these two potential transition edges is recorded as T.
其中,第4点性质保证了本发明的上行编码具有该性质:每隔T时间就一定存在一个电位跳变沿。每一个子码代表一个数据bit,将低电平变化为高电平的子码定义为数据“1”,那么将高电平变化为低电平的子码定义为数据“0”。Wherein, the fourth property guarantees that the uplink encoding of the present invention has this property: there must be a potential transition edge every T time. Each subcode represents a data bit, and the subcode that changes from low level to high level is defined as data "1", and then the subcode that changes from high level to low level is defined as data "0".
如图4所示,主动笔主要包含接收电极、接收电路单元、采样单元以及处理单元。接收电极与电路单元相连,接收电极由可导电材料制造。所述接收电极与触控屏的导电屏体之间形成电容,导电屏体的电位变化形成上行信号,通过该电容传递到主动笔的接收电极,形成小信号。接收电路单元通过放大电路降接收电极采集到的小信号放大。该被放大的信号被采样单元采集后得到数字信号序列。数字信号处理单元得到该数字信号序列后,会同时进行两种信号处理:相关检测以及时间间隔捕获。相关检测用于捕获上行信号的同步时机,时间间隔捕获用于获取上行信号中的时钟信息。As shown in Figure 4, the active pen mainly includes a receiving electrode, a receiving circuit unit, a sampling unit and a processing unit. The receiving electrode is connected with the circuit unit, and the receiving electrode is made of conductive material. A capacitor is formed between the receiving electrode and the conductive screen body of the touch screen, and the potential change of the conductive screen body forms an uplink signal, which is transmitted to the receiving electrode of the active pen through the capacitor to form a small signal. The receiving circuit unit amplifies the small signal collected by the receiving electrode through the amplifying circuit. The amplified signal is collected by the sampling unit to obtain a digital signal sequence. After the digital signal processing unit obtains the digital signal sequence, it will simultaneously perform two kinds of signal processing: correlation detection and time interval capture. The correlation detection is used to capture the synchronization timing of the uplink signal, and the time interval capture is used to acquire the clock information in the uplink signal.
进一步地,如图5和图6所示,相关检测的步骤如下:Further, as shown in Figure 5 and Figure 6, the steps of related detection are as follows:
步骤(1)获取一个新的数字信号值,将该值放入到被检测队列中,并将最先进入队列的值移出队列;Step (1) Obtain a new digital signal value, put the value into the detected queue, and remove the value that first entered the queue from the queue;
步骤(2)使用一组标准数据队列与被检测队列中的值逐个相乘,并将相乘后的所有值相加得到一个被检测队列的相关检测结果。标准数据队列是一组曼彻斯特编码序列,由“+1”、“0”、“-1”组成。Step (2) Use a set of standard data queues to multiply the values in the detected queue one by one, and add all the multiplied values to obtain a related detection result of the detected queue. The standard data queue is a set of Manchester coded sequences consisting of "+1", "0", and "-1".
步骤(3)对步骤(2)得到的相关检测结果与预设的阈值进行判断,如果相关检测结果大于阈值就判定为捕获到了同步的上行信号,该时刻就是同步时刻。如果相关检测结果小于阈值就判定为未捕获成功。Step (3) judges the correlation detection result obtained in step (2) and the preset threshold, and if the correlation detection result is greater than the threshold, it is determined that a synchronized uplink signal has been captured, and this moment is the synchronization moment. If the relevant detection result is less than the threshold, it is judged as unsuccessful capture.
图5中,以4个bit的子码为例,4个子码经过采样得到8个数值放入被检测队列,参考队列也由8个数值组成,是一个预先设计好的队列。当一个采样值产生后,得到一个新的被检测队列,将被检测队列与参考队列逐个相乘后得到8个乘积,将8个乘积相加,得到最终的相关检测结果。由于编码的自相关性,只有当被检测序列为已知4bit的子码完全对齐时,相关检测结果的值会出现峰值。时刻t0求得的相关检测结果为6,大于预设的阈值,则判定t0时刻成功捕获到了上行信号。未完全对齐时(如图5的t0+T/2时刻和t0-T/2时刻的相关检测结果远小于t0时刻的相关检测结果。In Figure 5, taking the 4-bit subcode as an example, the 4 subcodes are sampled to obtain 8 values and put them into the detected queue. The reference queue is also composed of 8 values, which is a pre-designed queue. When a sampling value is generated, a new detected queue is obtained, and 8 products are obtained by multiplying the detected queue and the reference queue one by one, and the 8 products are added together to obtain the final correlation detection result. Due to the autocorrelation of the code, only when the detected sequence is a known 4-bit subcode is completely aligned, the value of the correlation detection result will have a peak value. If the correlation detection result obtained at time t0 is 6, which is greater than the preset threshold, it is determined that the uplink signal has been successfully captured at time t0. When not completely aligned (as shown in FIG. 5 , the correlation detection results at time t0+T/2 and time t0-T/2 are much smaller than the correlation detection results at time t0.
进一步地,如图7和图8所示,时间间隔捕获的步骤如下:Further, as shown in Figure 7 and Figure 8, the steps of time interval capture are as follows:
步骤(1)获取时钟边沿位置。捕获时钟的位置,也就是每个子码的中点,也就是调制为曼彻斯特编码后,在每个子码的中点会产生额外的时钟边沿。Step (1) Get the clock edge position. The position of the capture clock, that is, the midpoint of each subcode, that is, after modulation into Manchester encoding, an extra clock edge will be generated at the midpoint of each subcode.
步骤(2)计算时间间隔,如图8中的T2_0、T2_1、T2_2。将时间间隔取平均值得到平均时间间隔T2。Step (2) calculates time intervals, such as T2_0, T2_1, and T2_2 in FIG. 8 . The time intervals are averaged to obtain the average time interval T2.
步骤(3)调整主动笔本地时钟。假设当前主动笔的时钟频率为F_pen,通过T2和T的误差,将主动笔的时钟调整为当前时钟周期的F_pen*T2/T,使得主动笔的时钟与触控屏的时钟完成实时同步。Step (3) Adjust the local clock of the active pen. Assuming that the current clock frequency of the active pen is F_pen, through the error of T2 and T, the clock of the active pen is adjusted to F_pen*T2/T of the current clock cycle, so that the clock of the active pen and the clock of the touch screen are synchronized in real time.
步骤(4)返回步骤(1)重新开始下一次的同步动作。Step (4) returns to step (1) to restart the next synchronous action.
以上所述仅是本发明的优选实施方式,应当理解本发明并非局限于本文所披露的形式,不应看作是对其他实施例的排除,而可用于各种其他组合、修改和环境,并能够在本文所述构想范围内,通过上述教导或相关领域的技术或知识进行改动。而本领域人员所进行的改动和变化不脱离本发明的精神和范围,则都应在本发明所附权利要求的保护范围内。The above descriptions are only preferred embodiments of the present invention, and it should be understood that the present invention is not limited to the forms disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and Modifications can be made within the scope of the ideas described herein, by virtue of the above teachings or skill or knowledge in the relevant art. However, changes and changes made by those skilled in the art do not depart from the spirit and scope of the present invention, and should all be within the protection scope of the appended claims of the present invention.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310298390.4A CN116301408A (en) | 2023-03-24 | 2023-03-24 | An Active Pen Synchronization Method and Device Based on Manchester Coding |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310298390.4A CN116301408A (en) | 2023-03-24 | 2023-03-24 | An Active Pen Synchronization Method and Device Based on Manchester Coding |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116301408A true CN116301408A (en) | 2023-06-23 |
Family
ID=86834018
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310298390.4A Pending CN116301408A (en) | 2023-03-24 | 2023-03-24 | An Active Pen Synchronization Method and Device Based on Manchester Coding |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116301408A (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103534670A (en) * | 2010-10-28 | 2014-01-22 | 赛普拉斯半导体公司 | Synchronizing a stylus with a capacitive sense array |
| WO2014185523A1 (en) * | 2013-05-17 | 2014-11-20 | シャープ株式会社 | Touch panel system and electronic device |
| CN104536924A (en) * | 2014-12-11 | 2015-04-22 | 中国人民解放军国防科学技术大学 | Multi-channel delay deviation correction method and device for board-level high-speed transmission bus |
| CN105094384A (en) * | 2014-05-12 | 2015-11-25 | 爱特梅尔公司 | Timing Synchronization of Active Stylus and Touch Sensor |
| CN107066122A (en) * | 2015-12-31 | 2017-08-18 | 乐金显示有限公司 | Active stylus, touch sensing system and driving method thereof |
| CN112558798A (en) * | 2021-02-19 | 2021-03-26 | 深圳市千分一智能技术有限公司 | Communication method and device of active pen, terminal and storage medium |
-
2023
- 2023-03-24 CN CN202310298390.4A patent/CN116301408A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103534670A (en) * | 2010-10-28 | 2014-01-22 | 赛普拉斯半导体公司 | Synchronizing a stylus with a capacitive sense array |
| WO2014185523A1 (en) * | 2013-05-17 | 2014-11-20 | シャープ株式会社 | Touch panel system and electronic device |
| US20160091919A1 (en) * | 2013-05-17 | 2016-03-31 | Sharp Kabushiki Kaisha | Touch panel system and electronic device |
| CN105094384A (en) * | 2014-05-12 | 2015-11-25 | 爱特梅尔公司 | Timing Synchronization of Active Stylus and Touch Sensor |
| CN104536924A (en) * | 2014-12-11 | 2015-04-22 | 中国人民解放军国防科学技术大学 | Multi-channel delay deviation correction method and device for board-level high-speed transmission bus |
| CN107066122A (en) * | 2015-12-31 | 2017-08-18 | 乐金显示有限公司 | Active stylus, touch sensing system and driving method thereof |
| CN112558798A (en) * | 2021-02-19 | 2021-03-26 | 深圳市千分一智能技术有限公司 | Communication method and device of active pen, terminal and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110494828B (en) | Signal processing system, chip and active pen | |
| US9628264B2 (en) | Host communication circuit, client communication circuit, communication system and communication method | |
| US6370212B1 (en) | Method and device for decoding manchester encoded data | |
| CN110445736B (en) | FSK demodulator, related equipment and method | |
| CN101247187B (en) | Audio data recovery method, device and multimedia data receiving system | |
| CN116301408A (en) | An Active Pen Synchronization Method and Device Based on Manchester Coding | |
| CN115426054A (en) | Underwater communication method of photoacoustic heterogeneous physical field based on time difference modulation | |
| EP0082575A1 (en) | An energy-synchronised demodulator circuit | |
| CN113055150B (en) | Synchronous system of PCM_FM receiver | |
| WO2020191585A1 (en) | Signal transmission method and system, active stylus, touch screen, and readable storage medium | |
| JPS632444A (en) | Phase coherent demodulator | |
| CN115580307B (en) | Manchester decoding method and device and battery management system using same | |
| CN107483067B (en) | Digital demodulation method and super-regenerative receiver based on multi-bit sampling | |
| CN114944973B (en) | Clock signal recovery method and system | |
| CN112688892B (en) | Subcarrier detection method, carrier signal demodulation method and demodulation device | |
| JP4072133B2 (en) | Transceiver | |
| CN115037431B (en) | A Symbol Synchronization Method in Binary Digital Modulation | |
| JP3061238B2 (en) | Data receiving device | |
| CN115333906B (en) | PSK decoding method, device and system based on Euclidean distance | |
| JP2005160042A5 (en) | ||
| CN115097409B (en) | Doppler frequency shift adaptive matched filtering method based on control circuit | |
| CN101483621B (en) | Baseband signal recovery method | |
| CN109802761B (en) | Fault identification method and device | |
| CN118869418A (en) | A 2FSK digital demodulation code bit timing pulse method | |
| SU1390626A1 (en) | Information transmitter |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20230623 |
|
| RJ01 | Rejection of invention patent application after publication |