WO2021243573A1 - 同步方法、无线通信芯片、触控芯片和打码芯片 - Google Patents
同步方法、无线通信芯片、触控芯片和打码芯片 Download PDFInfo
- Publication number
- WO2021243573A1 WO2021243573A1 PCT/CN2020/093982 CN2020093982W WO2021243573A1 WO 2021243573 A1 WO2021243573 A1 WO 2021243573A1 CN 2020093982 W CN2020093982 W CN 2020093982W WO 2021243573 A1 WO2021243573 A1 WO 2021243573A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- wireless communication
- chip
- communication chip
- signal
- coding
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/04162—Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
- 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
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/041—Indexing scheme relating to G06F3/041 - G06F3/045
- G06F2203/04114—Touch screens adapted for alternating or simultaneous interaction with active pens and passive pointing devices like fingers or passive pens
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
- G06F3/0442—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 transmitting changes in electrical potential to be received by the digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
- G06F3/0446—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means using a grid-like structure of electrodes in at least two directions, e.g. using row and column electrodes
Definitions
- the embodiments of the present application relate to the field of information technology, and more specifically, to a synchronization method, a wireless communication chip, a touch chip, and a coding chip.
- the embodiment of the present application provides a synchronization method, a wireless communication chip, a touch chip, and a coding chip, which can effectively realize the synchronization between the touch screen and the active pen.
- a synchronization method for synchronization between a touch screen of an electronic device and an active pen.
- the method includes:
- the first wireless communication chip of the electronic device sends a synchronization signal to the second wireless communication chip of the active pen, and at the same time a first instruction signal is sent to the touch chip of the touch screen;
- the first indication signal is used to instruct the touch chip to detect the coding signal transmitted by the active pen after a first preset time period from receiving the first indication signal, and the second wireless communication While receiving the synchronization signal, the chip is also used to send a second indication signal to the coding chip of the active pen, and the second indication signal is used to indicate that the coding chip is receiving the second indication
- the coding signal is transmitted after a second preset duration from the signal.
- the second preset duration is less than the first preset duration and is between the second preset duration and the first preset duration The difference is within the preset range.
- the difference between the second preset duration and the first preset duration is based on the wireless communication between the first wireless communication chip and the second wireless communication chip.
- the transmission delay is determined.
- the preset range is 100 microseconds to 200 microseconds.
- the method further includes: the first wireless communication chip receiving a response message for the synchronization signal sent by the second wireless communication chip.
- the first wireless communication chip and the touch control chip are connected by pins
- the first wireless communication chip sending a first instruction signal to the touch control chip of the touch screen includes: The first wireless communication chip outputs the first indication signal to the corresponding pins of the touch control chip through the pins of the first wireless communication chip.
- the synchronization signal is sent periodically.
- the first wireless communication chip and the second wireless communication chip are Bluetooth Low Energy (BLE) chips.
- a synchronization method for synchronization between a touch screen of an electronic device and an active pen. The method includes:
- the touch chip of the touch screen receives the first instruction signal sent by the first wireless communication chip of the electronic device, and the first instruction signal is that the first wireless communication chip is in the second wireless communication with the active pen.
- the chip sends the synchronization signal at the same time;
- the touch control chip detects the coding signal emitted by the active pen after a first preset period of time after receiving the first indication signal;
- the second wireless communication chip when the second wireless communication chip receives the synchronization signal, it is also used to send a second instruction signal to the coding chip of the active pen, and the second instruction signal is used to instruct the coding chip
- the coding signal is transmitted after a second preset duration after receiving the second instruction signal, where the second preset duration is less than the first preset duration and the second preset duration is equal to the The difference between the first preset duration is within the preset range.
- the difference between the second preset duration and the first preset duration is based on the wireless communication between the first wireless communication chip and the second wireless communication chip.
- the transmission delay is determined.
- the preset range is 100 microseconds to 200 microseconds.
- the first wireless communication chip is connected to the touch control chip through pins, and the touch control chip of the touch screen receives the first instruction sent by the first wireless communication chip of the electronic device
- the signal includes: the touch-control chip receives the first instruction signal output by the corresponding pin of the first wireless communication chip through the pin of the touch-control chip.
- the synchronization signal is sent periodically.
- the first wireless communication chip and the second wireless communication chip are BLE chips.
- a synchronization method for synchronization between a touch screen of an electronic device and an active pen. The method includes:
- the second wireless communication chip of the active pen receives the synchronization signal sent by the first wireless communication chip of the electronic device, and while receiving the synchronization signal, sends a second instruction to the coding chip of the active pen Signal;
- the second indication signal is used to instruct the coding chip to transmit the coding signal after a second preset time period from receiving the second indication signal
- the first wireless communication chip is sending the synchronization
- the signal is also used to send a first instruction signal to the touch chip of the touch screen, and the first instruction signal is used to instruct the touch chip to have a first preset duration after receiving the first instruction signal
- the second preset duration is less than the first preset duration and the difference between the second preset duration and the first preset duration is within a preset range.
- the difference between the second preset duration and the first preset duration is based on the wireless communication between the first wireless communication chip and the second wireless communication chip.
- the transmission delay is determined.
- the preset range is 100 microseconds to 200 microseconds.
- the method further includes: when the second wireless communication chip sends the second indication signal to the coding chip, at the same time sending the target signal to the first wireless communication chip The response message of the synchronization signal.
- the second wireless communication chip is connected to the coding chip through pins, and the second wireless communication chip sends a second instruction signal to the coding chip of the active pen, including :
- the second wireless communication chip outputs the second instruction signal to the corresponding pin of the coding chip through the pin of the second wireless communication chip.
- the synchronization signal is sent periodically.
- the first wireless communication chip and the second wireless communication chip are BLE chips.
- a synchronization method for synchronization between a touch screen of an electronic device and an active pen. The method includes:
- the coding chip of the active pen receives a second instruction signal sent by the second wireless communication chip of the active pen, and the second instruction signal is that the second wireless communication chip receives the first wireless communication of the electronic device
- the synchronization signal sent by the chip is sent at the same time;
- the coding chip transmits a coding signal after a second preset period of time after receiving the second instruction signal
- the first wireless communication chip when it sends the synchronization signal, it is also used to send a first instruction signal to the touch chip of the touch screen, and the first instruction signal is used to indicate that the touch chip is receiving
- the coding signal is detected after the first preset duration from the first indication signal, the second preset duration is less than the first preset duration and the second preset duration is equal to the first preset duration. The difference between the preset durations is within the preset range.
- the difference between the second preset duration and the first preset duration is based on the wireless communication between the first wireless communication chip and the second wireless communication chip.
- the transmission delay is determined.
- the preset range is 100 microseconds to 200 microseconds.
- the second wireless communication chip is connected to the coding chip through pins, and the coding chip of the active pen receives the second wireless communication chip sent by the second wireless communication chip of the active pen.
- the indication signal includes: the coding chip receives the second indication signal output by the corresponding pin of the second wireless communication chip through the pin of the coding chip.
- the synchronization signal is sent periodically.
- the first wireless communication chip and the second wireless communication chip are BLE chips.
- a wireless communication chip is provided, the wireless communication chip is a first wireless communication chip, and the first wireless communication chip is disposed in an electronic device and used between the touch screen of the electronic device and the active pen For synchronization, the first wireless communication chip includes:
- a processing module for generating a synchronization signal and a first indication signal
- a sending module configured to send the synchronization signal to the second wireless communication chip of the active pen, and at the same time send the first instruction signal to the touch chip of the touch screen;
- the first indication signal is used to instruct the touch chip to detect the coding signal transmitted by the active pen after a first preset time period from receiving the first indication signal, and the second wireless communication While receiving the synchronization signal, the chip is also used to send a second indication signal to the coding chip of the active pen, and the second indication signal is used to indicate that the coding chip is receiving the second indication
- the coding signal is transmitted after a second preset duration from the signal.
- the second preset duration is less than the first preset duration and is between the second preset duration and the first preset duration The difference is within the preset range.
- the difference between the second preset duration and the first preset duration is based on the wireless communication between the first wireless communication chip and the second wireless communication chip.
- the transmission delay is determined.
- the preset range is 100 microseconds to 200 microseconds.
- the chip further includes: a receiving module, configured to receive a response message for the synchronization signal sent by the second wireless communication chip.
- the sending module is specifically configured to output the first indication signal to a corresponding pin of the touch control chip through a pin of the first wireless communication chip.
- the synchronization signal is sent periodically.
- the first wireless communication chip and the second wireless communication chip are BLE chips.
- a touch control chip which is provided in an electronic device and is used for synchronization between a touch screen of the electronic device and an active pen.
- the touch control chip includes:
- the receiving module is configured to receive a first indication signal sent by the first wireless communication chip of the electronic device, where the first indication signal is that the first wireless communication chip is sending to the second wireless communication chip of the active pen Simultaneous transmission of the synchronization signal;
- the detection module is configured to detect the coding signal emitted by the active pen after the first preset period of time since the receiving module receives the first indication signal;
- the second wireless communication chip when the second wireless communication chip receives the synchronization signal, it is also used to send a second instruction signal to the coding chip of the active pen, and the second instruction signal is used to instruct the coding chip
- the coding signal is transmitted after a second preset duration after receiving the second instruction signal, where the second preset duration is less than the first preset duration and the second preset duration is equal to the The difference between the first preset duration is within the preset range.
- the difference between the second preset duration and the first preset duration is based on the wireless communication between the first wireless communication chip and the second wireless communication chip.
- the transmission delay is determined.
- the preset range is 100 microseconds to 200 microseconds.
- the receiving module is specifically configured to receive the first indication signal output by the corresponding pin of the first wireless communication chip through the pin of the touch chip.
- the synchronization signal is sent periodically.
- the first wireless communication chip and the second wireless communication chip are BLE chips.
- a wireless communication chip is provided, the wireless communication chip is a second wireless communication chip, the second wireless communication chip is set in an active pen, and is used between the touch screen of an electronic device and the active pen For synchronization, the second wireless communication chip includes:
- a receiving module configured to receive a synchronization signal sent by the first wireless communication chip of the electronic device
- a sending module configured to send a second instruction signal to the coding chip of the active pen at the same time when the receiving module receives the synchronization signal;
- the second indication signal is used to instruct the coding chip to transmit the coding signal after a second preset time period from receiving the second indication signal
- the first wireless communication chip is sending the synchronization
- the signal is also used to send a first instruction signal to the touch chip of the touch screen, and the first instruction signal is used to instruct the touch chip to have a first preset duration after receiving the first instruction signal
- the second preset duration is less than the first preset duration and the difference between the second preset duration and the first preset duration is within a preset range.
- the difference between the second preset duration and the first preset duration is based on the wireless communication between the first wireless communication chip and the second wireless communication chip.
- the transmission delay is determined.
- the preset range is 100 microseconds to 200 microseconds.
- the method further includes: when the second wireless communication chip sends the second indication signal to the coding chip, at the same time sending the target signal to the first wireless communication chip The response message of the synchronization signal.
- the sending module is specifically configured to output the second indication signal to a corresponding pin of the coding chip through a pin of the second wireless communication chip.
- the synchronization signal is sent periodically.
- the first wireless communication chip and the second wireless communication chip are BLE chips.
- a coding chip which is set in an active pen and is used for synchronization between a touch screen of an electronic device and the active pen, and the coding chip includes:
- the receiving module is configured to receive a second instruction signal sent by the second wireless communication chip of the active pen, where the second instruction signal is a synchronization signal sent by the first wireless communication chip after the second wireless communication chip receives Sent at the same time as the signal;
- a coding module configured to transmit a coding signal after a second preset period of time after receiving the second indication signal
- the first wireless communication chip when it sends the synchronization signal, it is also used to send a first instruction signal to the touch chip of the touch screen, and the first instruction signal is used to indicate that the touch chip is receiving
- the coding signal is detected after the first preset duration from the first indication signal, the second preset duration is less than the first preset duration and the second preset duration is equal to the first preset duration. The difference between the preset durations is within the preset range.
- the difference between the second preset duration and the first preset duration is based on the wireless communication between the first wireless communication chip and the second wireless communication chip.
- the transmission delay is determined.
- the preset range is 100 microseconds to 200 microseconds.
- the receiving module is specifically configured to receive the second indication signal output by the corresponding pin of the second wireless communication chip through the pin of the coding chip.
- the synchronization signal is sent periodically.
- the first wireless communication chip and the second wireless communication chip are BLE chips.
- an electronic device including: the wireless communication chip in the foregoing fifth aspect or any possible implementation manner of the fifth aspect; and, the foregoing sixth aspect or any possible implementation manner of the sixth aspect Touch chip.
- an active pen including: the wireless communication chip in the foregoing seventh aspect or any possible implementation of the seventh aspect; and, the foregoing eighth aspect or any possible implementation of the eighth aspect The coding chip.
- the above technical solution uses the first wireless communication chip of the electronic device and the second wireless communication chip of the active pen to realize synchronization between the touch screen and the active pen. While the first wireless communication chip of the electronic device sends a synchronization signal to the second wireless communication chip of the active pen, the first wireless communication chip also sends a first instruction signal to the touch chip of the touch screen for instructing the touch chip in the second wireless communication chip. After a preset period of time, the coding signal transmitted by the active pen is detected. When receiving the synchronization signal, the second wireless communication chip of the active pen sends a second instruction signal to the coding chip of the active pen for instructing the coding chip to transmit the coding signal after a second preset time period.
- the second preset duration is less than the first preset duration, and the difference between the second preset duration and the first preset duration is substantially constant.
- the touch screen is just detecting the coding signal, so that synchronization between the touch screen and the active pen is realized. Since the wireless communication chip is used to realize the synchronization between the touch screen and the active pen, the time delay caused by the synchronization mode of the touch screen blindly checking the code signal is avoided, and the synchronization can be started when the active pen starts working, so The response speed of the first stroke of the active pen is increased, and the user experience is improved.
- Figure 1 is a schematic diagram of the principle of the active pen used on the touch screen.
- Figure 2 is a schematic diagram of synchronization between the touch screen and the active pen.
- Fig. 3 is a flow interaction diagram of the synchronization method according to an embodiment of the present application.
- FIG. 4 is a schematic diagram of signal timing of the synchronization method according to an embodiment of the present application.
- FIG. 5 is a schematic diagram of a possible implementation manner of the touch chip of the embodiment of the present application.
- FIG. 6 is a schematic diagram of a possible implementation manner of the coding chip in an embodiment of the present application.
- FIG. 7 is a schematic block diagram of a first wireless communication chip according to an embodiment of the present application.
- FIG. 8 is a schematic block diagram of a touch chip according to an embodiment of the present application.
- FIG. 9 is a schematic block diagram of a second wireless communication chip according to an embodiment of the present application.
- Fig. 10 is a schematic block diagram of a coding chip according to an embodiment of the present application.
- the screen end When the active pen is actually used, the screen end needs to obtain the nib coordinates of the active pen, and the screen end displays the handwriting of the active pen according to the nib coordinates.
- a certain number of horizontal and vertical detection electrodes are distributed on the touch screen 200.
- the coding signal output by the tip electrode of the active pen 100 acts on a certain position of the touch screen 200, and the position corresponds to the horizontal direction.
- Both the detection electrodes and the vertical detection electrodes generate corresponding detection signals, so that the two-dimensional position coordinates of the active pen 100 on the touch screen 200 can be calculated according to the detection signals.
- the coding signal can also be called a drive signal, an excitation signal, etc., and is an electrical signal emitted by the tip electrode of the active pen for determining the position of the tip of the active pen.
- the active pen and the touch screen are two independent systems.
- the touch screen does not know when the user will use the active pen to write on the touch screen, and it is impossible to predict when to start detecting the coding signal emitted by the active pen. Therefore, the active pen must first achieve timing synchronization with the touch screen, and it needs to be synchronized for a long time when writing, so that the touch screen can stably and correctly detect the coding signal emitted by the active pen, usually the synchronization error needs to be less than 50us.
- the touch screen needs to periodically detect the coding signals emitted by the active pen , If the touch screen detects the coding signal emitted by the active pen in a certain signal sampling, it will start to adjust the detection period to synchronize the timing. For example, as shown in Figure 2, when the period of the touch screen detecting the coding signal is aligned with the period of the active pen transmitting the coding signal, the signal detection window of the touch screen and the coding window of the active pen are consistent in time sequence, indicating that the touch screen and the active pen Synchronization is achieved between the pens.
- MPP Microsoft Pen Protocol
- USB Universal Stylus Initiative
- the synchronization process between the touch screen and the active pen generally requires one or two cycles, and one cycle can usually be about 16 ms. Therefore, this synchronization method introduces a certain time delay.
- the height requirement of the active pen detected by the touch screen is generally only 5 mm to 10 mm, that is to say, the nib of the active pen is already very close to the surface of the touch screen to start synchronization. Therefore, the synchronization process causes a time delay, which results in a slower response to the first writing of the active pen, which seriously affects the user's writing experience.
- the present application provides a synchronization method, which can effectively realize the synchronization between the active pen and the touch screen, greatly reduces the time delay caused by the synchronization process, and improves the user experience.
- Fig. 3 is a flow interaction diagram of the synchronization method according to an embodiment of the present application.
- the method 300 described in FIG. 3 is used for the synchronization between the touch screen of the electronic device and the active pen.
- the method 300 may consist of the first wireless communication chip of the electronic device, the touch chip corresponding to the touch screen, and the second wireless communication chip of the active pen. , And the code chip execution of the active pen.
- the method 300 includes some or all of the following steps.
- the first wireless communication chip sends a synchronization signal to the second wireless communication chip, and simultaneously sends a first instruction signal to the touch chip of the touch screen.
- the touch control chip receives the first instruction signal sent by the first wireless communication chip.
- the touch chip detects the coding signal transmitted by the active pen after a first preset period of time after receiving the first indication signal.
- the second wireless communication chip receives the synchronization signal sent by the first wireless communication chip, and while receiving the synchronization signal, sends a second instruction signal to the coding chip.
- the coding chip receives the second indication signal sent by the second wireless communication chip.
- the coding chip transmits the coding signal after a second preset period of time after receiving the second indication signal.
- the embodiment of the present application utilizes wireless communication between the first wireless communication chip of the electronic device and the second wireless communication chip of the active pen to realize synchronization between the touch screen and the active pen.
- the first wireless communication chip of the electronic device sends a synchronization signal to the second wireless communication chip of the active pen
- the first wireless communication chip also sends a first instruction signal to the touch chip of the touch screen for instructing touch
- the control chip detects the coding signal emitted by the active pen after the first preset time period.
- the second wireless communication chip of the active pen when the second wireless communication chip of the active pen receives the synchronization signal, it sends a second indication signal to the coding chip of the active pen for instructing the coding chip to transmit the coding signal after the second preset time period.
- the active pen transmits the coding signal while the touch screen is detecting the coding signal, so that synchronization between the touch screen and the active pen is achieved. Because the wireless communication chip is used to realize the synchronization between the touch screen and the active pen, the time delay caused by the synchronization mode of the touch screen blindly checking the code signal is avoided, and the synchronization can be performed when the active pen starts to work, so increase The response speed of the first stroke of the active pen is improved, and the user experience is improved.
- the second preset duration is less than the first preset duration, and the difference between the second preset duration and the first preset duration is substantially constant.
- the difference between the second preset duration and the first preset duration may be determined based on the wireless transmission delay between the first wireless communication chip and the second wireless communication chip, for example.
- the difference between the second preset duration and the first preset duration may be, for example, within a preset range, for example, between 100 us and 200 us.
- the method 300 may further include 370 and 380 to ensure the reliability of signal transmission.
- the second wireless communication chip sends a response message for the synchronization signal to the first wireless communication chip while sending the second instruction signal to the coding chip.
- the first wireless communication chip receives the response message sent by the second wireless communication chip.
- the synchronization signal is sent periodically.
- the first wireless communication chip, the second wireless communication chip, the coding chip, and the touch control chip may periodically perform the respective corresponding operations in the foregoing method 300.
- the transmission period of the synchronization signal may be 16.25 ms, for example.
- the coding cycle of the active pen and the detection cycle of the touch screen are continuously and automatically fine-tuned based on the synchronization signal, and are always synchronized.
- the first wireless communication chip of the electronic device periodically sends a synchronization signal. Each time the first wireless communication chip sends a synchronization signal, it sends a first instruction signal to the touch chip corresponding to the touch screen, and the touch chip receives the first instruction signal at times T0, T1, T2, T3, T4, and T5 , And start to detect the coding signal emitted by the active pen after ⁇ T duration from time T0, T1, T2, T3, T4 and T5.
- the second wireless communication chip Each time the second wireless communication chip receives the synchronization signal sent by the first wireless communication chip, it sends a second indication signal to the coding chip of the active pen.
- the coding chip receives the second indication signal at times t0, t1, t2, t3, t4, and t5, and starts to transmit the coding signal after ⁇ t from t0, t1, t2, t3, t4, and t5.
- Due to the wireless transmission delay between the first wireless communication chip and the second wireless communication chip t0, t1, t2, t3, t4, and t5 are slightly later than T0, T1, T2, T3, T4, and T5, respectively, namely ⁇ t ⁇ T.
- the difference between ⁇ T and ⁇ t is related to the first wireless communication chip and the second wireless communication chip itself. Usually, the difference between ⁇ T and ⁇ t can be controlled to be basically unchanged.
- the touch screen and the active pen start with the synchronization signal
- the active pen starts to transmit the coding signal after ⁇ t
- the touch screen starts to detect the coding signal after ⁇ T, so as to ensure the synchronization between the touch screen and the active pen.
- the synchronization error can be within 30 us, which meets the signal detection requirements between the touch screen and the active pen.
- wireless communication can be used for synchronization.
- the active pen and the touch screen can be synchronized in advance when the distance is long.
- the communication distance of BLE is generally greater than 5 meters.
- the active pen and the touch screen can be automatically adjusted for a long time to always keep in sync. Since the timing has been synchronized in advance, whenever the active pen is used for writing, the touch screen can detect the coding signal emitted by the active pen for the first time, which solves the problems of slow synchronization process and short synchronization distance in the existing synchronization methods , which greatly improves the response speed of active pen writing.
- Figures 5 and 6 respectively show a possible implementation of the touch chip and the coding chip.
- the touch chip can perform the following steps:
- the touch control chip determines whether a first indication signal is received.
- the touch chip starts a timer.
- the timing duration of the timer is the first preset duration, that is, ⁇ T as shown in FIG. 4.
- the touch control chip starts the timer at the moment when the first indication signal is received, so as to determine whether the ⁇ T is reached through the timer.
- the touch chip determines whether the ⁇ T period has elapsed.
- the touch chip detects the coding signal.
- the touch chip can obtain the coding signal emitted by the active pen through the horizontal or vertical detection electrodes in the touch screen.
- the touch chip can periodically perform the above process to keep synchronization with the active pen for a long time.
- the coding chip can perform the following steps:
- the coding chip determines whether a second indication signal is received.
- the coding chip starts a timer.
- the timing duration of the timer is the second preset duration, that is, ⁇ t as shown in FIG. 4.
- the coding chip starts the timer at the moment when the second indication signal is received, so as to determine whether ⁇ t is reached through the timer.
- the coding chip judges whether ⁇ t has passed.
- the coding chip transmits a coding signal.
- the coding chip can periodically perform the above process to keep synchronization with the touch screen for a long time.
- the first wireless communication chip sending the first instruction signal to the touch chip may output the first instruction signal to the corresponding pin of the touch chip through the pin of the first wireless communication chip.
- the first wireless communication chip and the touch chip are connected by pins, and each time the first wireless communication chip sends a synchronization signal to the second wireless communication chip, a signal is immediately flipped through the pins to notify the touch chip.
- the second wireless communication chip sending the second instruction signal to the coding chip may be by outputting the second instruction signal to the corresponding pin of the coding chip through the pin of the second wireless communication chip.
- the first communication chip should output the first indication signal to the touch chip at the first time at the bottom of the chip. So that the first indication signal is not affected by the response delay of the operating system.
- the first communication chip may output the first indication signal at the first time during the interrupt processing process at the bottom of the chip.
- the second wireless communication chip receives the synchronization signal, it should also output the second indication signal to the coding chip at the first time at the bottom of the chip, so that the second indication signal is not affected by the response delay of the operating system.
- the first wireless communication chip and the second wireless communication chip may be, for example, a BLE chip, a WIFI chip, and so on.
- the BLE chip can usually be set in the active pen to perform two-way communication with the BLE chip in the electronic device, thereby achieving synchronization.
- the first wireless communication chip may continuously send a synchronization signal.
- the first wireless communication chip may also start sending the synchronization signal when it is determined that the user is ready to use the active pen.
- the active pen can be fixed on the touch screen through a connecting piece, and a switch circuit can be provided in the connecting piece.
- the switch circuit can output an indication signal indicating that the active pen is inserted, and when the active pen leaves When the screen is touched, the switch circuit can output an indication signal indicating that the active pen is pulled out.
- the first wireless communication chip can start to send a synchronization signal when the active pen is pulled out, because the user is likely to be ready to use the active pen when the active pen is pulled out, so synchronization needs to be performed in advance.
- the synchronization process described above is that the first wireless communication chip sends a synchronization signal to the second wireless communication chip for synchronization between the touch screen and the active pen.
- the second wireless communication chip may also send a synchronization signal to the first wireless communication chip for synchronization between the touch screen and the active pen.
- the second wireless communication chip sends a synchronization signal to the first wireless communication chip, it also transmits a second indication signal to the coding chip to instruct the coding chip to transmit the coding signal after ⁇ T.
- the first wireless communication chip is in When the synchronization signal is received, the first indication signal is sent to the touch chip to instruct the touch chip to detect the coding signal after ⁇ t, where ⁇ t ⁇ T.
- the present application also provides a wireless communication chip, the wireless communication chip is a first wireless communication chip, the first wireless communication chip is set in an electronic device, and is used for synchronization between the touch screen of the electronic device and the active pen .
- the first wireless communication chip 700 includes:
- the processing module 710 is configured to generate a synchronization signal and a first indication signal
- the sending module 720 is configured to send the synchronization signal to the second wireless communication chip of the active pen, and at the same time send the first instruction signal to the touch chip of the touch screen;
- the first indication signal is used to instruct the touch chip to detect the coding signal transmitted by the active pen after a first preset time period from receiving the first indication signal, and the second wireless communication While receiving the synchronization signal, the chip is also used to send a second indication signal to the coding chip of the active pen, and the second indication signal is used to indicate that the coding chip is receiving the second indication
- the coding signal is transmitted after a second preset duration from the signal.
- the second preset duration is less than the first preset duration and is between the second preset duration and the first preset duration The difference is within the preset range.
- the difference between the second preset duration and the first preset duration is based on the wireless transmission time between the first wireless communication chip and the second wireless communication chip.
- the preset range is 100 microseconds to 200 microseconds.
- the chip 700 further includes: a receiving module, configured to receive a response message for the synchronization signal sent by the second wireless communication chip.
- the first wireless communication chip is connected to the touch control chip through pins
- the sending module 720 is specifically configured to: send information to the touch control chip through the pins of the first wireless communication chip.
- the synchronization signal is sent periodically.
- the first wireless communication chip and the second wireless communication chip are BLE chips.
- the receiving module 710 and the sending module 720 of the first wireless communication chip 700 are, for example, the input and output circuits of the first wireless communication chip 700, or the communication interface of the first wireless communication chip 700.
- the receiving module 710 and the sending module 720 of the first wireless communication chip 700 are, for example, the input and output circuits of the first wireless communication chip 700, or the communication interface of the first wireless communication chip 700.
- the present application also provides a touch chip, which is arranged in an electronic device and is used for synchronization between the touch screen of the electronic device and the active pen.
- the touch chip 800 includes:
- the receiving module 810 is configured to receive a first indication signal sent by a first wireless communication chip of the electronic device, where the first indication signal is that the first wireless communication chip is sending a signal to the second wireless communication chip of the active pen Sent at the same time as the synchronization signal;
- the detection module 820 is configured to detect the coding signal transmitted by the active pen after the first preset period of time since the receiving module 810 receives the first indication signal;
- the second wireless communication chip when the second wireless communication chip receives the synchronization signal, it is also used to send a second instruction signal to the coding chip of the active pen, and the second instruction signal is used to instruct the coding chip
- the coding signal is transmitted after a second preset duration after receiving the second instruction signal, where the second preset duration is less than the first preset duration and the second preset duration is equal to the The difference between the first preset duration is within the preset range.
- the difference between the second preset duration and the first preset duration is based on the wireless transmission time between the first wireless communication chip and the second wireless communication chip.
- the preset range is 100 microseconds to 200 microseconds.
- the first wireless communication chip and the touch chip are connected through pins, and the receiving module 810 is specifically configured to: receive the first wireless communication chip through the pins of the touch chip The first indicator signal output by the corresponding pin.
- the synchronization signal is sent periodically.
- the first wireless communication chip and the second wireless communication chip are BLE chips.
- the receiving module 810 of the touch chip 800 is, for example, the input circuit of the touch chip 800 or the communication interface of the touch chip 800
- the detection module 820 of the touch chip 800 is, for example, the detection circuit or processing circuit of the touch chip 800. Circuit.
- the specific process of the touch chip 800 performing the synchronization operation and the beneficial effects produced refer to the related description in the method embodiment, and for the sake of brevity, it will not be repeated here.
- the present application also provides a wireless communication chip, the wireless communication chip is a second wireless communication chip, the second wireless communication chip is set in the active pen, and is used for synchronization between the touch screen of the electronic device and the active pen .
- the second wireless communication chip 900 includes:
- the receiving module 910 is configured to receive a synchronization signal sent by the first wireless communication chip of the electronic device;
- the sending module 920 is configured to send a second instruction signal to the coding chip of the active pen while the receiving module 910 receives the synchronization signal;
- the second indication signal is used to instruct the coding chip to transmit the coding signal after a second preset time period from receiving the second indication signal
- the first wireless communication chip is sending the synchronization
- the signal is also used to send a first instruction signal to the touch chip of the touch screen, and the first instruction signal is used to instruct the touch chip to have a first preset duration after receiving the first instruction signal
- the second preset duration is less than the first preset duration and the difference between the second preset duration and the first preset duration is within a preset range.
- the difference between the second preset duration and the first preset duration is based on the wireless transmission time between the first wireless communication chip and the second wireless communication chip.
- the preset range is 100 microseconds to 200 microseconds.
- the method further includes: when the second wireless communication chip sends the second instruction signal to the coding chip, at the same time sending the synchronization signal to the first wireless communication chip The response message of the signal.
- the second wireless communication chip is connected to the coding chip through pins
- the sending module 920 is specifically configured to: send the coding chip to the coding chip through the pins of the second wireless communication chip.
- the synchronization signal is sent periodically.
- the first wireless communication chip and the second wireless communication chip are BLE chips.
- the receiving module 710 and the sending module 720 of the second wireless communication chip 900 are, for example, the input and output circuits of the second wireless communication chip 900, or the communication interface of the second wireless communication chip 900.
- the specific process of the second wireless communication chip 900 performing the synchronization operation and the beneficial effects produced refer to the related description in the method embodiment, and for the sake of brevity, it will not be repeated here.
- the application also provides a coding chip, which is set in the active pen and used for synchronization between the touch screen of the electronic device and the active pen.
- the coding chip 1000 includes:
- the receiving module 1010 is configured to receive a second indication signal sent by the second wireless communication chip of the active pen, where the second indication signal is sent by the second wireless communication chip after receiving the first wireless communication chip Simultaneous transmission of the synchronization signal;
- the coding module 1020 is configured to transmit a coding signal after a second preset period of time after receiving the second indication signal;
- the first wireless communication chip when it sends the synchronization signal, it is also used to send a first instruction signal to the touch chip of the touch screen, and the first instruction signal is used to indicate that the touch chip is receiving
- the coding signal is detected after the first preset duration from the first indication signal, the second preset duration is less than the first preset duration and the second preset duration is equal to the first preset duration. The difference between the preset durations is within the preset range.
- the difference between the second preset duration and the first preset duration is based on the wireless transmission time between the first wireless communication chip and the second wireless communication chip.
- the preset range is 100 microseconds to 200 microseconds.
- the second wireless communication chip is connected to the coding chip through pins, and the receiving module 1010 is specifically configured to: receive the second wireless communication chip through the pins of the coding chip The second indication signal output by the corresponding pin of.
- the synchronization signal is sent periodically.
- the first wireless communication chip and the second wireless communication chip are BLE chips.
- the present application also provides an electronic device, including: the first wireless communication chip 700 shown in FIG. 7; and the touch control chip 800 shown in FIG. 8.
- the present application also provides an active pen, including: the second wireless communication chip 900 shown in FIG. 9; and the coding chip 1000 shown in FIG. 10.
- the receiving module 1010 and the coding module 1020 of the coding chip 1000 are, for example, the input and output circuits of the coding chip 1000, or the communication interface of the coding chip 1000.
- the specific process of the synchronization operation performed by the coding chip 1000 and the beneficial effects produced refer to the related description in the method embodiment, and for the sake of brevity, it will not be repeated here.
- the system, device, and method 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 implemented.
- the device embodiments described above are merely illustrative, and the division of units is only a logical function division. In actual implementation, there may be other division methods, and multiple units or components may be combined or integrated into another system.
- the coupling between the various units or the coupling between the various components may be direct coupling or indirect coupling, and the foregoing coupling includes electrical, mechanical, or other forms of connection.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Position Input By Displaying (AREA)
- Electric Clocks (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请提供一种同步方法、无线通信芯片、触控芯片和打码芯片,能够有效实现触摸屏和主动笔之间的同步。该方法包括:电子设备的第一无线通信芯片向主动笔的第二无线通信芯片发送同步信号,并同时向触摸屏的触控芯片发送第一指示信号;其中,该第一指示信号用于指示触控芯片在接收到该第一指示信号起的第一预设时长后检测主动笔发射的打码信号,该第二无线通信芯片在接收到该同步信号的同时还用于向主动笔的打码芯片发送第二指示信号,该第二指示信号用于指示该打码芯片在接收到该第二指示信号起的第二预设时长后发射该打码信号,该第二预设时长小于该第一预设时长且该第二预设时长与该第一预设时长之间的差值位于预设范围内。
Description
本申请实施例涉及信息技术领域,并且更具体地,涉及同步方法、无线通信芯片、触控芯片和打码芯片。
随着电容屏和主动笔的普及,电容式主动笔的应用也变得越来越广泛。主动笔和触摸屏之间的协议也不断在演进,其发展趋势已经从早期的单向通信演变到现在双向通信。但不论采用何种协议,触摸屏和主动笔之间需要按照协议中约定的信号收发时序和周期才能建立连接,以实现触摸屏对主动笔的坐标信号的采集,实现主动笔的书写功能。所以,主动笔的工作前提是与触摸屏之间进行时序同步从而建立连接。因此,如何有效实现触摸屏和主动笔之间的同步,成为亟待解决的问题。
发明内容
本申请实施例提供一种同步方法、无线通信芯片、触控芯片和打码芯片,能够有效实现触摸屏和主动笔之间的同步。
第一方面,提供了一种同步方法,用于电子设备的触摸屏与主动笔之间的同步,所述方法包括:
所述电子设备的第一无线通信芯片向所述主动笔的第二无线通信芯片发送同步信号,并同时向所述触摸屏的触控芯片发送第一指示信号;
其中,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述主动笔发射的打码信号,所述第二无线通信芯片在接收到所述同步信号的同时还用于向所述主动笔的打码芯片发送第二指示信号,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
在一种可能的实现方式中,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线 传输时延确定的。
在一种可能的实现方式中,所述预设范围为100微秒至200微秒。
在一种可能的实现方式中,所述方法还包括:所述第一无线通信芯片接收所述第二无线通信芯片发送的针对所述同步信号的应答消息。
在一种可能的实现方式中,所述第一无线通信芯片与所述触控芯片通过管脚相连,所述第一无线通信芯片向所述触摸屏的触控芯片发送第一指示信号,包括:所述第一无线通信芯片通过所述第一无线通信芯片的管脚,向所述触控芯片的对应管脚输出所述第一指示信号。
在一种可能的实现方式中,所述同步信号是周期性发送的。
在一种可能的实现方式中,所述第一无线通信芯片和所述第二无线通信芯片为低功耗蓝牙(Bluetooth Low Energy,BLE)芯片。
第二方面,提供了一种同步方法,用于电子设备的触摸屏与主动笔之间的同步,所述方法包括:
所述触摸屏的触控芯片接收所述电子设备的第一无线通信芯片发送的第一指示信号,所述第一指示信号是所述第一无线通信芯片在向所述主动笔的第二无线通信芯片发送同步信号的同时发送的;
所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述主动笔发射的打码信号;
其中,所述第二无线通信芯片在接收到所述同步信号的同时还用于向所述主动笔的打码芯片发送第二指示信号,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
在一种可能的实现方式中,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
在一种可能的实现方式中,所述预设范围为100微秒至200微秒。
在一种可能的实现方式中,所述第一无线通信芯片与所述触控芯片通过管脚相连,所述触摸屏的触控芯片接收所述电子设备的第一无线通信芯片发送的第一指示信号,包括:所述触控芯片通过所述触控芯片的管脚,接收所述第一无线通信芯片的对应管脚输出的所述第一指示信号。
在一种可能的实现方式中,所述同步信号是周期性发送的。
在一种可能的实现方式中,所述第一无线通信芯片和所述第二无线通信芯片为BLE芯片。
第三方面,提供了一种同步方法,用于电子设备的触摸屏与主动笔之间的同步,所述方法包括:
所述主动笔的第二无线通信芯片接收所述电子设备的第一无线通信芯片发送的同步信号,并在接收到所述同步信号的同时,向所述主动笔的打码芯片发送第二指示信号;
其中,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射打码信号,所述第一无线通信芯片在发送所述同步信号的同时还用于向所述触摸屏的触控芯片发送第一指示信号,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
在一种可能的实现方式中,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
在一种可能的实现方式中,所述预设范围为100微秒至200微秒。
在一种可能的实现方式中,所述方法还包括:所述第二无线通信芯片在向所述打码芯片发送所述第二指示信号的同时,向所述第一无线通信芯片发送针对所述同步信号的应答消息。
在一种可能的实现方式中,所述第二无线通信芯片与所述打码芯片通过管脚相连,所述第二无线通信芯片向所述主动笔的打码芯片发送第二指示信号,包括:所述第二无线通信芯片通过所述第二无线通信芯片的管脚,向所述打码芯片的对应管脚输出所述第二指示信号。
在一种可能的实现方式中,所述同步信号是周期性发送的。
在一种可能的实现方式中,所述第一无线通信芯片和所述第二无线通信芯片为BLE芯片。
第四方面,提供了一种同步方法,用于电子设备的触摸屏与主动笔之间的同步,所述方法包括:
所述主动笔的打码芯片接收所述主动笔的第二无线通信芯片发送的第 二指示信号,所述第二指示信号是所述第二无线通信芯片在接收到电子设备的第一无线通信芯片发送的同步信号的同时发送的;
所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射打码信号;
其中,所述第一无线通信芯片在发送所述同步信号的同时还用于向所述触摸屏的触控芯片发送第一指示信号,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
在一种可能的实现方式中,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
在一种可能的实现方式中,所述预设范围为100微秒至200微秒。
在一种可能的实现方式中,所述第二无线通信芯片与所述打码芯片通过管脚相连,所述主动笔的打码芯片接收所述主动笔的第二无线通信芯片发送的第二指示信号,包括:所述打码芯片通过所述打码芯片的管脚,接收所述第二无线通信芯片的对应管脚输出的所述第二指示信号。
在一种可能的实现方式中,所述同步信号是周期性发送的。
在一种可能的实现方式中,所述第一无线通信芯片和所述第二无线通信芯片为BLE芯片。
第五方面,提供了一种无线通信芯片,所述无线通信芯片为第一无线通信芯片,所述第一无线通信芯片设置于电子设备中,用于所述电子设备的触摸屏与主动笔之间的同步,所述第一无线通信芯片包括:
处理模块,用于生成同步信号和第一指示信号;
发送模块,用于向所述主动笔的第二无线通信芯片发送所述同步信号,并同时向所述触摸屏的触控芯片发送所述第一指示信号;
其中,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述主动笔发射的打码信号,所述第二无线通信芯片在接收到所述同步信号的同时还用于向所述主动笔的打码芯片发送第二指示信号,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射所述打码信号,所述第二预设时长小于所 述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
在一种可能的实现方式中,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
在一种可能的实现方式中,所述预设范围为100微秒至200微秒。
在一种可能的实现方式中,所述芯片还包括:接收模块,用于接收所述第二无线通信芯片发送的针对所述同步信号的应答消息。
在一种可能的实现方式中,所述发送模块具体用于:通过所述第一无线通信芯片的管脚,向所述触控芯片的对应管脚输出所述第一指示信号。
在一种可能的实现方式中,所述同步信号是周期性发送的。
在一种可能的实现方式中,所述第一无线通信芯片和所述第二无线通信芯片为BLE芯片。
第六方面,提供了一种触控芯片,设置于电子设备中,用于所述电子设备的触摸屏与主动笔之间的同步,所述触控芯片包括:
接收模块,用于接收所述电子设备的第一无线通信芯片发送的第一指示信号,所述第一指示信号是所述第一无线通信芯片在向所述主动笔的第二无线通信芯片发送同步信号的同时发送的;
检测模块,用于在所述接收模块接收到所述第一指示信号起的第一预设时长后检测所述主动笔发射的打码信号;
其中,所述第二无线通信芯片在接收到所述同步信号的同时还用于向所述主动笔的打码芯片发送第二指示信号,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
在一种可能的实现方式中,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
在一种可能的实现方式中,所述预设范围为100微秒至200微秒。
在一种可能的实现方式中,所述接收模块具体用于:通过所述触控芯片的管脚,接收所述第一无线通信芯片的对应管脚输出的所述第一指示信号。
在一种可能的实现方式中,所述同步信号是周期性发送的。
在一种可能的实现方式中,所述第一无线通信芯片和所述第二无线通信芯片为BLE芯片。
第七方面,提供了一种无线通信芯片,所述无线通信芯片为第二无线通信芯片,所述第二无线通信芯片设置于主动笔中,用于电子设备的触摸屏与所述主动笔之间的同步,所述第二无线通信芯片包括:
接收模块,用于接收所述电子设备的第一无线通信芯片发送的同步信号;
发送模块,用于在所述接收模块接收到所述同步信号的同时,向所述主动笔的打码芯片发送第二指示信号;
其中,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射打码信号,所述第一无线通信芯片在发送所述同步信号的同时还用于向所述触摸屏的触控芯片发送第一指示信号,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
在一种可能的实现方式中,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
在一种可能的实现方式中,所述预设范围为100微秒至200微秒。
在一种可能的实现方式中,所述方法还包括:所述第二无线通信芯片在向所述打码芯片发送所述第二指示信号的同时,向所述第一无线通信芯片发送针对所述同步信号的应答消息。
在一种可能的实现方式中,所述发送模块具体用于:通过所述第二无线通信芯片的管脚,向所述打码芯片的对应管脚输出所述第二指示信号。
在一种可能的实现方式中,所述同步信号是周期性发送的。
在一种可能的实现方式中,所述第一无线通信芯片和所述第二无线通信芯片为BLE芯片。
第八方面,提供了一种打码芯片,设置于主动笔中,用于电子设备的触摸屏与所述主动笔之间的同步,所述打码芯片包括:
接收模块,用于接收所述主动笔的第二无线通信芯片发送的第二指示信号,所述第二指示信号是所述第二无线通信芯片在接收到所述第一无线通信 芯片发送的同步信号的同时发送的;
打码模块,用于在接收到所述第二指示信号起的第二预设时长后发射打码信号;
其中,所述第一无线通信芯片在发送所述同步信号的同时还用于向所述触摸屏的触控芯片发送第一指示信号,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
在一种可能的实现方式中,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
在一种可能的实现方式中,所述预设范围为100微秒至200微秒。
在一种可能的实现方式中,所述接收模块具体用于:通过所述打码芯片的管脚,接收所述第二无线通信芯片的对应管脚输出的所述第二指示信号。
在一种可能的实现方式中,所述同步信号是周期性发送的。
在一种可能的实现方式中,所述第一无线通信芯片和所述第二无线通信芯片为BLE芯片。
第九方面,提供了一种电子设备,包括:前述第五方面或第五方面的任意可能的实现方式中的无线通信芯片;以及,前述第六方面或第六方面的任意可能的实现方式中的触控芯片。
第十方面,提供了一种主动笔,包括:前述第七方面或第七方面的任意可能的实现方式中的无线通信芯片;以及,前述第八方面或第八方面的任意可能的实现方式中的打码芯片。
上述技术方案利用电子设备的第一无线通信芯片和主动笔的第二无线通信芯片实现触摸屏和主动笔之间的同步。在电子设备的第一无线通信芯片向主动笔的第二无线通信芯片发送同步信号的同时,第一无线通信芯片还向触摸屏的触控芯片发送第一指示信号,用于指示触控芯片在第一预设时长后检测主动笔发射的打码信号。主动笔的第二无线通信芯片接收到该同步信号的同时,向主动笔的打码芯片发送第二指示信号,用于指示打码芯片在第二预设时长后发射该打码信号。考虑到无线通信的传输时延,第二预设时长小于第一预设时长并且第二预设时长和第一预设时长之间的差值基本恒定。这 样,在主动笔发射打码信号的同时,触摸屏刚好在检测该打码信号,从而使触摸屏和主动笔之间实现同步。由于利用了无线通信芯片实现触摸屏和主动笔之间的同步,因此避免了触摸屏盲检打码信号的同步方式中所带来的时延,且在主动笔开始工作时就能够开始进行同步,因此增加了主动笔的首笔书写的响应速度,提升了用户体验。
图1是主动笔在触摸屏上使用的原理示意图。
图2是触摸屏和主动笔之间同步的示意图。
图3是本申请实施例的同步方法的流程交互图。
图4是本申请实施例的同步方法的信号时序的示意图。
图5是本申请实施例的触控芯片的一种可能的实现方式的示意图。
图6是本申请实施例的打码芯片的一种可能的实现方式的示意图。
图7是本申请实施例的第一无线通信芯片的示意性框图。
图8是本申请实施例的触控芯片的示意性框图。
图9是本申请实施例的第二无线通信芯片的示意性框图。
图10是本申请实施例的打码芯片的示意性框图。
下面将结合附图,对本申请中的技术方案进行描述。
主动笔在实际使用时,屏端需要获取主动笔的笔尖坐标,屏端根据笔尖坐标显示主动笔的笔迹。例如图1所示,触摸屏200上分布着一定数量的横向和纵向的检测电极,主动笔100的笔尖(tip)电极输出的打码信号作用在触摸屏200的某一位置,则该位置对应的横向的检测电极和纵向的检测电极都会产生相应的检测信号,从而可以根据该检测信号计算主动笔100在触摸屏200上的二维位置坐标。
该打码信号也可以称为驱动信号、激励信号等,是主动笔的笔尖电极发射的用于确定主动笔笔尖位置的电信号。
主动笔和触摸屏是两个互相独立的系统,触摸屏并不知道用户何时会使用主动笔在触摸屏上书写,无法预知在什么时刻开始检测主动笔发射的打码信号。因此,主动笔必须先和触摸屏之间实现时序上的同步,且在书写时需 要长时间保持同步,触摸屏才能稳定且正确地检测到主动笔发射的打码信号,通常同步误差需要小于50us。依照目前的主动笔协议,例如微软主动笔协议(Microsoft Pen Protocol,MPP)、通用触控笔联盟(Universal Stylus Initiative,USI)协议等,触摸屏需要周期性地对主动笔发射的打码信号进行检测,如果触摸屏在某次信号采样中检测到了主动笔发射的打码信号,才开始调整检测周期,以进行时序同步。例如图2所示,当触摸屏检测打码信号的周期与主动笔发射打码信号的周期在时序上对齐,触摸屏的信号检测窗口与主动笔的打码窗口在时序上一致,则说明触摸屏和主动笔之间实现了同步。
但是,采用这种同步方式,触摸屏和主动笔之间的同步过程一般需要一两个周期,一个周期通常可以是16ms左右,因此这种同步方式就引入了一定的时延。另外,由于触摸屏检测主动笔的高度要求一般仅有5mm至10mm,也就是说,主动笔的笔尖已经很靠近触摸屏表面了才能开始同步。因此,同步过程造成了一定时延,从而导致主动笔的首笔书写的响应变慢,严重影响用户的书写体验。
为此,本申请提供了一种同步方法,能够有效地实现主动笔和触摸屏之间的同步,且大大降低了同步过程造成的时延,提升了用户体验。
图3是本申请实施例的同步方法的流程交互图。图3所述的方法300用于电子设备的触摸屏和主动笔之间的同步,该方法300可以由电子设备的第一无线通信芯片、触摸屏对应的触控芯片、主动笔的第二无线通信芯片、以及主动笔的打码芯片执行。
如图3所示,方法300包括以下步骤中的部分或全部。
在310中,第一无线通信芯片向第二无线通信芯片发送同步信号,并同时向所述触摸屏的触控芯片发送第一指示信号。
在320中,触控芯片接收第一无线通信芯片发送的第一指示信号。
在330中,触控芯片在接收到第一指示信号起的第一预设时长后检测所述主动笔发射的打码信号。
在340中,第二无线通信芯片接收第一无线通信芯片发送的同步信号,并在接收到所述同步信号的同时,向打码芯片发送第二指示信号。
在350中,打码芯片接收第二无线通信芯片发送的第二指示信号。
在360中,打码芯片在接收到第二指示信号起的第二预设时长后发射打码信号。
本申请实施例利用电子设备的第一无线通信芯片和主动笔的第二无线通信芯片之间的无线通信实现触摸屏和主动笔之间的同步。
对于屏端,在电子设备的第一无线通信芯片向主动笔的第二无线通信芯片发送同步信号的同时,第一无线通信芯片还向触摸屏的触控芯片发送第一指示信号,用于指示触控芯片在第一预设时长后检测主动笔发射的打码信号。
对于笔端,主动笔的第二无线通信芯片接收到该同步信号的同时,向主动笔的打码芯片发送第二指示信号,用于指示打码芯片在第二预设时长后发射该打码信号。
这样,通过设置第一预设时长和第二预设时长,使得主动笔在发射打码信号的同时,触摸屏刚好在检测该打码信号,从而使触摸屏和主动笔之间实现同步。由于利用了无线通信芯片实现触摸屏和主动笔之间的同步,因此避免了触摸屏盲检打码信号的同步方式中所带来的时延,且在主动笔开始工作时就能够进行同步,因此增加了主动笔的首笔书写的响应速度,提升了用户体验。
考虑到无线通信的传输时延,第二预设时长小于第一预设时长,并且第二预设时长和第一预设时长之间的差值基本恒定。
该第二预设时长与该第一预设时长之间的差值例如可以是基于第一无线通信芯片和第二无线通信芯片之间的无线传输时延确定的。
该第二预设时长与该第一预设时长之间的差值例如可以位于预设范围内,例如100us至200us之间。
在一种实现方式中,方法300还可以包括370和380,以保证信号传输的可靠性。
在370中,第二无线通信芯片在向打码芯片发送第二指示信号的同时,向第一无线通信芯片发送针对该同步信号的应答消息。
在380中,第一无线通信芯片接收第二无线通信芯片发送的该应答消息。
在一种实现方式中,该同步信号是周期性发送的。也就是说,第一无线通信芯片、第二无线通信芯片、打码芯片和触控芯片可以周期性执行上述方法300中各自对应的操作。同步信号的发送周期例如可以是16.25ms等。主动笔的打码周期和触摸屏的检测周期基于该同步信号,不断地进行自动微调,始终保持同步。
下面以图4为例,详细说明本申请的同步方式。在图4中,电子设备的 第一无线通信芯片周期性地发送同步信号。第一无线通信芯片每次发送同步信号时,会向触摸屏对应的触控芯片发送一个第一指示信号,触控芯片在时刻T0、T1、T2、T3、T4和T5接收到该第一指示信号,并在从时刻T0、T1、T2、T3、T4和T5起的△T时长后开始检测主动笔发射的打码信号。
第二无线通信芯片每次接收到第一无线通信芯片发送的同步信号时,会向主动笔的打码芯片发送一个第二指示信号。打码芯片在时刻t0、t1、t2、t3、t4和t5接收到该第二指示信号,并在t0、t1、t2、t3、t4和t5起的△t时长后开始发射打码信号。由于第一无线通信芯片与第二无线通信芯片之间存在无线传输时延,因此,t0、t1、t2、t3、t4和t5分别略晚于T0、T1、T2、T3、T4和T5,即△t<△T。△T与△t的差值与第一无线通信芯片和第二无线通信芯片本身相关,通常可以控制△T与△t的差值基本上不变。
这样,触摸屏和主动笔以同步信号为起点,主动笔在△t时长后开始发射打码信号,触摸屏在△T时长后开始检测打码信号,即可保证触摸屏和主动笔之间的同步。采用本申请实施例的同步方式,同步误差可以做到30us以内,满足触摸屏和主动笔之间的信号检测需求。
当主动笔与电子设备之间建立无线连接后,就可以利用无线通信的方式进行同步。并且,由于无线通信允许一定的传输距离,因此主动笔与触摸屏可以在距离较远时就提前同步好时序,例如BLE的通信距离一般大于5米。并且,主动笔与触摸屏能够长时间自动调整以始终保持同步。由于已经提前同步好时序,因此无论何时使用主动笔进行书写,触摸屏都可以第一时间检测到主动笔发射的打码信号,解决了现有同步方式中的同步过程慢、同步距离短的问题,极大地提高了主动笔书写的响应速度。
图5和图6分别示出了触控芯片和打码芯片的一种可能的实现方式。
如图5所示,触控芯片可以执行以下步骤:
在501中,触控芯片确定是否接收到第一指示信号。
如果接收到第一指示信号,则执行502。
在502中,触控芯片启动定时器。
该定时器的定时时长为第一预设时长,即图4中所示的△T。触控芯片在接收到第一指示信号的时刻启动该定时器,以通过该定时器确定△T是否到达。
在503中,触控芯片判断是否经过△T时长。
如果已经到达△T,则执行504。
在504中,触控芯片检测打码信号。
触控芯片可以通过触摸屏中的横向或纵向的检测电极,获取主动笔发射的打码信号。
触控芯片可以周期性执行上述过程,以与主动笔保持长时间同步。
如图6所示,打码芯片可以执行以下步骤:
在601中,打码芯片确定是否接收到第二指示信号。
如果接收到第二指示信号,则执行602。
在602中,打码芯片启动定时器。
该定时器的定时时长为第二预设时长,即图4中所示的△t。打码芯片在接收到第二指示信号的时刻启动该定时器,以通过该定时器确定△t是否到达。
在603中,打码芯片判断是否经过△t时长。
如果已经到达△t,则执行604。
在604中,打码芯片发射打码信号。
打码芯片可以周期性执行上述过程,以与触摸屏保持长时间同步。
本申请实施例中,第一无线通信芯片向触控芯片发送第一指示信号,可以是通过第一无线通信芯片的管脚,向触控芯片的对应管脚输出第一指示信号。例如,第一无线通信芯片与触控芯片之间通过管脚相连,第一无线通信芯片每次向第二无线通信芯片发送同步信号时立即通过管脚翻转一次信号以通知触控芯片。
类似地,第二无线通信芯片向打码芯片发送第二指示信号,可以是通过第二无线通信芯片的管脚向打码芯片的对应管脚输出第二指示信号。
需要注意的是,由于多任务操作系统的时延具有不确定性,第一无线通信芯片发送同步信号的同时,第一通信芯片应当在芯片底层第一时间向触控芯片输出第一指示信号,以使第一指示信号不受操作系统响应延时的影响。第一通信芯片例如可以在芯片底层的中断处理过程中第一时间输出第一指示信号。类似地,第二无线通信芯片接收到同步信号的同时,也应当在芯片底层第一时间向打码芯片输出第二指示信号,以使第二指示信号不受操作系统响应延时的影响。
第一无线通信芯片和第二无线通信芯片例如可以是BLE芯片、WIFI芯 片等。考虑到BLE芯片的功耗和成本较低,通常可以在主动笔中设置BLE芯片,以与电子设备中的BLE芯片之间进行双向通信,从而实现同步。
在触摸屏和主动笔的同步过程中,第一无线通信芯片可以持续发送同步信号。为了降低功耗,在一种实现方式中,第一无线通信芯片也可以在确定用户准备使用主动笔时才开始发送同步信号。例如,主动笔可以通过连接件固定在触摸屏上,该连接件中可以设置一个开关电路,当主动笔固定在触摸屏上时,该开关电路可以输出指示主动笔插入的指示信号,而当主动笔离开触摸屏时,该开关电路可以输出指示主动笔拔出的指示信号。基于该指示信号,第一无线通信芯片可以在主动笔拔出时开始发送同步信号,因为用户拔出主动笔很可能时准备使用主动笔,因此需要提前进行同步。
应理解,上面描述的同步过程是由第一无线通信芯片向第二无线通信芯片发送同步信号,以用于触摸屏和主动笔之间的同步。但是,在实际应用中,也可以由第二无线通信芯片向第一无线通信芯片发送同步信号,以用于触摸屏和主动笔之间的同步。例如,第二无线通信芯片向第一无线通信芯片发送同步信号的同时,向打码芯片发射第二指示信号,以指示打码芯片在△T时长后发射打码信号,第一无线通信芯片在接收到同步信号的同时,向触控芯片发送第一指示信号,以指示触控芯片在△t时长后检测打码信号,其中△t<△T。
本申请还提供一种无线通信芯片,所述无线通信芯片为第一无线通信芯片,所述第一无线通信芯片设置于电子设备中,用于所述电子设备的触摸屏与主动笔之间的同步。如图7所示,第一无线通信芯片700包括:
处理模块710,用于生成同步信号和第一指示信号;
发送模块720,用于向所述主动笔的第二无线通信芯片发送所述同步信号,并同时向所述触摸屏的触控芯片发送所述第一指示信号;
其中,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述主动笔发射的打码信号,所述第二无线通信芯片在接收到所述同步信号的同时还用于向所述主动笔的打码芯片发送第二指示信号,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
在一种实现方式中,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
在一种实现方式中,所述预设范围为100微秒至200微秒。
在一种实现方式中,芯片700还包括:接收模块,用于接收所述第二无线通信芯片发送的针对所述同步信号的应答消息。
在一种实现方式中,所述第一无线通信芯片与所述触控芯片通过管脚相连,发送模块720具体用于:通过所述第一无线通信芯片的管脚,向所述触控芯片的对应管脚输出所述第一指示信号。
在一种实现方式中,所述同步信号是周期性发送的。
在一种实现方式中,所述第一无线通信芯片和所述第二无线通信芯片为BLE芯片。
应理解,第一无线通信芯片700的接收模块710和发送模块720例如是第一无线通信芯片700的输入和输出电路,或者是第一无线通信芯片700的通信接口。第一无线通信芯片700执行同步操作的具体过程以及产生的有益效果可以参见方法实施例中的相关描述,为了简洁,这里不再赘述。
本申请还提供一种触控芯片,设置于电子设备中,用于电子设备的触摸屏与主动笔之间的同步,如图8所示,触控芯片800包括:
接收模块810,用于接收所述电子设备的第一无线通信芯片发送的第一指示信号,所述第一指示信号是所述第一无线通信芯片在向所述主动笔的第二无线通信芯片发送同步信号的同时发送的;
检测模块820,用于在接收模块810接收到所述第一指示信号起的第一预设时长后检测所述主动笔发射的打码信号;
其中,所述第二无线通信芯片在接收到所述同步信号的同时还用于向所述主动笔的打码芯片发送第二指示信号,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
在一种实现方式中,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
在一种实现方式中,所述预设范围为100微秒至200微秒。
在一种实现方式中,所述第一无线通信芯片与所述触控芯片通过管脚相连,接收模块810具体用于:通过所述触控芯片的管脚,接收所述第一无线通信芯片的对应管脚输出的所述第一指示信号。
在一种实现方式中,所述同步信号是周期性发送的。
在一种实现方式中,所述第一无线通信芯片和所述第二无线通信芯片为BLE芯片。
应理解,触控芯片800的接收模块810例如是触控芯片800的输入电路,或者是触控芯片800的通信接口,触控芯片800的检测模块820例如是触控芯片800的检测电路或者处理电路。触控芯片800执行同步操作的具体过程以及产生的有益效果可以参见方法实施例中的相关描述,为了简洁,这里不再赘述。
本申请还提供一种无线通信芯片,所述无线通信芯片为第二无线通信芯片,所述第二无线通信芯片设置于主动笔中,用于电子设备的触摸屏与所述主动笔之间的同步。如图9所示,第二无线通信芯片900包括:
接收模块910,用于接收所述电子设备的第一无线通信芯片发送的同步信号;
发送模块920,用于在所述接收模块910接收到所述同步信号的同时,向所述主动笔的打码芯片发送第二指示信号;
其中,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射打码信号,所述第一无线通信芯片在发送所述同步信号的同时还用于向所述触摸屏的触控芯片发送第一指示信号,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
在一种实现方式中,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
在一种实现方式中,所述预设范围为100微秒至200微秒。
在一种实现方式中,所述方法还包括:所述第二无线通信芯片在向所述打码芯片发送所述第二指示信号的同时,向所述第一无线通信芯片发送针对 所述同步信号的应答消息。
在一种实现方式中,所述第二无线通信芯片与所述打码芯片通过管脚相连,发送模块920具体用于:通过所述第二无线通信芯片的管脚,向所述打码芯片的对应管脚输出所述第二指示信号。
在一种实现方式中,所述同步信号是周期性发送的。
在一种实现方式中,所述第一无线通信芯片和所述第二无线通信芯片为BLE芯片。
应理解,第二无线通信芯片900的接收模块710和发送模块720例如是第二无线通信芯片900的输入和输出电路,或者是第二无线通信芯片900的通信接口。第二无线通信芯片900执行同步操作的具体过程以及产生的有益效果可以参见方法实施例中的相关描述,为了简洁,这里不再赘述。
本申请还提供一种打码芯片,设置于主动笔中,用于电子设备的触摸屏与所述主动笔之间的同步。如图10所示,打码芯片1000包括:
接收模块1010,用于接收所述主动笔的第二无线通信芯片发送的第二指示信号,所述第二指示信号是所述第二无线通信芯片在接收到所述第一无线通信芯片发送的同步信号的同时发送的;
打码模块1020,用于在接收到所述第二指示信号起的第二预设时长后发射打码信号;
其中,所述第一无线通信芯片在发送所述同步信号的同时还用于向所述触摸屏的触控芯片发送第一指示信号,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
在一种实现方式中,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
在一种实现方式中,所述预设范围为100微秒至200微秒。
在一种实现方式中,所述第二无线通信芯片与所述打码芯片通过管脚相连,接收模块1010具体用于:通过所述打码芯片的管脚,接收所述第二无线通信芯片的对应管脚输出的所述第二指示信号。
在一种实现方式中,所述同步信号是周期性发送的。
在一种实现方式中,所述第一无线通信芯片和所述第二无线通信芯片为BLE芯片。
本申请还提供一种电子设备,包括:图7所示的第一无线通信芯片700;以及,图8所示的触控芯片800。
本申请还提供一种主动笔,包括:图9所示的第二无线通信芯片900;以及,图10所示的打码芯片1000。
应理解,打码芯片1000的接收模块1010和打码模块1020例如是打码芯片1000的输入和输出电路,或者是打码芯片1000的通信接口。打码芯片1000执行同步操作的具体过程以及产生的有益效果可以参见方法实施例中的相关描述,为了简洁,这里不再赘述。
需要说明的是,在不冲突的前提下,本申请描述的各个实施例和/或各个实施例中的技术特征可以任意的相互组合,组合之后得到的技术方案也应落入本申请的保护范围。
本申请实施例中所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的方法实施例的一些特征可以忽略或者不执行。以上所描述的装置实施例仅仅是示意性的,单元的划分仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,多个单元或组件可以结合或者可以集成到另一个系统。另外,各单元之间的耦合或各个组件之间的耦合可以是直接耦合,也可以是间接耦合,上述耦合包括电的、机械的或其它形式的连接。
本领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的装置和设备的具体工作过程以及产生的技术效果,可以参考前述方法实施例中对应的过程和技术效果,在此不再赘述。
应理解,本申请实施例中的具体的例子只是为了帮助本领域技术人员更好地理解本申请实施例,而非限制本申请实施例的范围,本领域技术人员可以在上述实施例的基础上进行各种改进和变形,而这些改进或者变形均落在本申请的保护范围内。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (54)
- 一种同步方法,其特征在于,用于电子设备的触摸屏与主动笔之间的同步,所述方法包括:所述电子设备的第一无线通信芯片向所述主动笔的第二无线通信芯片发送同步信号,并同时向所述触摸屏的触控芯片发送第一指示信号;其中,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述主动笔发射的打码信号,所述第二无线通信芯片在接收到所述同步信号的同时还用于向所述主动笔的打码芯片发送第二指示信号,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
- 根据权利要求1所述的方法,其特征在于,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
- 根据权利要求2所述的方法,其特征在于,所述预设范围为100微秒至200微秒。
- 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:所述第一无线通信芯片接收所述第二无线通信芯片发送的针对所述同步信号的应答消息。
- 根据权利要求1至4中任一项所述的方法,其特征在于,所述第一无线通信芯片与所述触控芯片通过管脚相连,所述第一无线通信芯片向所述触摸屏的触控芯片发送第一指示信号,包括:所述第一无线通信芯片通过所述第一无线通信芯片的管脚,向所述触控芯片的对应管脚输出所述第一指示信号。
- 根据权利要求1至5中任一项所述的方法,其特征在于,所述同步信号是周期性发送的。
- 根据权利要求1至6中任一项所述的方法,其特征在于,所述第一无线通信芯片和所述第二无线通信芯片为低功耗蓝牙BLE芯片。
- 一种同步方法,其特征在于,用于电子设备的触摸屏与主动笔之间 的同步,所述方法包括:所述触摸屏的触控芯片接收所述电子设备的第一无线通信芯片发送的第一指示信号,所述第一指示信号是所述第一无线通信芯片在向所述主动笔的第二无线通信芯片发送同步信号的同时发送的;所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述主动笔发射的打码信号;其中,所述第二无线通信芯片在接收到所述同步信号的同时还用于向所述主动笔的打码芯片发送第二指示信号,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
- 根据权利要求8所述的方法,其特征在于,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
- 根据权利要求9所述的方法,其特征在于,所述预设范围为100微秒至200微秒。
- 根据权利要求8至10中任一项所述的方法,其特征在于,所述第一无线通信芯片与所述触控芯片通过管脚相连,所述触摸屏的触控芯片接收所述电子设备的第一无线通信芯片发送的第一指示信号,包括:所述触控芯片通过所述触控芯片的管脚,接收所述第一无线通信芯片的对应管脚输出的所述第一指示信号。
- 根据权利要求8至11中任一项所述的方法,其特征在于,所述同步信号是周期性发送的。
- 根据权利要求8至12中任一项所述的方法,其特征在于,所述第一无线通信芯片和所述第二无线通信芯片为低功耗蓝牙BLE芯片。
- 一种同步方法,其特征在于,用于电子设备的触摸屏与主动笔之间的同步,所述方法包括:所述主动笔的第二无线通信芯片接收所述电子设备的第一无线通信芯片发送的同步信号,并在接收到所述同步信号的同时,向所述主动笔的打码芯片发送第二指示信号;其中,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示 信号起的第二预设时长后发射打码信号,所述第一无线通信芯片在发送所述同步信号的同时还用于向所述触摸屏的触控芯片发送第一指示信号,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
- 根据权利要求14所述的方法,其特征在于,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
- 根据权利要求15所述的方法,其特征在于,所述预设范围为100微秒至200微秒。
- 根据权利要求14至16中任一项所述的方法,其特征在于,所述方法还包括:所述第二无线通信芯片在向所述打码芯片发送所述第二指示信号的同时,向所述第一无线通信芯片发送针对所述同步信号的应答消息。
- 根据权利要求14至17中任一项所述的方法,其特征在于,所述第二无线通信芯片与所述打码芯片通过管脚相连,所述第二无线通信芯片向所述主动笔的打码芯片发送第二指示信号,包括:所述第二无线通信芯片通过所述第二无线通信芯片的管脚,向所述打码芯片的对应管脚输出所述第二指示信号。
- 根据权利要求14至18中任一项所述的方法,其特征在于,所述同步信号是周期性发送的。
- 根据权利要求14至19中任一项所述的方法,其特征在于,所述第一无线通信芯片和所述第二无线通信芯片为低功耗蓝牙BLE芯片。
- 一种同步方法,其特征在于,用于电子设备的触摸屏与主动笔之间的同步,所述方法包括:所述主动笔的打码芯片接收所述主动笔的第二无线通信芯片发送的第二指示信号,所述第二指示信号是所述第二无线通信芯片在接收到电子设备的第一无线通信芯片发送的同步信号的同时发送的;所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射打码信号;其中,所述第一无线通信芯片在发送所述同步信号的同时还用于向所述 触摸屏的触控芯片发送第一指示信号,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
- 根据权利要求21所述的方法,其特征在于,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
- 根据权利要求22所述的方法,其特征在于,所述预设范围为100微秒至200微秒。
- 根据权利要求21至23中任一项所述的方法,其特征在于,所述第二无线通信芯片与所述打码芯片通过管脚相连,所述主动笔的打码芯片接收所述主动笔的第二无线通信芯片发送的第二指示信号,包括:所述打码芯片通过所述打码芯片的管脚,接收所述第二无线通信芯片的对应管脚输出的所述第二指示信号。
- 根据权利要求21至24中任一项所述的方法,其特征在于,所述同步信号是周期性发送的。
- 根据权利要求21至25中任一项所述的方法,其特征在于,所述第一无线通信芯片和所述第二无线通信芯片为低功耗蓝牙BLE芯片。
- 一种无线通信芯片,其特征在于,所述无线通信芯片为第一无线通信芯片,所述第一无线通信芯片设置于电子设备中,用于所述电子设备的触摸屏与主动笔之间的同步,所述第一无线通信芯片包括:处理模块,用于生成同步信号和第一指示信号;发送模块,用于向所述主动笔的第二无线通信芯片发送所述同步信号,并同时向所述触摸屏的触控芯片发送所述第一指示信号;其中,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述主动笔发射的打码信号,所述第二无线通信芯片在接收到所述同步信号的同时还用于向所述主动笔的打码芯片发送第二指示信号,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
- 根据权利要求27所述的无线通信芯片,其特征在于,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
- 根据权利要求28所述的无线通信芯片,其特征在于,所述预设范围为100微秒至200微秒。
- 根据权利要求27至29中任一项所述的无线通信芯片,其特征在于,还包括:接收模块,用于接收所述第二无线通信芯片发送的针对所述同步信号的应答消息。
- 根据权利要求27至30中任一项所述的无线通信芯片,其特征在于,所述第一无线通信芯片与所述触控芯片通过管脚相连,所述发送模块具体用于:通过所述第一无线通信芯片的管脚,向所述触控芯片的对应管脚输出所述第一指示信号。
- 根据权利要求27至31中任一项所述的无线通信芯片,其特征在于,所述同步信号是周期性发送的。
- 根据权利要求27至32中任一项所述的无线通信芯片,其特征在于,所述第一无线通信芯片和所述第二无线通信芯片为低功耗蓝牙BLE芯片。
- 一种触控芯片,其特征在于,设置于电子设备中,用于所述电子设备的触摸屏与主动笔之间的同步,所述触控芯片包括:接收模块,用于接收所述电子设备的第一无线通信芯片发送的第一指示信号,所述第一指示信号是所述第一无线通信芯片在向所述主动笔的第二无线通信芯片发送同步信号的同时发送的;检测模块,用于在所述接收模块接收到所述第一指示信号起的第一预设时长后检测所述主动笔发射的打码信号;其中,所述第二无线通信芯片在接收到所述同步信号的同时还用于向所述主动笔的打码芯片发送第二指示信号,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
- 根据权利要求34所述的触控芯片,其特征在于,所述第二预设时 长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
- 根据权利要求35所述的触控芯片,其特征在于,所述预设范围为100微秒至200微秒。
- 根据权利要求34至36中任一项所述的触控芯片,其特征在于,所述第一无线通信芯片与所述触控芯片通过管脚相连,所述接收模块具体用于:通过所述触控芯片的管脚,接收所述第一无线通信芯片的对应管脚输出的所述第一指示信号。
- 根据权利要求34至37中任一项所述的触控芯片,其特征在于,所述同步信号是周期性发送的。
- 根据权利要求34至38中任一项所述的触控芯片,其特征在于,所述第一无线通信芯片和所述第二无线通信芯片为低功耗蓝牙BLE芯片。
- 一种无线通信芯片,其特征在于,所述无线通信芯片为第二无线通信芯片,所述第二无线通信芯片设置于主动笔中,用于电子设备的触摸屏与所述主动笔之间的同步,所述第二无线通信芯片包括:接收模块,用于接收所述电子设备的第一无线通信芯片发送的同步信号;发送模块,用于在所述接收模块接收到所述同步信号的同时,向所述主动笔的打码芯片发送第二指示信号;其中,所述第二指示信号用于指示所述打码芯片在接收到所述第二指示信号起的第二预设时长后发射打码信号,所述第一无线通信芯片在发送所述同步信号的同时还用于向所述触摸屏的触控芯片发送第一指示信号,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
- 根据权利要求40所述的无线通信芯片,其特征在于,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
- 根据权利要求41所述的无线通信芯片,其特征在于,所述预设范围为100微秒至200微秒。
- 根据权利要求40至42中任一项所述的无线通信芯片,其特征在于,所述发送模块还用于:所述第二无线通信芯片在向所述打码芯片发送所述第二指示信号的同时,向所述第一无线通信芯片发送针对所述同步信号的应答消息。
- 根据权利要求40至43中任一项所述的无线通信芯片,其特征在于,所述第二无线通信芯片与所述打码芯片通过管脚相连,所述发送模块具体用于:通过所述第二无线通信芯片的管脚,向所述打码芯片的对应管脚输出所述第二指示信号。
- 根据权利要求40至44中任一项所述的无线通信芯片,其特征在于,所述同步信号是周期性发送的。
- 根据权利要求40至45中任一项所述的无线通信芯片,其特征在于,所述第一无线通信芯片和所述第二无线通信芯片为低功耗蓝牙BLE芯片。
- 一种打码芯片,其特征在于,设置于主动笔中,用于电子设备的触摸屏与所述主动笔之间的同步,所述打码芯片包括:接收模块,用于接收所述主动笔的第二无线通信芯片发送的第二指示信号,所述第二指示信号是所述第二无线通信芯片在接收到所述第一无线通信芯片发送的同步信号的同时发送的;打码模块,用于在接收到所述第二指示信号起的第二预设时长后发射打码信号;其中,所述第一无线通信芯片在发送所述同步信号的同时还用于向所述触摸屏的触控芯片发送第一指示信号,所述第一指示信号用于指示所述触控芯片在接收到所述第一指示信号起的第一预设时长后检测所述打码信号,所述第二预设时长小于所述第一预设时长且所述第二预设时长与所述第一预设时长之间的差值位于预设范围内。
- 根据权利要求47所述的打码芯片,其特征在于,所述第二预设时长与所述第一预设时长之间的差值是基于所述第一无线通信芯片和所述第二无线通信芯片之间的无线传输时延确定的。
- 根据权利要求48所述的打码芯片,其特征在于,所述预设范围为100微秒至200微秒。
- 根据权利要求47至49中任一项所述的打码芯片,其特征在于,所述第二无线通信芯片与所述打码芯片通过管脚相连,所述接收模块具体用于:通过所述打码芯片的管脚,接收所述第二无线通信芯片的对应管脚输出 的所述第二指示信号。
- 根据权利要求47至50中任一项所述的打码芯片,其特征在于,所述同步信号是周期性发送的。
- 根据权利要求47至51中任一项所述的打码芯片,其特征在于,所述第一无线通信芯片和所述第二无线通信芯片为低功耗蓝牙BLE芯片。
- 一种电子设备,其特征在于,包括:上述权利要求27至33中任一项所述的无线通信芯片;以及,上述权利要求34至39中任一项所述的触控芯片。
- 一种主动笔,其特征在于,包括:上述权利要求40至46中任一项所述的无线通信芯片;以及,上述权利要求47至52中任一项所述的打码芯片。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/093982 WO2021243573A1 (zh) | 2020-06-02 | 2020-06-02 | 同步方法、无线通信芯片、触控芯片和打码芯片 |
US17/483,561 US11474636B2 (en) | 2020-06-02 | 2021-09-23 | Synchronization method, wireless communication chip, touch control chip, and driving chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/093982 WO2021243573A1 (zh) | 2020-06-02 | 2020-06-02 | 同步方法、无线通信芯片、触控芯片和打码芯片 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/483,561 Continuation US11474636B2 (en) | 2020-06-02 | 2021-09-23 | Synchronization method, wireless communication chip, touch control chip, and driving chip |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021243573A1 true WO2021243573A1 (zh) | 2021-12-09 |
Family
ID=78831489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/093982 WO2021243573A1 (zh) | 2020-06-02 | 2020-06-02 | 同步方法、无线通信芯片、触控芯片和打码芯片 |
Country Status (2)
Country | Link |
---|---|
US (1) | US11474636B2 (zh) |
WO (1) | WO2021243573A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20240033560A (ko) * | 2022-09-05 | 2024-03-12 | 삼성전자주식회사 | 전자 장치, 액티브 스타일러스 펜 및 그 동기화 방법 |
KR20240039635A (ko) * | 2022-09-19 | 2024-03-27 | 삼성디스플레이 주식회사 | 전자 장치 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105549766A (zh) * | 2014-10-23 | 2016-05-04 | 乐金显示有限公司 | 输入系统及使用输入系统检测触摸的方法 |
KR20170015648A (ko) * | 2015-07-29 | 2017-02-09 | 엘지디스플레이 주식회사 | 스타일러스 펜, 및 터치 센싱 시스템과 그 구동방법 |
CN110832447A (zh) * | 2019-09-30 | 2020-02-21 | 深圳市汇顶科技股份有限公司 | 信号发射与接收方法、处理器芯片、主动笔、触摸屏 |
CN110959150A (zh) * | 2019-09-30 | 2020-04-03 | 深圳市汇顶科技股份有限公司 | 信号发射与接收方法、处理器芯片、主动笔、触摸屏 |
CN111124158A (zh) * | 2019-11-11 | 2020-05-08 | 华为技术有限公司 | 一种信息输入设备、终端及其控制方法、芯片 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170192549A1 (en) * | 2014-06-30 | 2017-07-06 | Sharp Kabushiki Kaisha | Touch panel controller, stylus pen, touch panel system, and electronic device |
US10324547B2 (en) * | 2015-12-31 | 2019-06-18 | Lg Display Co., Ltd. | Active stylus pen, touch sensing system and driving method thereof |
US10444927B2 (en) * | 2016-11-04 | 2019-10-15 | Microsoft Technology Licensing, Llc | Stylus hover and position communication protocol |
US10788935B2 (en) * | 2017-03-13 | 2020-09-29 | Microsoft Technology Licensing, Llc | Multiplexing capacitance sensing and display functionality |
-
2020
- 2020-06-02 WO PCT/CN2020/093982 patent/WO2021243573A1/zh active Application Filing
-
2021
- 2021-09-23 US US17/483,561 patent/US11474636B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105549766A (zh) * | 2014-10-23 | 2016-05-04 | 乐金显示有限公司 | 输入系统及使用输入系统检测触摸的方法 |
KR20170015648A (ko) * | 2015-07-29 | 2017-02-09 | 엘지디스플레이 주식회사 | 스타일러스 펜, 및 터치 센싱 시스템과 그 구동방법 |
CN110832447A (zh) * | 2019-09-30 | 2020-02-21 | 深圳市汇顶科技股份有限公司 | 信号发射与接收方法、处理器芯片、主动笔、触摸屏 |
CN110959150A (zh) * | 2019-09-30 | 2020-04-03 | 深圳市汇顶科技股份有限公司 | 信号发射与接收方法、处理器芯片、主动笔、触摸屏 |
CN111124158A (zh) * | 2019-11-11 | 2020-05-08 | 华为技术有限公司 | 一种信息输入设备、终端及其控制方法、芯片 |
Also Published As
Publication number | Publication date |
---|---|
US20220011916A1 (en) | 2022-01-13 |
US11474636B2 (en) | 2022-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111638814B (zh) | 同步方法、无线通信芯片、触控芯片和打码芯片 | |
JP7241151B2 (ja) | 入力装置 | |
KR20160055837A (ko) | 디지타이저 시스템과의 스타일러스 동기화 | |
US9367186B2 (en) | Method and system for discriminating stylus and touch interactions | |
WO2021243573A1 (zh) | 同步方法、无线通信芯片、触控芯片和打码芯片 | |
US11789563B2 (en) | Touch controller and pen input system | |
TWI531934B (zh) | 觸控筆、觸控偵測之同步系統以及觸控偵測之同步方法 | |
US10895921B2 (en) | Touch sensitive processing apparatus, system and operating method thereof for receiving electrical signals carrying pressure information | |
US11392221B2 (en) | Touch sensitive processing apparatus, system and operating method thereof for receiving electrical signals carrying pressure information | |
US10890987B2 (en) | Stylus and operating method thereof for transmitting electrical signals carrying pressure information | |
CN112905047A (zh) | 抗干扰的方法、触控芯片及主动笔芯片 | |
US20230161425A1 (en) | Synchronization method, wireless communication chip, synchronization device, electronic device and active pen | |
US11409379B2 (en) | Stylus and operating method thereof for transmitting electrical signals carrying pressure information | |
WO2021226838A1 (zh) | 压力检测的方法、装置、主动笔、触控芯片和电子设备 | |
JP2003288157A (ja) | 位置検出装置 | |
WO2022165839A1 (zh) | 抗干扰的方法、触控芯片及主动笔芯片 | |
US11989366B2 (en) | System including pen and touch controller, method executed by pen, pen, and touch controller | |
US12045412B2 (en) | Electronic device, active stylus pen, method of synchronizing thereof | |
CN111090351A (zh) | 触控系统、其输入装置、及其信号传送方法 | |
WO2024092449A1 (zh) | 用于主动笔和触摸屏之间同步的方法、主动笔和触摸屏 | |
JP7035160B2 (ja) | センサコントローラ及びスタイラスを含むシステム、センサコントローラ、及びスタイラス | |
TW202331476A (zh) | 觸控筆控制電路及觸控筆 | |
JP2011159002A (ja) | 筆跡入力システム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20938615 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20938615 Country of ref document: EP Kind code of ref document: A1 |