WO2024092449A1 - 用于主动笔和触摸屏之间同步的方法、主动笔和触摸屏 - Google Patents

用于主动笔和触摸屏之间同步的方法、主动笔和触摸屏 Download PDF

Info

Publication number
WO2024092449A1
WO2024092449A1 PCT/CN2022/128759 CN2022128759W WO2024092449A1 WO 2024092449 A1 WO2024092449 A1 WO 2024092449A1 CN 2022128759 W CN2022128759 W CN 2022128759W WO 2024092449 A1 WO2024092449 A1 WO 2024092449A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
touch screen
active pen
synchronization
synchronization signal
Prior art date
Application number
PCT/CN2022/128759
Other languages
English (en)
French (fr)
Inventor
陈显朋
Original Assignee
深圳市汇顶科技股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to PCT/CN2022/128759 priority Critical patent/WO2024092449A1/zh
Publication of WO2024092449A1 publication Critical patent/WO2024092449A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Definitions

  • Embodiments of the present application relate to the field of active pens, and more specifically, to a method for synchronization between an active pen and a touch screen, an active pen, and a touch screen.
  • the embodiments of the present application provide a method for synchronization between an active pen and a touch screen, an active pen, and a touch screen, which can improve the synchronization speed between the touch screen and the active pen.
  • a method for synchronization between an active pen and a touch screen comprising: sending a pre-synchronization signal to the touch screen, the pre-synchronization signal being used to determine a target area on the touch screen where the active pen is located, so that the touch screen sends an uplink signal in the target area; detecting the uplink signal; and if the uplink signal is detected, performing time synchronization with the touch screen according to the uplink signal.
  • a pre-synchronization signal is added to the synchronization process between the active pen and the touch screen.
  • the active pen sends the pre-synchronization signal to the touch screen, so that the touch screen can pre-judge the approximate position of the active pen according to the pre-synchronization signal, and then send an uplink signal to the active pen only in the area near the position.
  • the method of sending uplink signals in full screen it reduces the power consumption of the touch screen and its interference to the display screen; compared with the method of sending uplink signals in different areas in turn, it reduces the scanning blind area and scanning delay of the touch screen, optimizes the synchronization speed between the touch screen and the active pen, and improves the stability of the writing response.
  • the method further includes: if the uplink signal is not detected within a preset time, stopping sending the pre-synchronization signal. If the active pen does not detect the uplink signal within the preset time, it is possible that the user has not used the active pen to write for a period of time. The active pen can only detect the uplink signal and stop sending the pre-synchronization signal, thereby saving power consumption of the active pen.
  • the method further includes: sending a downlink signal to the touch screen in response to the uplink signal, wherein the downlink signal is used to determine the pen tip position of the active pen.
  • the signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.
  • the frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and/or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and/or the pre-synchronization signal is not encoded, and the downlink signal is a coded signal; and/or the format of the pre-synchronization signal is different from the format of the downlink signal.
  • the touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area.
  • the touch screen By dividing the touch screen into a plurality of areas, and the touch screen only sends the uplink signal in the target area where the active pen is located, the active pen can receive the uplink signal as quickly as possible, optimize the synchronization speed between the touch screen and the active pen, and improve the stability of the writing response.
  • a method for synchronization between an active pen and a touch screen comprising: detecting a pre-synchronization signal sent by the active pen; if the pre-synchronization signal is detected, determining a target area on the touch screen where the active pen is located according to the pre-synchronization signal; and sending an uplink signal to the active pen in the target area, the uplink signal being used for time synchronization between the active pen and the touch screen.
  • a pre-synchronization signal is added during the synchronization process between the active pen and the touch screen.
  • the touch screen can pre-determine the approximate position of the active pen by receiving the pre-synchronization signal sent by the active pen, and thus only sends an uplink signal to the active pen in the area near the position.
  • it reduces the power consumption of the touch screen and its interference to the display screen; compared with the method of sending uplink signals in different areas in turn, it reduces the scanning blind area and scanning delay of the touch screen, optimizes the synchronization speed between the touch screen and the active pen, and improves the stability of the writing response.
  • the touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area.
  • the touch screen By dividing the touch screen into a plurality of areas, and the touch screen only sends the uplink signal in the target area where the active pen is located, the active pen can receive the uplink signal as quickly as possible, optimize the synchronization speed between the touch screen and the active pen, and improve the stability of the writing response.
  • the method further includes: if the pre-synchronization signal is not detected within a preset time length, or the synchronization between the active pen and the touch screen fails N times in a row, sending the uplink signal in turn in the multiple areas, where N is a preset positive integer greater than 1.
  • the touch screen switches to the original synchronization mode of the USI protocol, such as sending uplink signals in turn by region, so as to ensure the compatibility of the protocol.
  • the method further includes: before the pre-synchronization signal is detected, not sending the uplink signal, thereby maximizing the power consumption of the touch screen and reducing the interference of the uplink signal on the display of the display screen; or, before the pre-synchronization signal is detected, sending the uplink signal in turn in the multiple areas, thereby ensuring the compatibility of the protocol.
  • the method further includes: receiving a downlink signal sent by the active pen, and determining a pen tip position of the active pen according to the downlink signal.
  • the signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.
  • the frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and/or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and/or the pre-synchronization signal is not encoded, and the downlink signal is a coded signal; and/or the format of the pre-synchronization signal is different from the format of the downlink signal.
  • an active pen which includes: a transmitting module for sending a pre-synchronization signal to a touch screen, wherein the pre-synchronization signal is used to determine a target area on the touch screen where the active pen is located, so that the touch screen sends an uplink signal in the target area; a receiving module for detecting the uplink signal, and when the uplink signal is detected, performing time synchronization with the touch screen according to the uplink signal.
  • the transmitting module is further configured to: if the receiving module fails to detect the uplink signal within a preset time period, stop sending the pre-synchronization signal.
  • the transmitting module is further used to: send a downlink signal to the touch screen in response to the uplink signal, and the downlink signal is used to determine the pen tip position of the active pen.
  • the signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.
  • the frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and/or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and/or the pre-synchronization signal is not encoded, and the downlink signal is a coded signal; and/or the format of the pre-synchronization signal is different from the format of the downlink signal.
  • the touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area.
  • a touch screen comprising: a receiving module for detecting a pre-synchronization signal sent by an active pen; a processing module for determining, when the receiving module detects the pre-synchronization signal, a target area on the touch screen where the active pen is located according to the pre-synchronization signal; and a transmitting module for sending an uplink signal to the active pen in the area where the pen tip is located among multiple areas of the touch screen, wherein the uplink signal is used for time synchronization between the active pen and the touch screen.
  • the touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area.
  • the transmitting module is also used to: if the receiving module does not detect the pre-synchronization signal within a preset time length, or the synchronization between the active pen and the touch screen fails N times in a row, send the uplink signal in the multiple areas in turn, where N is a preset positive integer greater than 1.
  • the transmitting module is further configured to: not send the uplink signal before detecting the pre-synchronization signal; or, before detecting the pre-synchronization signal, send the uplink signal in turn in the multiple areas.
  • the receiving module is further used to receive a downlink signal sent by the active pen, and determine the pen tip position of the active pen according to the downlink signal.
  • the signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.
  • the frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and/or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and/or the pre-synchronization signal is not encoded, and the downlink signal is a coded signal; and/or the format of the pre-synchronization signal is different from the format of the downlink signal.
  • a device for synchronization between an active pen and a touch screen comprising a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method in the first aspect or any possible implementation of the first aspect.
  • a device for synchronization between an active pen and a touch screen comprising a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method in the second aspect or any possible implementation of the second aspect.
  • FIG. 1 is a schematic diagram showing the principle of using an active pen on a touch screen.
  • FIG. 2 is a schematic diagram of synchronization between a touch screen and an active pen.
  • FIG. 3 is a schematic diagram of signal transmission between a touch screen and an active pen.
  • FIG. 4 is a schematic diagram of an interference model between a touch screen and a display screen.
  • FIG. 5 is a schematic diagram of a method of scanning uplink signals in turn according to the number of channels.
  • FIG. 6 is a flow chart of the synchronization method according to an embodiment of the present application.
  • FIG. 7 is a timing diagram of synchronization between the active pen and the touch screen when there is no pre-synchronization signal.
  • FIG. 8 is a schematic diagram of a touch screen sending uplink signals in turn according to regions.
  • FIG. 9 is a timing diagram of synchronization between the active pen and the touch screen when there is a pre-synchronization signal.
  • FIG. 10 is a schematic diagram of a touch screen sending an uplink signal based on the position of an active pen.
  • FIG. 11 is a schematic diagram of an operation flow that may be performed by the touch screen before synchronization.
  • FIG. 12 is a schematic diagram of the operation flow of the active pen when no uplink signal is detected for a long time.
  • FIG. 13 is a schematic block diagram of the structure of an active pen according to an embodiment of the present application.
  • FIG. 14 is a schematic block diagram of the structure of a touch screen according to an embodiment of the present application.
  • the touch screen needs to obtain the pen tip coordinates of the active pen, so as to display the handwriting of the active pen according to the pen tip coordinates.
  • a certain number of horizontal and vertical detection electrodes also called detection channels, are distributed on the touch screen 200.
  • the drive signal output by the pen tip electrode of the active pen 100 acts on a certain position of the touch screen 200
  • the horizontal and vertical detection channels corresponding to the position will generate corresponding detection signals.
  • the position coordinates of the pen tip of the active pen 100 on the touch screen 200 can be calculated.
  • the drive signal sent by the active pen 100 is also called a coding signal, a pen signal or a downlink signal, etc., and the process of sending the drive signal is called coding.
  • the active pen and the touch screen are two independent asynchronous communication systems.
  • the touch screen cannot predict when the user will use the active pen to write on the touch screen, that is, the touch screen cannot determine when to start detecting the driving signal emitted by the active pen. Therefore, the active pen and the touch screen must be synchronized in timing, and they need to be synchronized for a long time during the writing process, so that the touch screen can stably and accurately detect the driving signal emitted by the active pen.
  • the touch screen and the active pen are synchronized, so that the touch screen can correctly detect the signal of the active pen and obtain the coordinate position, pressure sensitivity, tilt angle and other information of the active pen.
  • the touch screen detects the touch of the finger during the time when it does not detect the active pen.
  • the active pen periodically codes, and the touch screen gradually aligns its detection cycle to the coding cycle of the active pen by frequently detecting pen signals and adjusting its own detection cycle, such as an active pen using the Microsoft Pen Protocol (MPP) protocol; the other is that the touch screen periodically sends beacon signals, such as Direct Sequence Spread Spectrum (DSSS) coded signals, and the active pen detects them.
  • MPP Microsoft Pen Protocol
  • the touch screen periodically sends beacon signals, such as Direct Sequence Spread Spectrum (DSSS) coded signals, and the active pen detects them.
  • DSSS Direct Sequence Spread Spectrum
  • the active pen periodically codes and the touch screen synchronizes with the active pen, and the synchronization accuracy is not high; for the second synchronization method, the touch screen sends a beacon signal and the touch screen synchronizes with the active pen. Although the synchronization accuracy is high, the beacon signal has poor anti-interference effect. In a noisy scenario, the active pen may not receive the correct beacon signal, resulting in synchronization failure.
  • the signal transmission between the touch screen and the active pen is defined as follows: 1) Uplink signal (Uplink): a signal generated by the touch chip of the touch screen and sent to the active pen, generally in DSSS format, can be used as a beacon signal to synchronize the timing between the touch screen and the active pen, and can be used to transmit the working frequency, cycle timing and other data required by the touch screen; 2) Downlink signal (Downlink): a signal generated by the tip electrode of the active pen and sent to the touch screen, generally a high-voltage pulse width modulation (Pulse Width Modulation, PMW) signal of 10V to 40V, and can use amplitude shift keying (Amplitude Shift Keying, ASK) modulation, frequency shift keying (Frequency Shift Keying, FSK) modulation, phase shift keying (Phase Shift Keying, PSK) modulation and other modul
  • some new active pen protocols have added an uplink synchronization method, that is, the touch chip of the touch screen uses DSSS spread spectrum coding to periodically transmit uplink synchronization signals to the touch screen, such as beacon signals.
  • the active pen periodically opens a window for receiving and detecting uplink signals. When the active pen is close to the touch screen, it will detect the beacon signal and use this signal as the time anchor point for screen-pen interaction to complete the precise synchronization of the screen-pen timing.
  • the above-mentioned USI active pen protocol is the most typical universal protocol using uplink synchronization.
  • This type of active pen has the following advantages: bidirectional communication between the touch screen and the active pen is achieved through uplink signals and downlink signals; synchronization between the touch screen and the active pen is achieved through uplink signals with higher synchronization accuracy.
  • this type of active pen also has the following defects: first, before the active pen approaches the touch screen, it is impossible to predict the writing position of the active pen on the touch screen, and the touch screen needs to transmit uplink signals on the full screen, which brings about greater power consumption, and due to the large signal energy, the uplink signal is easy to interfere with the display screen, affecting the display effect of the display screen; secondly, the uplink signal is easily interfered by the external environment, and the interfered uplink signal may not be correctly received by the active pen, resulting in the failure of synchronization between the touch screen and the active pen, so that the active pen cannot write normally. For example, interference from chargers, power grids, and electromagnetic noise in space may affect the normal use of the active pen.
  • FIG4 shows a schematic diagram of the interference model between the touch screen and the display screen.
  • the distance between the cathode plate of the display screen and the touch sensor becomes shorter, the coupling capacitance CT between the two increases, and the signal interference between the display screen and the touch screen increases.
  • the touch screen transmits an uplink signal, if the driving voltage is too high or the number of driving channels is large, it will affect the display effect of the display screen, resulting in screen flickering, water ripples, etc., which are unacceptable to users.
  • the excitation signal of the touch chip affects the display effect of the display screen.
  • the excitation signal of the touch chip is coupled to the data line (Data line) driven by the display screen through the cathode plate, affecting the gate voltage V G of the MOS tube in the display driving circuit, thereby directly affecting the current of the light-emitting diode in the display screen, and further affecting the display effect of the display screen.
  • the touch screen can adopt a method of scanning in turn according to the number of channels when transmitting the uplink signal.
  • the detection channels of the entire screen are divided into three groups of complementary channels: upper, middle and lower.
  • Figure 5 takes 44 channels as an example.
  • the channel used to transmit the drive signal is called the Tx channel
  • the channel used to output the corresponding detection signal is called the Rx channel.
  • Figure 5 takes the Tx channel as an example.
  • the touch chip uses the first group of channels and positive and negative coding to send the uplink signal in the first cycle, the touch chip uses the second group of channels and positive and negative coding to send the uplink signal in the second cycle, and the touch chip uses the third group of channels and positive and negative coding to send the uplink signal in the third cycle. In this way, it takes 3 cycles to scan the position of the entire screen.
  • This method of scanning in turn according to the number of channels also has the problem of poor anti-interference ability.
  • Environmental interference such as display noise, charger, lamp flickering, etc. may affect the signal detection between the touch screen and the active pen, resulting in the pen being unable to synchronize correctly when writing, disconnecting when writing, and being unable to be used normally when the interference is serious.
  • the present application provides a synchronization solution to solve the problem that the touch screen and the active pen cannot be effectively synchronized.
  • the touch screen can pre-judge the approximate position of the active pen on the touch screen according to the pre-synchronization signal, and transmit an uplink signal in a local area of the touch screen according to the position, thereby ensuring that the active pen can receive the uplink signal in the vicinity of the touch screen when it is close to the touch screen, thereby reducing the uncertainty of the scanning blind area and scanning delay of the uplink signal, optimizing the synchronization speed, and improving the stability of the writing response, while retaining compatibility with the USI protocol.
  • FIG6 shows a flow chart of the synchronization method of an embodiment of the present application.
  • the method shown in FIG6 is performed by an active pen and a touch screen, and is used to achieve time synchronization between the active pen and the touch screen, hereinafter referred to as synchronization.
  • method 300 includes some or all of the following steps.
  • step 310 the active pen sends a pre-synchronization signal to the touch screen.
  • the pre-synchronization signal is used to determine the target area where the active pen is located on the touch screen.
  • step 320 the touch screen detects a pre-synchronization signal sent by the active pen.
  • step 330 is executed.
  • step 330 the touch screen determines the target area where the active pen is located on the touch screen according to the pre-synchronization signal.
  • the touch screen includes multiple areas for sending uplink signals, and the multiple areas include the target area, which is the area where the active pen is located in the multiple areas; for example, the target area can be an area within a preset range near the active pen, such as the area where a preset number of channels near the active pen are located.
  • step 340 the touch screen sends an uplink signal to the active pen in the target area.
  • the uplink signal is used for time synchronization between the active pen and the touch screen, and can also be called a synchronization signal, such as the beacon signal mentioned above.
  • the uplink signal can also carry data such as the working frequency and working cycle of the touch screen.
  • step 350 the active pen detects an uplink signal sent by the touch screen in the target area.
  • step 360 is executed.
  • step 360 the active pen performs time synchronization with the touch screen according to the uplink signal.
  • the active pen Since a pre-synchronization signal is added during the synchronization process between the active pen and the touch screen, the active pen sends the pre-synchronization signal to the touch screen, so that the touch screen can pre-judge the approximate position of the active pen based on the pre-synchronization signal, and thus send an uplink signal to the active pen only in the area near the position.
  • the synchronization method of the present application reduces the power consumption of the touch screen and its interference to the display screen; compared with the method of sending uplink signals in different areas in turn, the synchronization method of the present application reduces the scanning blind area and scanning delay, optimizes the synchronization speed between the touch screen and the active pen, and improves the stability of the writing response.
  • method 300 also includes: in response to the uplink signal, the active pen sends a downlink signal to the touch screen, and the downlink signal includes, for example, information such as pressure, power, pen tip position, ACK, etc. of the active pen; accordingly, method 300 also includes: the touch screen receives the downlink signal sent by the active pen, and determines information such as the pen tip position of the active pen based on the downlink signal.
  • the pre-synchronization signal can only be used to roughly determine the position of the active pen. Since the touch screen and the active pen are not synchronized at this time, the downlink signal received by the touch screen may be incomplete, so it cannot be used to calculate the accurate coordinates, and can only indicate that the active pen is roughly close to the touch screen in a certain area. After the touch screen and the active pen are synchronized, the touch screen can obtain the complete downlink signal sent by the active pen, and use it to accurately determine the position of the pen tip of the active pen.
  • the touch screen can determine whether it is currently synchronized with the active pen. For example, if it does not receive a response from the active pen after sending a synchronization signal, it can be considered that the two are not yet synchronized. At this time, the signal it receives can be considered as a pre-synchronization signal, and the target area where the active pen is located is determined based on the pre-synchronization signal, and the synchronization signal is sent in the target area.
  • the pre-synchronization signal and the downlink signal used to determine the pressure, power, pen tip position and other information of the active pen can be the same or different.
  • the frequency of the pre-synchronization signal and the downlink signal can be different; or, the encoding of the pre-synchronization signal and the downlink signal is different; or, the pre-synchronization signal can be unencoded and only be a high-voltage pulse width modulation (PWM) square wave, while the downlink signal is an encoded signal carrying the above-mentioned pressure, power, pen tip position and other information; or, the format of the pre-synchronization signal is different from the format of the downlink signal.
  • PWM pulse width modulation
  • the length of the pre-synchronization signal will be smaller than the length of the downlink signal.
  • the touch screen sends an uplink signal to the active pen through the TX channel and/or the Rx channel, and detects the downlink signal sent by the active pen through the TX channel and/or the Rx channel.
  • the Tx channel can be used to send and/or receive signals; after the active pen and the touch screen are synchronized, since the pen tip position of the active pen can be accurately obtained, the signal can be sent and/or received through the Tx channel and the Rx channel corresponding to the pen tip position of the active pen.
  • the touch screen can detect the pre-synchronization signal sent by the active pen through the Tx channel, for example, the area where the Tx channel that detects the pre-synchronization signal is located can be determined as the target area; for another example, after the active pen detects the pre-synchronization signal and determines the target area where the active pen is located based on the pre-synchronization signal, an uplink signal can be sent to the active pen through the Tx channel in the target area; for another example, after the touch screen and the active pen are synchronized, the touch screen can send an uplink signal to the active pen through the Tx channel and Rx channel corresponding to the pen tip position of the active pen in a time-sharing or simultaneous manner; for another example, after the touch screen and the active pen are synchronized, the touch screen can detect the downlink signal sent by the active pen through the Tx channel and the Rx channel, and determine the two-dimensional coordinates of the pen tip of the active pen based on the Tx channel and the Rx channel that detect the downlink signal.
  • Figure 7 shows a timing diagram of synchronization between the active pen and the touch screen when there is no pre-synchronization signal.
  • the touch screen periodically sends an uplink signal, and only when the active pen detects the uplink signal will it enter the synchronization state and generate coding signals such as pressure, power, pen tip position, and acknowledgment (ACK) for the touch screen to detect information such as the pen tip position and pressure of the active pen.
  • coding signals such as pressure, power, pen tip position, and acknowledgment (ACK) for the touch screen to detect information such as the pen tip position and pressure of the active pen.
  • FIG8 shows a schematic diagram of the touch screen sending the uplink signal in turns according to the area. Taking three areas, namely area 1, area 2 and area 3 as an example, the touch screen starts from area 1 and sends the uplink signal in areas 1, area 2 and area 3 in turn. Assuming that the active pen is writing at the bottom of the touch screen and the active pen is located at the bottom of the touch screen, the active pen needs to wait until the third cycle to enter the synchronization state and start writing normally.
  • the active pen needs to wait for another 3 cycles before it can be synchronized again.
  • the pen feeding time is uncertain, and a synchronization failure will generate an additional 3-cycle delay, resulting in slow response when the user writes, and the first pen misses the response, which seriously affects the user experience.
  • FIG9 shows the timing of synchronization between the active pen and the touch screen when there is a pre-synchronization signal.
  • the pre-synchronization signal is also added during the synchronization process.
  • the active pen still detects the uplink signal normally, and uses the idle time to transmit a section of the downlink pre-synchronization signal.
  • the active pen needs to send the pre-synchronization signal and detect the uplink signal in its cycle, and the touch screen needs to send the uplink signal, detect the pre-synchronization signal, and detect the finger in its cycle.
  • the touch screen detects the pre-synchronization signal of the active pen, it will specifically transmit the uplink signal in the area corresponding to the pre-synchronization signal, which happens to be the approximate area where the active pen is located. In this way, the active pen can receive the uplink signal as soon as possible, optimize the synchronization speed between the touch screen and the active pen, and improve the stability of the writing response.
  • the pre-synchronization signal can no longer be sent and detected in the next cycle; if the synchronization is not successful, the pre-synchronization signal can continue to be sent and detected in the next cycle, as shown in FIG9.
  • the active pen can detect the uplink signal first and then send the pre-synchronization signal during its cycle; it can also send the pre-synchronization signal first and then detect the uplink signal.
  • the touch screen can detect the pre-synchronization signal first and then send the uplink signal during its cycle; it can also send the uplink signal first and then detect the pre-synchronization signal.
  • Figure 9 is only an example, taking the example of sending and detecting the pre-synchronization signal first and then sending and detecting the uplink signal.
  • FIG10 shows a schematic diagram of the touch screen sending an uplink signal based on the position of the active pen. Still taking the three areas shown in FIG8, namely area 1, area 2 and area 3, as an example, after adding the pre-synchronization signal, the touch screen can pre-determine the approximate area where the active pen is located according to the pre-synchronization signal, and directly send the uplink signal in the target area where the active pen is located.
  • the touch screen takes area 3 as the target area and sends an uplink signal on the channels in the target area for synchronization between the active pen and the touch screen; as shown in FIG10 (c) and (d), in the subsequent cycle, the touch screen and the active pen are synchronized, and the active pen and the touch screen can no longer send and detect the pre-synchronization signal.
  • the touch screen and the active pen can only send uplink signals on a few channels near the pen tip position, namely the channels in the shaded area.
  • the area of the region shown in (c) and (d) of FIG10 (or the number of detection channels corresponding to the region) can usually be smaller than the area of each region in region 1, region 2, and region 3 (or the area of the detection channels corresponding to each region).
  • the areas of region 1, region 2, and region 3 cannot be set larger, then the area of the reference region shown in (c) and (d) of FIG10 may also be equal to the area of each region in region 1, region 2, and region 3.
  • the touch screen When using the pre-synchronization signal for synchronization, it usually only takes one cycle for the active pen to receive the correct uplink signal and enter the synchronization state. Even if the active pen fails to successfully receive the uplink signal in an interference environment, the touch screen will continue to send the uplink signal in the target area where the pen tip is located according to the pre-synchronization signal in the next few cycles to ensure that the active pen can correctly receive the uplink signal.
  • the method 300 further includes: the touch screen does not send an uplink signal before detecting the pre-synchronization signal; or the touch screen sends an uplink signal in multiple areas in turn before detecting the pre-synchronization signal.
  • the touch screen may not send an uplink signal before detecting a pre-synchronization signal.
  • the touch screen may not send an uplink signal and only detect the pre-synchronization signal.
  • the uplink signal is then started to be sent after the pre-synchronization signal is detected, thereby saving the power consumption of the touch screen to the greatest extent and reducing the interference of the uplink signal on the display of the display screen.
  • the touch screen Before detecting the pre-synchronization signal sent by the active pen, the touch screen may also send both uplink signals and detect downlink signals in each cycle, for example, based on the USI protocol, send uplink signals in multiple areas in turn, so as to ensure the compatibility of the protocol.
  • FIG11 shows the operations that the touch screen may perform before synchronization is successful.
  • the touch screen periodically sends uplink signals, for example, sends uplink signals in multiple predetermined areas in turn;
  • step 302 the touch screen determines whether a pre-synchronization signal is detected
  • step 303 If the touch screen detects the pre-synchronization signal, step 303 is executed; if the touch screen does not detect the pre-synchronization signal, step 304 is executed;
  • step 303 the touch screen sends an uplink signal in the target area where the active pen is located;
  • the touch screen determines a target area where the active pen is located in a plurality of predetermined areas according to the pre-synchronization signal, and sends an uplink signal only in the target area;
  • step 304 the touch screen sends uplink signals in turn in a plurality of predetermined areas.
  • the touch screen if the touch screen does not detect a pre-synchronization signal within a preset time, or the active pen fails to synchronize with the touch screen N times in a row, where N is a preset positive integer greater than 1, the touch screen switches to the original synchronization mode of the USI protocol to ensure the compatibility of the protocol. For example, if the touch screen does not detect a pre-synchronization signal within a preset time, or the active pen fails to synchronize with the touch screen N times in a row, the touch screen switches to a synchronization mode that sends uplink signals in multiple areas in turn.
  • the active pen stops sending a pre-synchronization signal. If the active pen does not detect an uplink signal within a preset time, such as 3 minutes, it is possible that the user has not used the active pen to write for a period of time.
  • the active pen can only detect the uplink signal and stop sending the pre-synchronization signal, thereby saving power consumption of the active pen. For example, in the operation performed by the active pen shown in FIG12, in step 305, the active pen detects an uplink signal;
  • step 306 the active pen determines whether no uplink signal is detected within a preset time period
  • step 307 is executed; if the active pen does not detect an uplink signal within a preset time period, it is possible that the user has not used the active pen to write for a period of time.
  • the active pen can switch to the original synchronization mode of the USI protocol, no longer send a pre-synchronization signal, and only detect the uplink signal to save power consumption of the active pen;
  • step 307 the active pen sends a pre-synchronization signal.
  • the embodiment of the present application increases the speed of timing synchronization between the touch screen and the active pen by adding a pre-synchronization signal during the synchronization process, and shortens the synchronization time by 2 frames, usually 32ms, compared with the method of only using the divided area scanning method.
  • the synchronization method of the present application ensures stable synchronization between the touch screen and the active pen.
  • the synchronization method of the present application solves the problem that the active pen cannot be used normally due to the increase in uplink signal noise and the failure of pen-end synchronization in scenarios such as high-noise display screen, interference from the charger, and interference from the outside of the touch screen.
  • the synchronization method of the present application is well compatible with the synchronization mechanism of the original USI protocol and does not affect the interchangeable use of the existing active pen and touch screen based on the USI protocol.
  • the present application further provides an active pen.
  • the active pen 100 includes:
  • the transmitting module 110 is used to send a pre-synchronization signal to the touch screen, wherein the pre-synchronization signal is used to determine a target area on the touch screen where the active pen is located, so that the touch screen sends an uplink signal in the target area;
  • the receiving module 120 is configured to detect the uplink signal, and when the uplink signal is detected, perform time synchronization with the touch screen according to the uplink signal.
  • the transmitting module 110 is further configured to: if the receiving module fails to detect the uplink signal within a preset time period, stop sending the pre-synchronization signal.
  • the transmitting module 110 is further used to send a downlink signal to the touch screen in response to the uplink signal, wherein the downlink signal is used to determine the position of the pen tip of the active pen.
  • the signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.
  • the frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and/or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and/or the pre-synchronization signal is not encoded, and the downlink signal is a coded signal; and/or the format of the pre-synchronization signal is different from the format of the downlink signal.
  • the touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area.
  • the specific details of the active pen 100 can refer to the above description of the operations performed by the active pen in the method 300, and for the sake of brevity, they are not repeated here.
  • the present application further provides a touch screen.
  • the touch screen 200 includes:
  • the receiving module 210 is used to detect the pre-synchronization signal sent by the active pen;
  • a processing module 220 configured to determine a target area on the touch screen where the active pen is located according to the pre-synchronization signal when the receiving module detects the pre-synchronization signal;
  • the transmitting module 230 is used to send an uplink signal to the active pen in the area where the pen tip is located among the multiple areas of the touch screen, and the uplink signal is used for time synchronization between the active pen and the touch screen.
  • the transmitting module 230 is further configured to: the touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area.
  • the touch screen 200 includes a plurality of transmission channels for transmitting the uplink signal, and the plurality of regions are regions where the plurality of transmission channels are located.
  • the transmitting module 230 is further used to: not send the uplink signal before detecting the pre-synchronization signal; or, before detecting the pre-synchronization signal, send the uplink signal in turn in the multiple areas.
  • the receiving module 210 is further configured to receive a downlink signal sent by the active pen, and determine the pen tip position of the active pen according to the downlink signal.
  • the signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.
  • the frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and/or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and/or the pre-synchronization signal is not encoded, and the downlink signal is a coded signal; and/or the format of the pre-synchronization signal is different from the format of the downlink signal.
  • touch screen 200 can refer to the aforementioned description of the operations performed by the touch screen in the method 300, and for the sake of brevity, they are not repeated here.
  • the present application also provides a device for synchronization between an active pen and a touch screen, the device comprising a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the steps executed by the active pen in any of the above embodiments, or to execute the steps executed by the touch screen.
  • the present application also provides a communication system, which includes the active pen and touch screen in any of the above embodiments.
  • the touch screen in the embodiment of the present application can be a touch screen in an electronic device.
  • the electronic device can be a portable or mobile computing device such as a terminal device, a mobile phone, a tablet computer, a laptop computer, a desktop computer, a gaming device, an in-vehicle electronic device or a wearable smart device, as well as other electronic devices such as an electronic database, a car, and an automated teller machine (ATM).
  • ATM automated teller machine
  • the wearable smart device includes a device with full functions and large size that can realize full or partial functions without relying on a smart phone, such as a smart watch or smart glasses, and includes a device that only focuses on a certain type of application function and needs to be used in conjunction with other devices such as a smart phone, such as various types of smart bracelets and smart jewelry for vital sign monitoring.
  • the systems, devices and methods disclosed in the embodiments of the present application may be implemented in other ways. For example, some features of the method embodiments described above may be ignored or not performed.
  • the device embodiments described above are merely schematic, and the division of units is merely a logical function division. There may be other division methods in actual implementation, and multiple units or components may be combined or integrated into another system.
  • the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the coupling may include electrical, mechanical or other forms of connection.

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

本申请提供一种用于主动笔和触摸屏之间同步的方法、主动笔和触摸屏,能够提高触摸屏和主动笔之间的同步速度。所述方法由主动笔执行,所述方法包括:向触摸屏发送预同步信号,所述预同步信号用于确定所述触摸屏上所述主动笔所在的目标区域,以使所述触摸屏在所述目标区域发送上行信号;检测所述上行信号;若检测到所述上行信号,根据所述上行信号,与所述触摸屏之间进行时间同步。

Description

用于主动笔和触摸屏之间同步的方法、主动笔和触摸屏 技术领域
本申请实施例涉及主动笔领域,并且更具体地,涉及一种用于主动笔和触摸屏之间同步的方法、主动笔和触摸屏。
背景技术
随着电容屏的普及,电容式主动笔的应用也变得越来越广泛。主动笔和触摸屏之间的协议也不断在演进,其发展趋势已经从早期的单向通信演变到现在双向通信。但不论采用何种通信协议,触摸屏和主动笔之间需要按照协议中约定的信号收发时序和周期才能建立连接,以实现触摸屏对主动笔的坐标信号的采集,从而实现主动笔的书写功能。可见,主动笔的工作前提是与触摸屏之间进行时序同步从而建立连接。为此,如何有效实现触摸屏和主动笔之间的同步,成为亟待解决的问题。
发明内容
本申请实施例提供一种用于主动笔和触摸屏之间同步的方法、主动笔和触摸屏,能够提高触摸屏和主动笔之间的同步速度。
第一方面,提供了一种用于主动笔和触摸屏之间同步的方法,所述方法由主动笔执行,所述方法包括:向触摸屏发送预同步信号,所述预同步信号用于确定所述触摸屏上所述主动笔所在的目标区域,以使所述触摸屏在所述目标区域发送上行信号;检测所述上行信号;若检测到所述上行信号,根据所述上行信号,与所述触摸屏之间进行时间同步。
在该实施例中,在主动笔和触摸屏的同步过程中增加了预同步信号,主动笔通过向触摸屏发送预同步信号,使得触摸屏能够根据预同步信号预先判断主动笔的大概位置,从而仅在该位置附近的区域向主动笔发送上行信号。相比于全屏发送上行信号的方式,其降低了触摸屏的功耗和及其对显示屏的干扰;相比于分区域轮流发送上行信号的方式,其减少了触摸屏的扫描盲区和扫描延时,优化了触摸屏和主动笔之间的同步速度,提高了书写响应的稳定性。
在一种实现方式中,所述方法还包括:若在预设时长内未检测到所述上 行信号,停止发送所述预同步信号。若主动笔在预设时长内未检测到所述上行信号,有可能用户近一段时间没有使用主动笔在进行书写,主动笔可以仅检测上行信号,而停止发送预同步信号,从而节省主动笔的功耗。
在一种实现方式中,所述方法还包括:响应于所述上行信号,向所述触摸屏发送下行信号,所述下行信号用于确定所述主动笔的笔尖位置。
在一种实现方式中,所述预同步信号的信号长度小于所述下行信号的信号长度。
在一种实现方式中,所述预同步信号的频点与所述下行信号的频点不同;和/或,所述预同步信号的编码和所述下行信号的编码不同;和/或,所述预同步信号不进行编码,所述下行信号为编码信号;和/或,所述预同步信号的格式与所述下行信号的格式不同。
在一种实现方式中,所述触摸屏包括用于发送上行信号的多个区域,所述多个区域包括所述目标区域。通过将触摸屏划分为多个区域,并且触摸屏仅在主动笔所在的该目标区域发送上行信号,能够使主动笔尽快接收到上行信号,优化了触摸屏和主动笔之间的同步速度,提高了书写响应的稳定性。
第二方面,提供了一种用于主动笔和触摸屏之间同步的方法,所述方法由触摸屏执行,所述方法包括:检测主动笔发送的预同步信号;若检测到所述预同步信号,根据所述预同步信号,确定所述触摸屏上所述主动笔所在的目标区域;在所述目标区域向所述主动笔发送上行信号,所述上行信号用于所述主动笔与所述触摸屏之间进行时间同步。
在该实施例中,在主动笔和触摸屏的同步过程中增加了预同步信号,触摸屏通过接收主动笔发送的预同步信号,能够预先判断主动笔的大概位置,从而仅在该位置附近的区域向主动笔发送上行信号。相比于全屏发送上行信号的方式,其降低了触摸屏的功耗和及其对显示屏的干扰;相比于分区域轮流发送上行信号的方式,其减少了触摸屏的扫描盲区和扫描延时,优化了触摸屏和主动笔之间的同步速度,提高了书写响应的稳定性。
在一种实现方式中,所述触摸屏包括用于发送上行信号的多个区域,所述多个区域包括所述目标区域。通过将触摸屏划分为多个区域,并且触摸屏仅在主动笔所在的该目标区域发送上行信号,能够使主动笔尽快接收到上行信号,优化了触摸屏和主动笔之间的同步速度,提高了书写响应的稳定性。
在一种实现方式中,所述方法还包括:若在预设时长内没有检测到所述 预同步信号,或者所述主动笔与所述触摸屏之间连续N次同步失败,在所述多个区域轮流发送所述上行信号,N为预设的大于1的正整数。
若在预设时长内没有检测到所述预同步信号,或者所述主动笔与所述触摸屏之间连续N次同步失败,触摸屏切换至USI协议原有的同步方式,例如分区域轮流发送上行信号,从而确保协议的兼容性。
在一种实现方式中,所述方法还包括:在检测到所述预同步信号之前,不发送所述上行信号,从而最大程度地节省触摸屏的功耗和降低上行信号对显示屏的显示造成的干扰;或者,在检测到所述预同步信号之前,在所述多个区域轮流发送所述上行信号,从而确保协议的兼容性。
在一种实现方式中,所述方法还包括:接收所述主动笔发送的下行信号,并根据所述下行信号确定所述主动笔的笔尖位置。
在一种实现方式中,所述预同步信号的信号长度小于所述下行信号的信号长度。
在一种实现方式中,所述预同步信号的频点与所述下行信号的频点不同;和/或,所述预同步信号的编码和所述下行信号的编码不同;和/或,所述预同步信号不进行编码,所述下行信号为编码信号;和/或,所述预同步信号的格式与所述下行信号的格式不同。
第三方面,提供了一种主动笔,所述主动笔包括:发射模块,用于向触摸屏发送预同步信号,所述预同步信号用于确定所述触摸屏上所述主动笔所在的目标区域,以使所述触摸屏在所述目标区域发送上行信号;接收模块,用于检测所述上行信号,并在检测到所述上行信号时,根据所述上行信号,与所述触摸屏之间进行时间同步。
在一种实现方式中,所述发射模块还用于:若所述接收模块在预设时长内未检测到所述上行信号,停止发送所述预同步信号。
在一种实现方式中,所述发射模块还用于:响应于所述上行信号,向所述触摸屏发送下行信号,所述下行信号用于确定所述主动笔的笔尖位置。
在一种实现方式中,所述预同步信号的信号长度小于所述下行信号的信号长度。
在一种实现方式中,所述预同步信号的频点与所述下行信号的频点不同;和/或,所述预同步信号的编码和所述下行信号的编码不同;和/或,所述预同步信号不进行编码,所述下行信号为编码信号;和/或,所述预同步信 号的格式与所述下行信号的格式不同。
在一种实现方式中,所述触摸屏包括用于发送上行信号的多个区域,所述多个区域包括所述目标区域。
第四方面,提供了一种触摸屏,所述触摸屏包括:接收模块,用于检测主动笔发送的预同步信号;处理模块,用于在所述接收模块检测到所述预同步信号时,根据所述预同步信号,确定所述触摸屏上所述主动笔所在的目标区域;发射模块,用于在所述触摸屏的多个区域中所述笔尖位置所在的区域,向所述主动笔发送上行信号,所述上行信号用于所述主动笔与所述触摸屏之间进行时间同步。
在一种实现方式中,所述触摸屏包括用于发送上行信号的多个区域,所述多个区域包括所述目标区域。
在一种实现方式中,所述发射模块还用于:若所述接收模块在预设时长内没有检测到所述预同步信号,或者所述主动笔与所述触摸屏之间连续N次同步失败,在所述多个区域轮流发送所述上行信号,N为预设的大于1的正整数。
在一种实现方式中,所述发射模块还用于:在检测到所述预同步信号之前,不发送所述上行信号;或者,在检测到所述预同步信号之前,在所述多个区域轮流发送所述上行信号。
在一种实现方式中,所述接收模块还用于,接收所述主动笔发送的下行信号,并根据所述下行信号确定所述主动笔的笔尖位置。
在一种实现方式中,所述预同步信号的信号长度小于所述下行信号的信号长度。
在一种实现方式中,所述预同步信号的频点与所述下行信号的频点不同;和/或,所述预同步信号的编码和所述下行信号的编码不同;和/或,所述预同步信号不进行编码,所述下行信号为编码信号;和/或,所述预同步信号的格式与所述下行信号的格式不同。
第五方面,提供了一种用于主动笔和触摸屏之间同步的装置,所述装置包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以执行第一方面或第一方面的任一可能的实现方式中的方法。
第六方面,提供了一种用于主动笔和触摸屏之间同步的装置,所述装置 包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以执行第二方面或第二方面的任一可能的实现方式中的方法。
附图说明
图1是主动笔在触摸屏上使用的原理示意图。
图2是触摸屏和主动笔之间同步的示意图。
图3是触摸屏和主动笔之间信号传输的示意图。
图4是触摸屏和显示屏之间的干扰模型的示意图。
图5是上行信号按照通道数轮流扫描的方式的示意图。
图6是本申请实施例的同步方法的流程交互图。
图7是没有预同步信号时主动笔和触摸屏之间进行同步的时序图。
图8是触摸屏按照区域轮流发送上行信号的示意图。
图9是有预同步信号时主动笔和触摸屏之间进行同步的时序图。
图10是触摸屏基于主动笔位置发送上行信号的示意图。
图11是触摸屏在同步之前可能执行的操作流程的示意图。
图12是长时间未检测到上行信号时主动笔的操作流程的示意图。
图13是本申请实施例的主动笔的结构的示意性框图。
图14是本申请实施例的触摸屏的结构的示意性框图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
电容式主动笔(以下简称主动笔)在实际使用时,触摸屏需要获取主动笔的笔尖坐标,从而根据笔尖坐标显示主动笔的笔迹。作为示例,如图1所示,触摸屏200上分布着一定数量的横向和纵向的检测电极,也称检测通道,主动笔100的笔尖电极输出的驱动信号作用在触摸屏200的某一位置时,该位置对应的横向和纵向的检测通道会产生相应的检测信号。根据该检测信号,可以计算主动笔100的笔尖在触摸屏200上的位置坐标。主动笔100发送的驱动信号也称打码信号、笔信号或者下行信号等,其发送驱动信号的过程称为打码。
目前,手机、平板电脑、笔记本电脑等电子设备均支持主动笔的功能, 用户对主动笔的性能要求也越来越高。电子设备的触摸屏需要检测手指的触摸操作和主动笔的书写操作,且为了兼顾功耗问题,触摸屏无法占用全部的时间来实时地检测主动笔。为此,屏笔双方必须按照约定的时间窗口完成笔尖位置的检测和二者之间的通讯。
主动笔和触摸屏是两个互相独立的异步通讯系统,触摸屏无法预知用户何时使用主动笔在触摸屏上进行书写,即,触摸屏无法确定在什么时刻开始检测主动笔发射的驱动信号。因此,主动笔与触摸屏之间必须在时序上进行同步,且需要在书写过程中长时间保持同步,触摸屏才能稳定且准确地检测到主动笔发射的驱动信号。
例如,如图2所示,当主动笔的笔信号的出现时机和触摸屏的检测窗口在时间上对齐,说明触摸屏和主动笔之间实现了同步,这样,触摸屏才能正确地检测到主动笔的信号,进而得到主动笔的坐标位置、压感、倾斜角度等信息。此外,触摸屏在不检测主动笔的时间内检测手指的触摸。
通常,实现触摸屏与主动笔之间的同步方式有以下两种。一种是主动笔周期性打码,触摸屏通过频繁地检测笔信号和调整自己的检测周期,逐渐将其检测周期对齐至主动笔的打码周期,例如采用微软主动笔协议(Microsoft Pen Protocol,MPP)协议的主动笔;另一种是触摸屏周期性发送信标(beacon)信号,比如直序扩频(Direct Sequence Spread Spectrum,DSSS)编码信号,并由主动笔进行检测,当主动笔检测到正确的beacon信号后按照约定的时延发射驱动信号,从而实现触摸屏与主动笔之间的同步,例如采用触控笔联盟(Universal Stylus Initiative,USI)协议的主动笔。
对于第一种同步方式,主动笔周期性打码并由触摸屏向主动笔同步,其同步精度不高;对于第二种同步方式,触摸屏发送beacon信号并由触摸屏向主动笔同步,虽然同步精度较高,但是beacon信号的抗干扰效果差,在有噪声的场景下主动笔容易接收不到正确的beacon信号导致同步失败。
如图3所示,对于采用USI协议的主动笔,根据触摸屏和主动笔之间的信号传输方向,对触摸屏和主动笔之间的信号传输有以下定义:1)上行信号(Uplink):由触摸屏的触控芯片产生并向主动笔发送的信号,一般采用DSSS格式,可以用作beacon信号以同步触摸屏和主动笔之间的时序,并可以用来传输触摸屏需要的工作频点、周期时序等数据;2)下行信号(Downlink):由主动笔的笔尖电极产生并向触摸屏发送的信号,一般是 10V~40V的高压脉冲宽度调制(Pulse Width Modulation,PMW)信号,并且可以使用幅移键控(Amplitude Shift Keying,ASK)调制、频移键控(Frequency Shift Keying,FSK)调制、相移键控(Phase Shift Keying,PSK)调制等调制方式传输笔尖压力、电量等数据。
目前,一些新的主动笔协议中均增加了上行的同步方式,即触摸屏的触控芯片使用DSSS扩频编码,周期性地向触摸屏发射上行的同步信号,例如beacon信号,主动笔周期性地开启用于接收和检测上行信号的窗口,当主动笔靠近触摸屏时会检测到beacon信号,并以此信号作为屏笔交互的时间锚点,完成屏笔时序的精确同步。上述的USI主动笔协议是采用上行同步的最典型的通用协议。
这类主动笔具有以下优势:通过上行信号和下行信号实现了触摸屏和主动笔之间的双向通讯;通过上行信号实现触摸屏和主动笔之间的同步具有更高的同步精度。但是,这类主动笔也存在以下缺陷:首先,由于主动笔靠近触摸屏之前,无法预知主动笔在触摸屏上的书写位置,需要触摸屏在全屏发射上行信号,因此带来较大功耗,且由于信号能量较大,上行信号容易对显示屏造成干扰,影响显示屏的显示效果;其次,上行信号易受到外界环境的干扰,被干扰的上行信号可能无法被主动笔正确地接收到,导致触摸屏和主动笔之间的同步失败,使主动笔不能正常书写,例如充电器、电网、空间电磁噪声等干扰都可能影响主动笔的正常使用。
图4示出了触摸屏和显示屏之间的干扰模型的示意图,随着电子设备的厚度的减小,特别是柔性屏和折叠屏等产品,显示屏的阴极板与触摸传感器之间的距离变短,二者之间的耦合电容C T增大,显示屏与触摸屏之间的信号干扰增大。当触摸屏发射上行信号时,如果驱动电压过高或者驱动的通道数较多,则会影响显示屏的显示效果,出现屏幕闪烁、水波纹等现象,使用户无法接受。如图4所示,触控芯片的激励信号影响显示屏的显示效果,当电压V gate导通时,触控芯片的激励信号通过阴极板耦合到显示屏驱动的数据线(Data line),影响显示驱动电路中MOS管的栅极电压V G,从而直接影响显示屏中发光二极管的电流,进而影响显示屏的显示效果。
为了降低上行信号对显示屏的影响,触摸屏发射上行信号时可以采用按照通道数轮流扫描的方式,例如,如图5所示,把整屏的检测通道分为上、中、下三组位置互补的通道,图5以44个通道为例,通常,用于发射驱动 信号的通道称为Tx通道,用于输出相应的检测信号的通道称为Rx通道,图5是以Tx通道为例。触控芯片在第1个周期使用第1组通道和正负编码发送上行信号,触控芯片在第2个周期使用第2组通道和正负编码发送上行信号,触控芯片在第3个周期使用第3组通道和正负编码发送上行信号。如此,需要3个周期才能扫描完全屏的位置。这种做法虽然降低了上行信号对显示屏的影响,但明显地导致了上行信号的扫描时间的增加,由1个周期增加至3个周期,使触摸屏检测到笔信号的时间延时2~3个周期,从而使得进笔速度变慢,引起笔快速书写或点击时的漏响应等问题,严重影响用户的书写体验。
这种按照通道数轮流扫描的方式同样存在抗干扰能力差的问题,显示屏噪声、充电器、灯管闪烁等环境干扰都可能影响触控屏和主动笔之间的信号检测,导致笔书写时无法正确同步,书写断线,干扰严重时无法正常使用。
为此,本申请提供一种同步方案,旨在解决触摸屏和主动笔之间无法有效同步的问题,通过增加一个下行的预同步信号,触摸屏可以根据预同步信号预先判断主动笔在触摸屏上的大概位置,并根据该位置在触摸屏的局部区域发射上行信号,确保主动笔靠近触摸屏时能够接收到其附近区域的上行信号,从而减少上行信号的扫描盲区和扫描延时的不确定性,优化了同步速度,提高了书写响应的稳定性,同时能够保留对USI协议的兼容性。
以下,结合图6至图10,对本申请的技术方案进行具体描述。
图6示出了本申请实施例的同步方法的流程交互图。图6所示的方法由主动笔和触摸屏执行,用于实现主动笔和触摸屏之间的时间同步,以下简称同步。如图6所示,方法300包括以下步骤中的部分或全部。
在步骤310中,主动笔向触摸屏发送预同步信号。
其中,该预同步信号用于确定触摸屏上该主动笔所在的目标区域。
在步骤320中,触摸屏检测主动笔发送的预同步信号。
若触摸屏检测到主动笔发送的预同步信号,即触摸屏成功接收预同步信号,则执行步骤330。
在步骤330中,触摸屏根据预同步信号,确定触摸屏上主动笔所在的目标区域。
例如,触摸屏包括用于发送上行信号的多个区域,该多个区域包括该目标区域,该目标区域为该多个区域中主动笔所在的区域;又如,该目标区域 可以是主动笔附近的预设范围内的区域,比如主动笔附近的预设数量的通道所在的区域。
在步骤340中,触摸屏在该目标区域,向主动笔发送上行信号。
该上行信号用于主动笔与触摸屏之间进行时间同步,也可以称为同步信号,例如上述的beacon信号。此外,该上行信号还可以携带触摸屏的工作频点、工作周期的等数据。
在步骤350中,主动笔检测触摸屏在该目标区域发送的上行信号。
若主动笔检测到触摸屏发送的上行信号,即主动笔成功接收上行信号,则执行步骤360。
在步骤360中,主动笔根据该上行信号,与触摸屏之间进行时间同步。
由于在主动笔和触摸屏的同步过程中增加了预同步信号,主动笔通过向触摸屏发送预同步信号,使得触摸屏能够根据预同步信号预先判断主动笔的大概位置,从而仅在该位置附近的区域向主动笔发送上行信号。
相比于上述的全屏发送上行信号的方式,本申请的同步方式降低了触摸屏的功耗和及其对显示屏的干扰;相比于分区域轮流发送上行信号的方式,本申请的同步方式减少了扫描盲区和扫描延时,优化了触摸屏和主动笔之间的同步速度,提高了书写响应的稳定性。
在一种实现方式中,方法300还包括:响应于该上行信号,主动笔向触摸屏发送下行信号,该下行信号例如包括主动笔的压力、电量、笔尖位置、ACK等信息;相应地,方法300还包括:触摸屏接收主动笔发送的下行信号,并根据该下行信号确定所述主动笔的笔尖位置等信息。
应理解,本申请实施例中,预同步信号仅能够用来大致确定主动笔的位置,由于此时触摸屏和主动笔之间并未同步,触摸屏接收到的下行信号可能是不完整的,所以无法用来计算准确的坐标,只能表示主动笔大概在某个区域靠近了触摸屏。而触摸屏和主动笔之间同步后,触摸屏可以获取主动笔发送的完整的下行信号,并以此准确地确定主动笔的笔尖位置。
触摸屏能够判断当前其是否与主动笔之间同步,例如,在其发送同步信号后未接收到主动笔的应答,则可以认为二者之间还未同步,这时,其接收到的信号便可以认为是预同步信号,从而根据预同步信号确定主动笔所在的目标区域,并在该目标区域发送该同步信号。
预同步信号与用于确定主动笔的压力、电量、笔尖位置等信息的下行信 号可以相同,也可以不同。例如,预同步信号与下行信号的频点可以不同;或者,预同步信号与下行信号的编码不同;或者,预同步信号可以不进行编码,仅为高压的脉宽调变(Pulse-Width Modulation,PWM)方波即可,而下行信号为携带上述压力、电量、笔尖位置等信息的编码信号;或者,预同步信号的格式与下行信号的格式不同。通常,为了提高同步的效率,预同步信号的长度会小于下行信号的长度。
触摸屏通过TX通道和/或Rx通道向主动笔发送上行信号,并通过TX通道和/或Rx检测主动笔发送的下行信号。通常,在主动笔和触摸屏同步之前,可以仅利用Tx通道进行信号的发送和/或接收;而在主动笔和触摸屏同步之后,由于能够准确地获取主动笔的笔尖位置,因此可以通过主动笔的笔尖位置对应的Tx通道和Rx通道进行信号的发送和/或接收。
例如,触摸屏可以通过Tx通道检测主动笔发送的预同步信号,比如可以将检测到预同步信号的Tx通道所在的区域确定为该目标区域;又例如,主动笔检测到预同步信号并根据预同步信号确定主动笔所在的目标区域后,可以通过目标区域内的Tx通道向主动笔发送上行信号;又例如,在触摸屏和主动笔之间同步后,触摸屏可以通过主动笔的笔尖位置对应的Tx通道和Rx通道分时或者同时向主动笔发送上行信号;又例如,在触摸屏和主动笔之间同步后,触摸屏可以通过Tx通道和Rx通道检测主动笔发送的下行信号,并根据检测到该下行信号的Tx通道和Rx通道确定主动笔的笔尖的二维坐标。
图7示出了没有预同步信号时主动笔和触摸屏之间进行同步的时序图。触摸屏周期性发送上行信号,只有当主动笔检测到该上行信号时才会进入同步状态,并产生压力、电量、笔尖位置、应答信号(Acknowledgement,ACK)等打码信号,以供触摸屏检测主动笔的笔尖位置和压力等信息。
由于全屏发送上行信号会对显示屏造成较大的干扰,且带来较大的功耗,如前所述,可以采用分区轮流发送上行信号的方式。图8示出了触摸屏按照区域轮流发送上行信号的示意图,以3个区域即区域1、区域2和区域3为例,触摸屏从区域1开始,依次在区域1、区域2和区域3循环发送上行信号。假设主动笔在触摸屏的底部书写,主动笔位于触摸屏的底部,那么主动笔需要等到第3个周期才有可能进入同步状态并开始正常书写。假设由于环境噪声等原因导致第3个周期内主动笔和触摸屏之间没有同步成功,那 么主动笔需要再等3个周期才可能再次同步。如此,进笔时间是不确定的,一次同步失败将产生额外3个周期的延时,从而导致用户书写时响应慢,首笔漏响应,严重影响用户体验。
而采用本申请的双向同步机制,例如,图9示出了有预同步信号时主动笔和触摸屏之间进行同步的时序,同步过程中除了采用上行信号,还增加了预同步信号,每个周期内主动笔依旧正常检测上行信号,同时利用空闲时间发射一段下行的预同步信号。如图9所示,主动笔在其周期内需要发送预同步信号、检测上行信号,触摸屏在其周期内需要发送上行信号、检测预同步信号、以及检测手指。如果触摸屏检测到主动笔的预同步信号,将会有针对性地在预同步信号对应的区域发射上行信号,该区域刚好是主动笔所在的大概区域。如此,能够使主动笔尽快接收到上行信号,优化了触摸屏和主动笔之间的同步速度,提高了书写响应的稳定性。主动笔和触摸屏之间同步后,在下一个周期可以不再进行预同步信号的发送和检测;如果没有同步成功,则在下一个周期可以继续进行预同步信号的发送和检测,例如图9所示。
应理解,主动笔在其周期内可以先检测上行信号,再发送预同步信号;也可以先发送预同步信号,再检测上行信号。触摸屏在其周期内可以先检测预同步信号,再发送上行信号;也可以先发送上行信号,再检测预同步信号。图9仅为示例,是以先进行预同步信号的发送和检测,再进行上行信号的发送和检测为例。
图10示出了触摸屏基于主动笔的位置发送上行信号的示意图,仍以图8所示的3个区域即区域1、区域2和区域3为例,在增加了预同步信号后,触摸屏可以根据预同步信号预先判断主动笔所在的大概区域,并直接在主动笔所在的目标区域发送上行信号。以Tx通道为例,如图10的(a),假设主动笔在触摸屏的底部书写,主动笔位于触摸屏底部,那么阴影部分的通道会检测到主动笔的预同步信号,这些检测通道位于3个区域中的区域3;于是,如图10的(b)所示,触摸屏将区域3作为目标区域,并在该目标区域内的通道上发送上行信号,以用于主动笔和触摸屏之间的同步;如图10的(c)和(d)所示,在之后的周期中,触摸屏与主动笔保持同步,主动笔和触摸屏可以不再进行预同步信号的发送和检测,主动笔在书写时,如图10的(c)和(d)所示,触摸屏和主动笔可以仅在笔尖位置附近的几个通道即阴影所在区域的通道上发送上行信号。图10的(c)和(d)所示的区域的面积(或 者说是该区域对应的检测通道的数量),通常可以小于区域1、区域2和区域3中每个区域的面积(或者说是每个区域对应的检测通道的面积)。当然,在干扰较为严重的情况下,区域1、区域2和区域3的面积也无法设置的较大,那么图10的(c)和(d)所示的引用区域的面积也可能等于区域1、区域2和区域3中每个区域的面积。
采用预同步信号进行同步时,通常只需一个周期即可让主动笔接收到正确的上行信号并进入同步状态,即使在干扰环境下主动笔没有成功接收上行信号,那么在接下来的几个周期触摸屏依然会根据预同步信号在笔尖所在的目标区域内继续发送上行信号,以确保主动笔能正确接收上行信号。
在一种实现方式中,方法300还包括:触摸屏在检测到预同步信号之前,不发送上行信号;或者,触摸屏在检测到预同步信号之前,在多个区域轮流发送上行信号。
具体来说,触摸屏在检测到预同步信号之前,可以不发送上行信号,例如,在主动笔靠近触摸屏即进笔之前,触摸屏可以不发送上行信号,仅检测预同步信号,并在检测到预同步信号后才开始发送上行信号,从而最大程度地节省触摸屏的功耗和降低上行信号对显示屏的显示造成的干扰。
触摸屏在检测到主动笔发送的预同步信号之前,也可以在其每个周期内既发送上行信号,也检测下行信号,例如基于USI协议,在多个区域轮流发送上行信号,从而确保协议的兼容性。例如,图11示出了触摸屏在同步成功之前可能执行的操作,如图11所示,在步骤301中,触摸屏周期性地发送上行信号,例如在多个预定区域内轮流发送上行信号;
在步骤302中,触摸屏判断是否检测到预同步信号;
如果触摸屏检测到预同步信号,则执行步骤303,如果触摸屏未检测到预同步信号,则执行步骤304;
在步骤303中,触摸屏在主动笔所在的目标区域发送上行信号;
例如,触摸屏根据预同步信号,在多个预定区域中确定主动笔所在的目标区域,并仅在该目标区域内发送上行信号;
在步骤304中,触摸屏在多个预定区域内轮流发送上行信号。
在一种实现方式中,若触摸屏在预设时长内,没有检测到预同步信号,或者主动笔与触摸屏之间连续N次同步失败,N为预设的大于1的正整数,则触摸屏切换至USI协议原有的同步方式,从而确保协议的兼容性。例如, 若触摸屏在预设时长内没有检测到预同步信号,或者主动笔与触摸屏之间连续N次同步失败,触摸屏切换至在多个区域轮流发送上行信号的同步方式。
在一种实现方式中,若主动笔在预设时长内未检测到上行信号,则主动笔停止发送预同步信号。若主动笔在预设时长内,例如3分钟内,未检测到上行信号,有可能用户近一段时间没有使用主动笔在进行书写,主动笔可以仅检测上行信号,而停止发送预同步信号,从而节省主动笔的功耗。例如,如图12所示的由主动笔执行的操作,在步骤305中,主动笔检测上行信号;
在步骤306中,主动笔判断是否在预设时长内未检测到上行信号;
如果主动笔检测到上行信号,则执行步骤307;如果主动笔在预设时长内未检测到上行信号,则可能用户近一段时间没有使用主动笔在进行书写,主动笔可以切换至USI协议原有的同步方式,不再发送预同步信号,仅检测上行信号,以节省主动笔的功耗;
在步骤307中,主动笔发送预同步信号。
综上所述,本申请实施例通过在同步过程中增加预同步信号,加快了触摸屏和主动笔之间时序同步的速度,比仅采用分区域轮流扫描的方式缩短了2帧的同步时间,通常为32ms。尤其是在有噪声干扰的场景下,本申请的同步方法确保了触摸屏和主动笔之间的稳定同步。
并且,本申请的同步方法解决了在显示屏具有高噪画面、充电器具有干扰、触摸屏外部具有干扰等场景下,上行信号噪声变大,笔端同步容易失败所导致的主动笔不能正常使用的问题。
经过实际验证,在有噪声干扰的环境下,用户用笔多次点击的效果,采用原USI协议时存在50%以上的概率由于同步速度慢导致用户点击操作漏响应。而采用本申请的同步方法后,相同环境下用户点击操作的成功率达到90%以上,只有小于10%的概率漏响应,因此大幅度优化了噪声环境下的用户体验。
此外,本申请的同步方法可以很好地兼容原USI协议的同步机制,不影响已有的基于USI协议的主动笔和触摸屏的交换使用。
如图13所示,本申请还提供了一种主动笔。如图13所示,主动笔100包括:
发射模块110,用于向触摸屏发送预同步信号,所述预同步信号用于确定所述触摸屏上所述主动笔所在的目标区域,以使所述触摸屏在所述目标区 域发送上行信号;
接收模块120,用于检测所述上行信号,并在检测到所述上行信号时,根据所述上行信号,与所述触摸屏之间进行时间同步。
在一种实现方式中,发射模块110还用于:若所述接收模块在预设时长内未检测到所述上行信号,停止发送所述预同步信号。
在一种实现方式中,发射模块110还用于:响应于所述上行信号,向所述触摸屏发送下行信号,所述下行信号用于确定所述主动笔的笔尖位置。
在一种实现方式中,所述预同步信号的信号长度小于所述下行信号的信号长度。
在一种实现方式中,所述预同步信号的频点与所述下行信号的频点不同;和/或,所述预同步信号的编码和所述下行信号的编码不同;和/或,所述预同步信号不进行编码,所述下行信号为编码信号;和/或,所述预同步信号的格式与所述下行信号的格式不同。
在一种实现方式中,所述触摸屏包括用于发送上行信号的多个区域,所述多个区域包括所述目标区域。
应理解,主动笔100的具体细节可以参考前述针对方法300中由主动笔执行的操作的描述,为了简洁,这里不再赘述。
如图14所示,本申请还提供了一种触摸屏。如图14所示,触摸屏200包括:
接收模块210,用于检测主动笔发送的预同步信号;
处理模块220,用于在所述接收模块检测到所述预同步信号时,根据所述预同步信号,确定所述触摸屏上所述主动笔所在的目标区域;
发射模块230,用于在所述触摸屏的多个区域中所述笔尖位置所在的区域,向所述主动笔发送上行信号,所述上行信号用于所述主动笔与所述触摸屏之间进行时间同步。
在一种实现方式中,发射模块230还用于:所述触摸屏包括用于发送上行信号的多个区域,所述多个区域包括所述目标区域。
在一种实现方式中,触摸屏200包括用于发送所述上行信号的多组发射通道,所述多个区域分别为所述多组发射通道所在的区域。
在一种实现方式中,发射模块230还用于:在检测到所述预同步信号之前,不发送所述上行信号;或者,在检测到所述预同步信号之前,在所述多 个区域轮流发送所述上行信号。
在一种实现方式中,接收模块210还用于,接收所述主动笔发送的下行信号,并根据所述下行信号确定所述主动笔的笔尖位置。
在一种实现方式中,所述预同步信号的信号长度小于所述下行信号的信号长度。
在一种实现方式中,所述预同步信号的频点与所述下行信号的频点不同;和/或,所述预同步信号的编码和所述下行信号的编码不同;和/或,所述预同步信号不进行编码,所述下行信号为编码信号;和/或,所述预同步信号的格式与所述下行信号的格式不同。
应理解,触摸屏200的具体细节可以参考前述针对方法300中由触摸屏执行的操作的描述,为了简洁,这里不再赘述。
本申请还提供了一种用于主动笔和触摸屏之间同步的装置,该装置包括处理器和存储器,该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,以执行上述任一实施例中由主动笔执行的步骤,或者执行由触摸屏执行的步骤。
本申请还提供了一种通讯系统,该通讯系统包括上述任一实施例中的主动笔和触摸屏。
本申请实施例中的触摸屏可以是电子设备中的触摸屏,作为示例而非限定,该电子设备可以为终端设备、手机、平板电脑、笔记本电脑、台式机电脑、游戏设备、车载电子设备或穿戴式智能设备等便携式或移动计算设备,以及电子数据库、汽车、银行自动柜员机(Automated Teller Machine,ATM)等其他电子设备。该穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或部分功能的设备,例如智能手表或智能眼镜等,以及包括只专注于某一类应用功能并且需要和其它设备如智能手机配合使用的设备,例如各类进行体征监测的智能手环、智能首饰等设备。
需要说明的是,在不冲突的前提下,本申请描述的各个实施例和/或各个实施例中的技术特征可以任意的相互组合,组合之后得到的技术方案也应落入本申请的保护范围。
本申请实施例中所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的方法实施例的一些特征可以忽略或者不执行。以上所描述的装置实施例仅仅是示意性的,单元的划分仅仅为一种逻辑功能划分,实 际实现时可以有另外的划分方式,多个单元或组件可以结合或者可以集成到另一个系统。另外,各单元之间的耦合或各个组件之间的耦合可以是直接耦合,也可以是间接耦合,上述耦合包括电的、机械的或其它形式的连接。
本领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的装置和设备的具体工作过程以及产生的技术效果,可以参考前述方法实施例中对应的过程和技术效果,在此不再赘述。
应理解,本申请实施例中的具体的例子只是为了帮助本领域技术人员更好地理解本申请实施例,而非限制本申请实施例的范围,本领域技术人员可以在上述实施例的基础上进行各种改进和变形,而这些改进或者变形均落在本申请的保护范围内。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (27)

  1. 一种用于主动笔和触摸屏之间同步的方法,其特征在于,所述方法由主动笔执行,所述方法包括:
    向触摸屏发送预同步信号,所述预同步信号用于确定所述触摸屏上所述主动笔所在的目标区域,以使所述触摸屏在所述目标区域发送上行信号;
    检测所述上行信号;
    若检测到所述上行信号,根据所述上行信号,与所述触摸屏之间进行时间同步。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    若在预设时长内未检测到所述上行信号,停止发送所述预同步信号。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:
    响应于所述上行信号,向所述触摸屏发送下行信号,所述下行信号用于确定所述主动笔的笔尖位置。
  4. 根据权利要求3所述的方法,其特征在于,所述预同步信号的信号长度小于所述下行信号的信号长度。
  5. 根据权利要求3或4所述的方法,其特征在于,所述预同步信号的频点与所述下行信号的频点不同;和/或,所述预同步信号的编码和所述下行信号的编码不同;和/或,所述预同步信号不进行编码,所述下行信号为编码信号;和/或,所述预同步信号的格式与所述下行信号的格式不同。
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述触摸屏包括用于发送上行信号的多个区域,所述多个区域包括所述目标区域。
  7. 一种用于主动笔和触摸屏之间同步的方法,其特征在于,所述方法由触摸屏执行,所述方法包括:
    检测主动笔发送的预同步信号;
    若检测到所述预同步信号,根据所述预同步信号,确定所述触摸屏上所述主动笔所在的目标区域;
    在所述目标区域向所述主动笔发送上行信号,所述上行信号用于所述主动笔与所述触摸屏之间进行时间同步。
  8. 根据权利要求7所述的方法,其特征在于,所述触摸屏包括用于发送上行信号的多个区域,所述多个区域包括所述目标区域。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    若在预设时长内没有检测到所述预同步信号,或者所述主动笔与所述触摸屏之间连续N次同步失败,在所述多个区域轮流发送所述上行信号,N为预设的大于1的正整数。
  10. 根据权利要求8或9所述的方法,其特征在于,所述方法还包括:
    在检测到所述预同步信号之前,不发送所述上行信号;或者,
    在检测到所述预同步信号之前,在所述多个区域轮流发送所述上行信号。
  11. 根据权利要求7至10中任一项所述的方法,其特征在于,所述方法还包括:
    接收所述主动笔发送的下行信号,并根据所述下行信号确定所述主动笔的笔尖位置。
  12. 根据权利要求11所述的方法,其特征在于,所述预同步信号的信号长度小于所述下行信号的信号长度。
  13. 根据权利要求11或12所述的方法,其特征在于,所述预同步信号的频点与所述下行信号的频点不同;和/或,所述预同步信号的编码和所述下行信号的编码不同;和/或,所述预同步信号不进行编码,所述下行信号为编码信号;和/或,所述预同步信号的格式与所述下行信号的格式不同。
  14. 一种主动笔,其特征在于,所述主动笔包括:
    发射模块,用于向触摸屏发送预同步信号,所述预同步信号用于确定所述触摸屏上所述主动笔所在的目标区域,以使所述触摸屏在所述目标区域发送上行信号;
    接收模块,用于检测所述上行信号,并在检测到所述上行信号时,根据所述上行信号,与所述触摸屏之间进行时间同步。
  15. 根据权利要求14所述的主动笔,其特征在于,所述发射模块还用于:
    若所述接收模块在预设时长内未检测到所述上行信号,停止发送所述预同步信号。
  16. 根据权利要求14或15所述的主动笔,其特征在于,所述发射模块还用于:
    响应于所述上行信号,向所述触摸屏发送下行信号,所述下行信号用于确定所述主动笔的笔尖位置。
  17. 根据权利要求16所述的主动笔,其特征在于,所述预同步信号的信号长度小于所述下行信号的信号长度。
  18. 根据权利要求16或17所述的主动笔,其特征在于,所述预同步信号的频点与所述下行信号的频点不同;和/或,所述预同步信号的编码和所述下行信号的编码不同;和/或,所述预同步信号不进行编码,所述下行信号为编码信号;和/或,所述预同步信号的格式与所述下行信号的格式不同。
  19. 根据权利要求14至18中任一项所述的主动笔,其特征在于,所述触摸屏包括用于发送上行信号的多个区域,所述多个区域包括所述目标区域。
  20. 一种触摸屏,其特征在于,所述触摸屏包括:
    接收模块,用于检测主动笔发送的预同步信号;
    处理模块,用于在所述接收模块检测到所述预同步信号时,根据所述预同步信号,确定所述触摸屏上所述主动笔所在的目标区域;
    发射模块,用于在所述目标区域向所述主动笔发送上行信号,所述上行信号用于所述主动笔与所述触摸屏之间进行时间同步。
  21. 根据权利要求20所述的触摸屏,其特征在于,所述触摸屏包括用于发送上行信号的多个区域,所述多个区域包括所述目标区域。
  22. 根据权利要求21所述的触摸屏,其特征在于,所述发射模块还用于:
    若所述接收模块在预设时长内没有检测到所述预同步信号,或者所述主动笔与所述触摸屏之间连续N次同步失败,在所述多个区域轮流发送所述上行信号,N为预设的大于1的正整数。
  23. 根据权利要求21或22所述的触摸屏,其特征在于,所述发射模块还用于:
    在检测到所述预同步信号之前,不发送所述上行信号;或者,
    在检测到所述预同步信号之前,在所述多个区域轮流发送所述上行信号。
  24. 根据权利要求20至23中任一项所述的触摸屏,其特征在于,所述接收模块还用于,接收所述主动笔发送的下行信号,并根据所述下行信号确定所述主动笔的笔尖位置。
  25. 根据权利要求24所述的触摸屏,其特征在于,所述预同步信号的 信号长度小于所述下行信号的信号长度。
  26. 根据权利要求24或25所述的触摸屏,其特征在于,所述预同步信号的频点与所述下行信号的频点不同;和/或,所述预同步信号的编码和所述下行信号的编码不同;和/或,所述预同步信号不进行编码,所述下行信号为编码信号;和/或,所述预同步信号的格式与所述下行信号的格式不同。
  27. 一种用于主动笔和触摸屏之间同步的装置,其特征在于,所述装置包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以执行权利要求1至6中任一项所述的方法,或者执行权利要求7至13中任一项所述的方法。
PCT/CN2022/128759 2022-10-31 2022-10-31 用于主动笔和触摸屏之间同步的方法、主动笔和触摸屏 WO2024092449A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/128759 WO2024092449A1 (zh) 2022-10-31 2022-10-31 用于主动笔和触摸屏之间同步的方法、主动笔和触摸屏

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/128759 WO2024092449A1 (zh) 2022-10-31 2022-10-31 用于主动笔和触摸屏之间同步的方法、主动笔和触摸屏

Publications (1)

Publication Number Publication Date
WO2024092449A1 true WO2024092449A1 (zh) 2024-05-10

Family

ID=90929320

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/128759 WO2024092449A1 (zh) 2022-10-31 2022-10-31 用于主动笔和触摸屏之间同步的方法、主动笔和触摸屏

Country Status (1)

Country Link
WO (1) WO2024092449A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160239123A1 (en) * 2013-10-14 2016-08-18 Shenzhen Huiding Technology Co.,Ltd. Touch Terminal, Active Stylus Detection Method, and System
CN109074200A (zh) * 2017-03-07 2018-12-21 深圳市汇顶科技股份有限公司 触控芯片、电容式触摸屏、电容式主动笔及电容式触摸屏与电容式主动笔的双向通信方法
CN110832447A (zh) * 2019-09-30 2020-02-21 深圳市汇顶科技股份有限公司 信号发射与接收方法、处理器芯片、主动笔、触摸屏
CN112905047A (zh) * 2021-02-08 2021-06-04 深圳市汇顶科技股份有限公司 抗干扰的方法、触控芯片及主动笔芯片
CN113646768A (zh) * 2020-03-10 2021-11-12 深圳市汇顶科技股份有限公司 无线通信的方法、主动笔、触摸屏、电子设备和通信系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160239123A1 (en) * 2013-10-14 2016-08-18 Shenzhen Huiding Technology Co.,Ltd. Touch Terminal, Active Stylus Detection Method, and System
CN109074200A (zh) * 2017-03-07 2018-12-21 深圳市汇顶科技股份有限公司 触控芯片、电容式触摸屏、电容式主动笔及电容式触摸屏与电容式主动笔的双向通信方法
CN110832447A (zh) * 2019-09-30 2020-02-21 深圳市汇顶科技股份有限公司 信号发射与接收方法、处理器芯片、主动笔、触摸屏
CN113646768A (zh) * 2020-03-10 2021-11-12 深圳市汇顶科技股份有限公司 无线通信的方法、主动笔、触摸屏、电子设备和通信系统
CN112905047A (zh) * 2021-02-08 2021-06-04 深圳市汇顶科技股份有限公司 抗干扰的方法、触控芯片及主动笔芯片

Similar Documents

Publication Publication Date Title
CN109521893B (zh) 触控笔、触控面板、触控感测系统及其控制方法
US20220308687A1 (en) Stylus and controller
US9848026B2 (en) Simultaneous wireless connections with improved efficiency
US9459727B2 (en) Synchronization of sensor modules on a computing device
CN111124158A (zh) 一种信息输入设备、终端及其控制方法、芯片
US10921942B2 (en) Touch system, its touch device and input device, and its signal transmission method
CN108958518B (zh) 触控系统及其控制方法
TW201602846A (zh) 觸控筆、觸控偵測之同步系統以及觸控偵測之同步方法
CN112905047A (zh) 抗干扰的方法、触控芯片及主动笔芯片
US10503318B2 (en) Touch sensitive processing apparatus and system for despreading and method thereof
US20220043553A1 (en) Signal driving method, signal driving apparatus, stylus and signal driving system
CN111638814B (zh) 同步方法、无线通信芯片、触控芯片和打码芯片
US20240036676A1 (en) Touch driving circuit, touch display device, and touch driving method thereof
WO2024092449A1 (zh) 用于主动笔和触摸屏之间同步的方法、主动笔和触摸屏
US20230161425A1 (en) Synchronization method, wireless communication chip, synchronization device, electronic device and active pen
WO2021218842A1 (zh) 下行接收触发方法、终端和网络侧设备
CN115686266A (zh) 用于主动笔和触摸屏之间同步的方法、主动笔和触摸屏
US11822745B2 (en) Driving method of active stylus and related driving device
US20220326805A1 (en) Synchronization Method and Controller Thereof
US11487384B1 (en) Touch device and communication method thereof
EP4009709A1 (en) Energy-saving downlink control channel transmission method, terminal and network-side device
WO2022165839A1 (zh) 抗干扰的方法、触控芯片及主动笔芯片
US11474636B2 (en) Synchronization method, wireless communication chip, touch control chip, and driving chip
CN106933408B (zh) 触控方法、触控处理系统与电子装置
CN115525175B (zh) 数据发送方法、触控笔以及存储介质