CN111638814B - Synchronization method, wireless communication chip, touch chip and coding chip - Google Patents

Synchronization method, wireless communication chip, touch chip and coding chip Download PDF

Info

Publication number
CN111638814B
CN111638814B CN202010491240.1A CN202010491240A CN111638814B CN 111638814 B CN111638814 B CN 111638814B CN 202010491240 A CN202010491240 A CN 202010491240A CN 111638814 B CN111638814 B CN 111638814B
Authority
CN
China
Prior art keywords
wireless communication
chip
communication chip
signal
indication signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010491240.1A
Other languages
Chinese (zh)
Other versions
CN111638814A (en
Inventor
陈显朋
李海
刘金涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Goodix Technology Co Ltd
Original Assignee
Shenzhen Goodix Technology Co Ltd
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 Shenzhen Goodix Technology Co Ltd filed Critical Shenzhen Goodix Technology Co Ltd
Priority to CN202010491240.1A priority Critical patent/CN111638814B/en
Publication of CN111638814A publication Critical patent/CN111638814A/en
Application granted granted Critical
Publication of CN111638814B publication Critical patent/CN111638814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • 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
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04162Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

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)
  • Electric Clocks (AREA)
  • Position Input By Displaying (AREA)

Abstract

The application provides a synchronization method, a wireless communication chip, a touch chip and a code printing chip, which can effectively realize synchronization between a touch screen and an active pen. The method comprises the following steps: the first wireless communication chip of the electronic equipment sends a synchronous signal to the second wireless communication chip of the active pen and simultaneously sends a first indication signal to the touch control chip of the touch screen; the first indication signal is used for indicating the touch control chip to detect a code printing signal emitted by the active pen after receiving a first preset time length from the first indication signal, the second wireless communication chip is also used for transmitting a second indication signal to the code printing chip of the active pen while receiving the synchronous signal, the second indication signal is used for indicating the code printing chip to emit the code printing signal after receiving a second preset time length from the second indication signal, the second preset time length is smaller than the first preset time length, and the difference value between the second preset time length and the first preset time length is within a preset range.

Description

Synchronization method, wireless communication chip, touch chip and coding chip
Technical Field
The embodiment of the application relates to the technical field of information, in particular to a synchronization method, a wireless communication chip, a touch chip and a coding chip.
Background
With the popularity of capacitive screens and active pens, capacitive active pens have become increasingly popular. The protocol between the active pen and the touch screen is also evolving, and its trend has evolved from early one-way communication to now two-way communication. However, no matter what protocol is adopted, the touch screen and the active pen can be connected according to the signal receiving and transmitting time sequence and period agreed in the protocol, so that the touch screen can collect the coordinate signals of the active pen, and the writing function of the active pen is realized. Therefore, the operation premise of the active pen is to perform time sequence synchronization with the touch screen so as to establish connection. Therefore, how to effectively realize synchronization between the touch screen and the active pen becomes a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a synchronization method, a wireless communication chip, a touch chip and a code printing chip, which can effectively realize the synchronization between a touch screen and an active pen.
In a first aspect, a synchronization method is provided for synchronization between a touch screen and an active pen of an electronic device, the method comprising:
the first wireless communication chip of the electronic equipment sends a synchronous signal to the second wireless communication chip of the active pen and simultaneously sends a first indication signal to the touch control chip of the touch screen;
The first indication signal is used for indicating the touch control chip to detect a coding signal emitted by the active pen after receiving a first preset time length from the first indication signal, the second wireless communication chip is also used for transmitting a second indication signal to the coding chip of the active pen while receiving the synchronous signal, the second indication signal is used for indicating the coding chip to emit the coding signal after receiving a second preset time length from the second indication signal, and the second preset time length is smaller than the first preset time length and the difference value between the second preset time length and the first preset time length is located in a preset range.
In one possible implementation, the difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
In one possible implementation, the preset range is 100 microseconds to 200 microseconds.
In one possible implementation, the method further includes: the first wireless communication chip receives a response message for the synchronous signal sent by the second wireless communication chip.
In one possible implementation manner, the first wireless communication chip is connected with the touch chip through a pin, and the first wireless communication chip sends a first indication signal to the touch chip of the touch screen, including: the first wireless communication chip outputs the first indication signal to the corresponding pin of the touch control chip through the pin of the first wireless communication chip.
In one possible implementation, the synchronization signal is sent periodically.
In one possible implementation, the first wireless communication chip and the second wireless communication chip are bluetooth low energy (Bluetooth Low Energy, BLE) chips.
In a second aspect, a synchronization method is provided for synchronization between a touch screen and an active pen of an electronic device, the method comprising:
the touch control chip of the touch screen receives a first indication signal sent by a first wireless communication chip of the electronic equipment, wherein the first indication signal is sent by the first wireless communication chip while a synchronous signal is sent to a second wireless communication chip of the active pen;
the touch control chip detects a coding signal emitted by the active pen after receiving a first preset duration from the first indication signal;
The second wireless communication chip is used for sending a second indication signal to the code printing chip of the active pen while receiving the synchronous signal, the second indication signal is used for indicating the code printing chip to emit the code printing signal after receiving a second preset time length from the second indication signal, the second preset time length is smaller than the first preset time length, and a difference value between the second preset time length and the first preset time length is located in a preset range.
In one possible implementation, the difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
In one possible implementation, the preset range is 100 microseconds to 200 microseconds.
In one possible implementation manner, the first wireless communication chip is connected with the touch chip through a pin, and the touch chip of the touch screen receives a first indication signal sent by the first wireless communication chip of the electronic device, including: the touch chip receives the first indication signal output by the corresponding pin of the first wireless communication chip through the pin of the touch chip.
In one possible implementation, the synchronization signal is sent periodically.
In one possible implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
In a third aspect, a synchronization method is provided for synchronization between a touch screen and an active pen of an electronic device, the method comprising:
the second wireless communication chip of the active pen receives the synchronous signal sent by the first wireless communication chip of the electronic equipment and sends a second indication signal to the coding chip of the active pen when receiving the synchronous signal;
the second indication signal is used for indicating the code printing chip to emit the code printing signal after receiving a second preset time length from the second indication signal, the first wireless communication chip is also used for transmitting a first indication signal to a touch control chip of the touch screen while transmitting the synchronous signal, the first indication signal is used for indicating the touch control chip to detect the code printing signal after receiving a first preset time length from the first indication signal, and the second preset time length is smaller than the first preset time length and the difference value between the second preset time length and the first preset time length is in a preset range.
In one possible implementation, the difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
In one possible implementation, the preset range is 100 microseconds to 200 microseconds.
In one possible implementation, the method further includes: the second wireless communication chip sends a response message for the synchronous signal to the first wireless communication chip while sending the second indication signal to the coding chip.
In one possible implementation manner, the second wireless communication chip is connected to the coding chip through a pin, and the second wireless communication chip sends a second indication signal to the coding chip of the active pen, including: the second wireless communication chip outputs the second indication signal to the corresponding pin of the coding chip through the pin of the second wireless communication chip.
In one possible implementation, the synchronization signal is sent periodically.
In one possible implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
In a fourth aspect, a synchronization method is provided for synchronization between a touch screen and an active pen of an electronic device, the method comprising:
the coding chip of the active pen receives a second indication signal sent by a second wireless communication chip of the active pen, wherein the second indication signal is sent by the second wireless communication chip when receiving a synchronous signal sent by a first wireless communication chip of the electronic equipment;
the code printing chip transmits a code printing signal after receiving a second preset time length from the second indication signal;
the first wireless communication chip is used for sending the synchronous signal and sending a first indication signal to a touch control chip of the touch screen, the first indication signal is used for indicating the touch control chip to detect the code printing signal after receiving a first preset duration from the first indication signal, and the second preset duration is smaller than the first preset duration and the difference value between the second preset duration and the first preset duration is located in a preset range.
In one possible implementation, the difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
In one possible implementation, the preset range is 100 microseconds to 200 microseconds.
In one possible implementation manner, the second wireless communication chip is connected with the code printing chip through a pin, the code printing chip of the active pen receives a second indication signal sent by the second wireless communication chip of the active pen, and the method 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.
In one possible implementation, the synchronization signal is sent periodically.
In one possible implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
In a fifth aspect, a wireless communication chip is provided, where the wireless communication chip is a first wireless communication chip, and the first wireless communication chip is disposed in an electronic device and is used for synchronization between a touch screen and an active pen of the electronic device, and the first wireless communication chip includes:
the processing module is used for generating a synchronous signal and a first indication signal;
the transmitting module is used for transmitting the synchronous signal to the second wireless communication chip of the active pen and simultaneously transmitting the first indication signal to the touch control chip of the touch screen;
The first indication signal is used for indicating the touch control chip to detect a coding signal emitted by the active pen after receiving a first preset time length from the first indication signal, the second wireless communication chip is also used for transmitting a second indication signal to the coding chip of the active pen while receiving the synchronous signal, the second indication signal is used for indicating the coding chip to emit the coding signal after receiving a second preset time length from the second indication signal, and the second preset time length is smaller than the first preset time length and the difference value between the second preset time length and the first preset time length is located in a preset range.
In one possible implementation, the difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
In one possible implementation, the preset range is 100 microseconds to 200 microseconds.
In one possible implementation, the chip further includes: and the receiving module is used for receiving the response message aiming at the synchronous signal and sent by the second wireless communication chip.
In one possible implementation manner, the sending module is specifically configured to: outputting the first indication signal to a corresponding pin of the touch control chip through the pin of the first wireless communication chip.
In one possible implementation, the synchronization signal is sent periodically.
In one possible implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
In a sixth aspect, a touch chip is provided, and is disposed in an electronic device, and used for synchronization between a touch screen and an active pen of the electronic device, where the touch chip includes:
a receiving module, configured to receive a first indication signal sent by a first wireless communication chip of the electronic device, where the first indication signal is sent by the first wireless communication chip while a synchronization signal is sent to a second wireless communication chip of the active pen;
the detection module is used for detecting the coding signal emitted by the active pen after the receiving module receives the first preset duration from the first indication signal;
the second wireless communication chip is used for sending a second indication signal to the code printing chip of the active pen while receiving the synchronous signal, the second indication signal is used for indicating the code printing chip to emit the code printing signal after receiving a second preset time length from the second indication signal, the second preset time length is smaller than the first preset time length, and a difference value between the second preset time length and the first preset time length is located in a preset range.
In one possible implementation, the difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
In one possible implementation, the preset range is 100 microseconds to 200 microseconds.
In one possible implementation manner, the receiving module is specifically configured to: and receiving the first indication signal output by the corresponding pin of the first wireless communication chip through the pin of the touch control chip.
In one possible implementation, the synchronization signal is sent periodically.
In one possible implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
In a seventh aspect, there is provided a wireless communication chip, the wireless communication chip being a second wireless communication chip provided in an active pen for synchronization between a touch screen of an electronic device and the active pen, the second wireless communication chip including:
the receiving module is used for receiving the synchronous signal sent by the first wireless communication chip of the electronic equipment;
The sending module is used for sending a second indication signal to the coding chip of the active pen when the receiving module receives the synchronous signal;
the second indication signal is used for indicating the code printing chip to emit the code printing signal after receiving a second preset time length from the second indication signal, the first wireless communication chip is also used for transmitting a first indication signal to a touch control chip of the touch screen while transmitting the synchronous signal, the first indication signal is used for indicating the touch control chip to detect the code printing signal after receiving a first preset time length from the first indication signal, and the second preset time length is smaller than the first preset time length and the difference value between the second preset time length and the first preset time length is in a preset range.
In one possible implementation, the difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
In one possible implementation, the preset range is 100 microseconds to 200 microseconds.
In one possible implementation, the method further includes: the second wireless communication chip sends a response message for the synchronous signal to the first wireless communication chip while sending the second indication signal to the coding chip.
In one possible implementation manner, the sending module is specifically configured to: outputting the second indication signal to the corresponding pin of the coding chip through the pin of the second wireless communication chip.
In one possible implementation, the synchronization signal is sent periodically.
In one possible implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
An eighth aspect provides a coding chip, disposed in an active pen, for synchronization between a touch screen of an electronic device and the active pen, the coding chip including:
a receiving module, configured to receive a second indication signal sent by a second wireless communication chip of the active pen, where the second indication signal is sent by the second wireless communication chip while receiving a synchronization signal sent by the first wireless communication chip;
the code printing module is used for transmitting code printing signals after receiving a second preset time length from the second indication signals;
the first wireless communication chip is used for sending the synchronous signal and sending a first indication signal to a touch control chip of the touch screen, the first indication signal is used for indicating the touch control chip to detect the code printing signal after receiving a first preset duration from the first indication signal, and the second preset duration is smaller than the first preset duration and the difference value between the second preset duration and the first preset duration is located in a preset range.
In one possible implementation, the difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
In one possible implementation, the preset range is 100 microseconds to 200 microseconds.
In one possible implementation manner, the receiving module is specifically configured to: and receiving the second indication signal output by the corresponding pin of the second wireless communication chip through the pin of the coding chip.
In one possible implementation, the synchronization signal is sent periodically.
In one possible implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
In a ninth aspect, there is provided an electronic device, comprising: a wireless communication chip in the fifth aspect or any possible implementation manner of the fifth aspect; and, a touch chip in the sixth aspect or any possible implementation manner of the sixth aspect.
In a tenth aspect, there is provided an active pen comprising: a wireless communication chip in the seventh aspect or any possible implementation of the seventh aspect; and, a coding chip in the eighth aspect or any possible implementation manner of the eighth aspect.
According to the technical scheme, the synchronization between the touch screen and the active pen is realized by using the first wireless communication chip of the electronic equipment and the second wireless communication chip of the active pen. The method comprises the steps that when a first wireless communication chip of the electronic equipment sends a synchronous signal to a second wireless communication chip of the active pen, the first wireless communication chip also sends a first indication signal to a touch control chip of the touch screen, and the first indication signal is used for indicating the touch control chip to detect a coding signal emitted by the active pen after a first preset duration. The second wireless communication chip of the active pen receives the synchronous signal and simultaneously sends a second indication signal to the code printing chip of the active pen, and the second indication signal is used for indicating the code printing chip to emit the code printing signal after a second preset time length. The second preset time period is less than the first preset time period and a difference between the second preset time period and the first preset time period is substantially constant in consideration of a transmission delay of the wireless communication. Thus, the touch screen just detects the code printing signal while the active pen emits the code printing signal, so that the synchronization between the touch screen and the active pen is realized. Because the wireless communication chip is utilized to realize the synchronization between the touch screen and the active pen, the time delay brought by the touch screen in a touch detection code signal synchronization mode is avoided, and the active pen can start to synchronize when starting to work, so that the response speed of the first pen writing of the active pen is increased, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram of the principle of an active pen for use on a touch screen.
FIG. 2 is a schematic diagram of synchronization between a touch screen and an active pen.
Fig. 3 is a flow chart of a synchronization method according to an embodiment of the present application.
Fig. 4 is a schematic diagram of signal timing of a synchronization method according to an embodiment of the application.
Fig. 5 is a schematic diagram of a possible implementation of a touch chip according to an embodiment of the application.
FIG. 6 is a schematic diagram of one possible implementation of a coding chip according to an embodiment of the application.
Fig. 7 is a schematic block diagram of a first wireless communication chip of an embodiment of the present application.
Fig. 8 is a schematic block diagram of a touch chip according to an embodiment of the application.
Fig. 9 is a schematic block diagram of a second wireless communication chip of an embodiment of the present application.
Fig. 10 is a schematic block diagram of a coding chip of an embodiment of the application.
Detailed Description
The technical scheme of the application will be described below with reference to the accompanying drawings.
When the active pen is in actual use, the screen end needs to acquire the nib coordinates of the active pen, and the screen end displays the handwriting of the active pen according to the nib coordinates. For example, as shown in fig. 1, a certain number of transverse and longitudinal detection electrodes are distributed on the touch screen 200, and a code printing signal output by a tip electrode of the active pen 100 acts on a certain position of the touch screen 200, so that the transverse detection electrode and the longitudinal detection electrode corresponding to the position generate corresponding detection signals, and thus, the two-dimensional position coordinate of the active pen 100 on the touch screen 200 can be calculated according to the detection signals.
The coded signal may also be referred to as a drive signal, an excitation signal, etc., which is an electrical signal emitted by the nib electrode of the active pen for determining the position of the nib of the active pen.
The active pen and the touch screen are two independent systems, and the touch screen does not know when a user writes on the touch screen by using the active pen, and cannot predict at what time 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 the touch screen needs to keep synchronization for a long time when writing, so that the touch screen can stably and correctly detect the code printing signal emitted by the active pen, and the synchronization error needs to be smaller than 50us. According to current active pen protocols, such as microsoft active pen protocol (Microsoft Pen Protocol, MPP), universal stylus alliance (Universal Stylus Initiative, USI) protocol, etc., the touch screen needs to periodically detect the code signal emitted by the active pen, and if the touch screen detects the code signal emitted by the active pen in a certain signal sample, the detection period is adjusted to perform timing synchronization. For example, as shown in fig. 2, when the period of the touch screen for detecting the code signal is aligned with the period of the active pen for transmitting the code signal in time sequence, the signal detection window of the touch screen is consistent with the code window of the active pen in time sequence, which indicates that synchronization is achieved between the touch screen and the active pen.
However, with this synchronization method, the synchronization process between the touch screen and the active pen generally needs one or two periods, and one period may be about 16ms, so that a certain time delay is introduced by this synchronization method. In addition, since the touch screen detects the height requirement of the active pen, it is generally only 5mm to 10mm, that is, the tip of the active pen is already very close to the touch screen surface to start synchronization. Therefore, the synchronization process causes a certain time delay, so that the response of the first writing of the active pen is slow, and the writing experience of a user is seriously affected.
Therefore, the application provides the synchronization method, which can effectively realize the synchronization between the active pen and the touch screen, greatly reduce the time delay caused by the synchronization process and improve the user experience.
Fig. 3 is a flow chart of a synchronization method according to an embodiment of the present application. The method 300 illustrated in fig. 3 is used for synchronization between a touch screen and an active pen of an electronic device, and the method 300 may be performed by a first wireless communication chip of the electronic device, a touch chip corresponding to the touch screen, a second wireless communication chip of the active pen, and a coding chip of the active pen.
As shown in fig. 3, method 300 includes some or all of the following steps.
In 310, the first wireless communication chip sends a synchronization signal to the second wireless communication chip and simultaneously sends a first indication signal to the touch chip of the touch screen.
In 320, the touch chip receives a first indication signal sent by the first wireless communication chip.
In 330, the touch chip detects the code signal emitted by the active pen after receiving the first indication signal for a first preset period of time.
In 340, the second wireless communication chip receives the synchronization signal sent by the first wireless communication chip and sends a second indication signal to the coding chip while receiving the synchronization signal.
In 350, the encoding chip receives a second indication signal sent by the second wireless communication chip.
In 360, the encoding chip transmits the encoding signal after receiving the second indication signal for a second predetermined period of time.
The embodiment of the application realizes the synchronization between the touch screen and the active pen by utilizing the wireless communication between the first wireless communication chip of the electronic equipment and the second wireless communication chip of the active pen.
For the screen end, the first wireless communication chip of the electronic equipment sends a synchronous signal to the second wireless communication chip of the active pen, and meanwhile, the first wireless communication chip also sends a first indication signal to the touch control chip of the touch screen, and the first indication signal is used for indicating the touch control chip to detect a coding signal emitted by the active pen after a first preset time length.
And for the pen end, the second wireless communication chip of the active pen receives the synchronous signal and simultaneously sends a second indication signal to the code printing chip of the active pen, wherein the second indication signal is used for indicating the code printing chip to emit the code printing signal after a second preset time length.
In this way, by setting the first preset time length and the second preset time length, the active pen transmits the code signal and the touch screen just detects the code signal, so that the synchronization between the touch screen and the active pen is realized. Because the wireless communication chip is utilized to realize the synchronization between the touch screen and the active pen, the time delay brought by the touch screen in a touch detection code signal synchronization mode is avoided, and the active pen can be synchronized when starting to work, so that the response speed of the first pen writing of the active pen is increased, and the user experience is improved.
The second preset time period is less than the first preset time period in consideration of a transmission delay of the wireless communication, and a difference between the second preset time period and the first preset time period is substantially constant.
The difference between the second preset time period and the first preset time period may be determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip, for example.
The difference between the second preset time period and the first preset time period may be, for example, within a preset range, for example, between 100us and 200 us.
In one implementation, method 300 may further include 370 and 380 to ensure reliability of signal transmission.
In 370, the second wireless communication chip transmits a response message to the synchronization signal to the first wireless communication chip while transmitting the second indication signal to the encoding chip.
At 380, the first wireless communication chip receives the reply message sent by the second wireless communication chip.
In one implementation, the synchronization signal is sent periodically. That is, the first wireless communication chip, the second wireless communication chip, the coding chip, and the touch chip may periodically perform the respective corresponding operations in the above-described method 300. The transmission period of the synchronization signal may be, for example, 16.25ms or the like. The code printing period of the active pen and the detection period of the touch screen are continuously and automatically fine-tuned based on the synchronous signals, and the synchronization is always kept.
The following describes the synchronization method of the present application in detail by taking fig. 4 as an example. In fig. 4, the first wireless communication chip of the electronic device periodically transmits a synchronization signal. When the first wireless communication chip sends a synchronous signal each time, a first indication signal is sent to a touch control chip corresponding to the touch screen, the touch control chip receives the first indication signal at the time T0, T1, T2, T3, T4 and T5, and the code printing signal emitted by the active pen is detected after the delta T duration from the time T0, T1, T2, T3, T4 and T5.
The second wireless communication chip sends a second indication signal to the coding chip of the active pen when receiving the synchronous signal sent by the first wireless communication chip each time. The coding chip receives the second indication signal at the moments t0, t1, t2, t3, t4 and t5 and starts to transmit the coding signal after the delta t duration from the moments t0, t1, t2, t3, t4 and t 5. Since there is a 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, that is Δt < [ delta ] T. The difference between Δt and Δt is related to the first wireless communication chip and the second wireless communication chip itself, and the difference between Δt and Δt can be controlled to be substantially unchanged.
In this way, the touch screen and the active pen start from the synchronous signal, the active pen starts to emit the code signal after the delta T time, and the touch screen starts to detect the code signal after the delta T time, so that the synchronization between the touch screen and the active pen can be ensured. By adopting the synchronous mode of the embodiment of the application, the synchronous error can be within 30us, and the signal detection requirement between the touch screen and the active pen is met.
After the wireless connection is established between the active pen and the electronic device, the wireless communication mode can be utilized for synchronization. Moreover, since wireless communication allows a certain transmission distance, the active pen and the touch screen can synchronize the timing well in advance when the distance is far, for example, the communication distance of BLE is generally greater than 5 meters. Moreover, the active pen and the touch screen can be automatically adjusted for a long time to keep synchronization all the time. Because the time sequence is synchronized in advance, whenever the active pen is used for writing, the touch screen can detect the code printing signal emitted by the active pen at the first time, the problems of slow synchronization process and short synchronization distance in the existing synchronization mode are solved, and the response speed of the writing of the active pen is greatly improved.
Fig. 5 and 6 show one possible implementation of a touch chip and a coding chip, respectively.
As shown in fig. 5, the touch chip may perform the following steps:
in 501, the touch chip determines whether a first indication signal is received.
If a first indication signal is received, 502 is performed.
In 502, the touch chip starts a timer.
The timing duration of the timer is a first preset duration, Δt shown in fig. 4. The touch control chip starts the timer at the moment of receiving the first indication signal so as to determine whether DeltaT arrives or not through the timer.
In 503, the touch chip determines whether the Δt time period has elapsed.
If DeltaT has been reached, then 504 is performed.
At 504, the touch chip detects a coding signal.
The touch chip can acquire the coding signal emitted by the active pen through a transverse or longitudinal detection electrode in the touch screen.
The touch chip may periodically perform the above process to maintain long synchronization with the active pen.
As shown in fig. 6, the coding chip may perform the following steps:
in 601, the encoding chip determines whether a second indication signal is received.
If a second indication signal is received, 602 is performed.
At 602, the encoding chip starts a timer.
The timing duration of the timer is a second preset duration, Δt shown in fig. 4. The coding chip starts the timer at the moment of receiving the second indication signal to determine whether Δt arrives or not through the timer.
In 603, the coding chip determines whether Δt time elapses.
If Δt has been reached, then 604 is performed.
At 604, the encoding chip transmits an encoding signal.
The coding chip can periodically perform the above process to maintain long-term synchronization with the touch screen.
In the embodiment of the application, the first wireless communication chip sends the first indication signal to the touch control chip, and the first indication signal can be output to the corresponding pin of the touch control chip through the pin of the first wireless communication chip. For example, the first wireless communication chip is connected with the touch control chip through a pin, and the first wireless communication chip immediately turns over a signal through the pin every time when sending a synchronous signal to the second wireless communication chip so as to inform the touch control chip.
Similarly, the second wireless communication chip may send the second indication signal to the coding chip, and the second indication signal may be output to a corresponding pin of the coding chip through a pin of the second wireless communication chip.
It should be noted that, because the delay of the multi-task operating system has uncertainty, the first communication chip should output the first indication signal to the touch control chip at the first time of the chip bottom layer while the first wireless communication chip transmits the synchronization signal, so that the first indication signal is not affected by the response delay of the operating system. The first communication chip may output a first indication signal at a first time, for example, during interrupt processing at the chip bottom layer. Similarly, the second wireless communication chip should output the second indication signal to the code-coding chip at the first time of the chip bottom layer when receiving the synchronization signal, 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, BLE chips, WIFI chips, or the like. In view of low power consumption and low cost of the BLE chip, the BLE chip may be generally disposed in the active pen to perform bidirectional communication with the BLE chip in the electronic device, so as to achieve synchronization.
In the synchronization process of the touch screen and the active pen, the first wireless communication chip can continuously send the synchronization signal. To reduce power consumption, in one implementation, the first wireless communication chip may also begin transmitting the synchronization signal upon determining that the user is ready to use the active pen. For example, the active pen may be fixed to the touch screen via a connector, and a switch circuit may be provided in the connector, and may output a signal indicating that the active pen is inserted when the active pen is fixed to the touch screen, and may output a signal indicating that the active pen is pulled out when the active pen is pulled out from the touch screen. Based on the indication signal, the first wireless communication chip may start transmitting a synchronization signal at the time of active pen withdrawal, because the active pen is likely to be ready to be used when the user withdraws the active pen, and thus synchronization needs to be performed in advance.
It should be appreciated that the synchronization process described above is that a synchronization signal is sent by the first wireless communication chip to the second wireless communication chip for synchronization between the touch screen and the active pen. However, in practical applications, 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. For example, the second wireless communication chip transmits a synchronization signal to the first wireless communication chip and simultaneously transmits a second indication signal to the code printing chip to indicate the code printing chip to transmit the code printing signal after the Δt time, and the first wireless communication chip transmits a first indication signal to the touch control chip to indicate the touch control chip to detect the code printing signal after the Δt time when receiving the synchronization signal, wherein Δt < [ Δt ].
The application also provides a wireless communication chip, which is a first wireless communication chip arranged in the electronic equipment and used for synchronizing the touch screen of the electronic equipment and the active pen. As shown in fig. 7, the first wireless communication chip 700 includes:
a processing module 710, configured to generate a synchronization signal and a first indication signal;
A sending module 720, configured to send the synchronization signal to a second wireless communication chip of the active pen, and send the first indication signal to a touch chip of the touch screen at the same time;
the first indication signal is used for indicating the touch control chip to detect a coding signal emitted by the active pen after receiving a first preset time length from the first indication signal, the second wireless communication chip is also used for transmitting a second indication signal to the coding chip of the active pen while receiving the synchronous signal, the second indication signal is used for indicating the coding chip to emit the coding signal after receiving a second preset time length from the second indication signal, and the second preset time length is smaller than the first preset time length and the difference value between the second preset time length and the first preset time length is located in a preset range.
In one implementation, the difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
In one implementation, the preset range is 100 microseconds to 200 microseconds.
In one implementation, chip 700 further includes: and the receiving module is used for receiving the response message aiming at the synchronous signal and sent by the second wireless communication chip.
In one implementation manner, the first wireless communication chip is connected to the touch chip through a pin, and the sending module 720 is specifically configured to: outputting the first indication signal to a corresponding pin of the touch control chip through the pin of the first wireless communication chip.
In one implementation, the synchronization signal is sent periodically.
In one implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
It should be understood that the receiving module 710 and the transmitting module 720 of the first wireless communication chip 700 are, for example, input and output circuits of the first wireless communication chip 700 or a communication interface of the first wireless communication chip 700. The specific process and the beneficial effects of the first wireless communication chip 700 for performing the synchronization operation may be referred to as related descriptions in the method embodiments, and are not repeated herein for brevity.
The present application also provides a touch chip, which is disposed in an electronic device and is used for synchronization between a touch screen and an active pen of the electronic device, as shown in fig. 8, the touch chip 800 includes:
A receiving module 810, configured to receive a first indication signal sent by a first wireless communication chip of the electronic device, where the first indication signal is sent by the first wireless communication chip while sending a synchronization signal to a second wireless communication chip of the active pen;
the detection module 820 is configured to detect a coding signal emitted by the active pen after the receiving module 810 receives a first preset duration from the first indication signal;
the second wireless communication chip is used for sending a second indication signal to the code printing chip of the active pen while receiving the synchronous signal, the second indication signal is used for indicating the code printing chip to emit the code printing signal after receiving a second preset time length from the second indication signal, the second preset time length is smaller than the first preset time length, and a difference value between the second preset time length and the first preset time length is located in a preset range.
In one implementation, the difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
In one implementation, the preset range is 100 microseconds to 200 microseconds.
In one implementation manner, the first wireless communication chip is connected to the touch chip through pins, and the receiving module 810 is specifically configured to: and receiving the first indication signal output by the corresponding pin of the first wireless communication chip through the pin of the touch control chip.
In one implementation, the synchronization signal is sent periodically.
In one implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
It should be understood that the receiving module 810 of the touch chip 800 is, for example, an input circuit of the touch chip 800 or a communication interface of the touch chip 800, and the detecting module 820 of the touch chip 800 is, for example, a detecting circuit or a processing circuit of the touch chip 800. The specific process and the beneficial effects of performing the synchronization operation by the touch chip 800 can be referred to as related descriptions in the method embodiments, and are not repeated here for brevity.
The application also provides a wireless communication chip which is a second wireless communication chip, wherein the second wireless communication chip is arranged in the active pen and is used for synchronizing the touch screen of the electronic equipment and the active pen. As shown in fig. 9, the second wireless communication chip 900 includes:
A receiving module 910, configured to receive a synchronization signal sent by a first wireless communication chip of the electronic device;
a sending module 920, configured to send a second indication signal to the coding chip of the active pen while the receiving module 910 receives the synchronization signal;
the second indication signal is used for indicating the code printing chip to emit the code printing signal after receiving a second preset time length from the second indication signal, the first wireless communication chip is also used for transmitting a first indication signal to a touch control chip of the touch screen while transmitting the synchronous signal, the first indication signal is used for indicating the touch control chip to detect the code printing signal after receiving a first preset time length from the first indication signal, and the second preset time length is smaller than the first preset time length and the difference value between the second preset time length and the first preset time length is in a preset range.
In one implementation, the difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
In one implementation, the preset range is 100 microseconds to 200 microseconds.
In one implementation, the method further comprises: the second wireless communication chip sends a response message for the synchronous signal to the first wireless communication chip while sending the second indication signal to the coding chip.
In one implementation, the second wireless communication chip is connected to the coding chip through pins, and the sending module 920 is specifically configured to: outputting the second indication signal to the corresponding pin of the coding chip through the pin of the second wireless communication chip.
In one implementation, the synchronization signal is sent periodically.
In one implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
It should be understood that the receiving module 710 and the transmitting module 720 of the second wireless communication chip 900 are, for example, input and output circuits of the second wireless communication chip 900 or a communication interface of the second wireless communication chip 900. The specific process and the beneficial effects of performing the synchronization operation by the second wireless communication chip 900 may be referred to as related descriptions in the method embodiments, and are not repeated herein for brevity.
The application also provides a code printing chip which is arranged in the active pen and is used for synchronizing the touch screen of the electronic equipment and the active pen. As shown in fig. 10, the coding chip 1000 includes:
a receiving module 1010, configured to receive a second indication signal sent by a second wireless communication chip of the active pen, where the second indication signal is sent by the second wireless communication chip while receiving a synchronization signal sent by the first wireless communication chip;
the coding module 1020 is configured to transmit a coding signal after receiving a second preset duration from the second indication signal;
the first wireless communication chip is used for sending the synchronous signal and sending a first indication signal to a touch control chip of the touch screen, the first indication signal is used for indicating the touch control chip to detect the code printing signal after receiving a first preset duration from the first indication signal, and the second preset duration is smaller than the first preset duration and the difference value between the second preset duration and the first preset duration is located in a preset range.
In one implementation, the difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
In one implementation, the preset range is 100 microseconds to 200 microseconds.
In one implementation, the second wireless communication chip is connected to the coding chip through pins, and the receiving module 1010 is specifically configured to: and receiving the second indication signal output by the corresponding pin of the second wireless communication chip through the pin of the coding chip.
In one implementation, the synchronization signal is sent periodically.
In one implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
The present application also provides an electronic device including: a first wireless communication chip 700 shown in fig. 7; and, a touch chip 800 shown in fig. 8.
The application also provides an active pen comprising: a second wireless communication chip 900 shown in fig. 9; and, the coding chip 1000 shown in fig. 10.
It should be appreciated that the receiving module 1010 and the coding module 1020 of the coding chip 1000 are, for example, input and output circuits of the coding chip 1000 or a communication interface of the coding chip 1000. The specific process and the beneficial effects of performing the synchronization operation by the code encoding chip 1000 may be referred to as related descriptions in the method embodiments, and are not described herein for brevity.
It should be noted that, on the premise of no conflict, the embodiments and/or technical features in the embodiments described in the present application may be combined with each other arbitrarily, and the technical solutions obtained after combination should also fall into the protection scope of the present application.
The system, the device and the method disclosed in the embodiments of the present application may be implemented in other manners. For example, some features of the method embodiments described above may be omitted or not performed. The above-described apparatus embodiments are merely illustrative, and the division of units is merely one logical function division, and there may be another division manner in actual implementation, and a plurality of units or components may be combined or may be integrated into another system. In addition, the coupling between the elements or the coupling between the elements may be direct or indirect, including electrical, mechanical, or other forms of connection.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working processes and technical effects of the apparatus and device described above may refer to corresponding processes and technical effects in the foregoing method embodiments, which are not described in detail herein.
It should be understood that the specific examples in the embodiments of the present application are intended to help those skilled in the art to better understand the embodiments of the present application, and not to limit the scope of the embodiments of the present application, and that those skilled in the art may make various modifications and variations on the basis of the above embodiments, and that these modifications or variations fall within the scope of the present application.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (54)

1. A method of synchronization between a touch screen and an active pen for an electronic device, the method comprising:
the first wireless communication chip of the electronic equipment sends a synchronous signal to the second wireless communication chip of the active pen and simultaneously sends a first indication signal to the touch control chip of the touch screen;
the first indication signal is used for indicating the touch control chip to detect a coding signal emitted by the active pen after receiving a first preset time length from the first indication signal, the second wireless communication chip is also used for transmitting a second indication signal to the coding chip of the active pen while receiving the synchronous signal, the second indication signal is used for indicating the coding chip to emit the coding signal after receiving a second preset time length from the second indication signal, and the second preset time length is smaller than the first preset time length and the difference value between the second preset time length and the first preset time length is located in a preset range.
2. The method of claim 1, wherein a difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
3. The method of claim 2, wherein the predetermined range is 100 microseconds to 200 microseconds.
4. A method according to any one of claims 1 to 3, further comprising:
the first wireless communication chip receives a response message for the synchronous signal sent by the second wireless communication chip.
5. A method according to any one of claims 1 to 3, wherein the first wireless communication chip is connected to the touch chip through pins, and the first wireless communication chip sends a first indication signal to the touch chip of the touch screen, including:
the first wireless communication chip outputs the first indication signal to the corresponding pin of the touch control chip through the pin of the first wireless communication chip.
6. A method according to any one of claims 1 to 3, characterized in that the synchronization signal is sent periodically.
7. A method according to any one of claims 1 to 3, wherein the first and second wireless communication chips are bluetooth low energy chips.
8. A method of synchronization between a touch screen and an active pen for an electronic device, the method comprising:
the touch control chip of the touch screen receives a first indication signal sent by a first wireless communication chip of the electronic equipment, wherein the first indication signal is sent by the first wireless communication chip while a synchronous signal is sent to a second wireless communication chip of the active pen;
the touch control chip detects a coding signal emitted by the active pen after receiving a first preset duration from the first indication signal;
the second wireless communication chip is used for sending a second indication signal to the code printing chip of the active pen while receiving the synchronous signal, the second indication signal is used for indicating the code printing chip to emit the code printing signal after receiving a second preset time length from the second indication signal, the second preset time length is smaller than the first preset time length, and a difference value between the second preset time length and the first preset time length is located in a preset range.
9. The method of claim 8, wherein a difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
10. The method of claim 9, wherein the predetermined range is 100 microseconds to 200 microseconds.
11. The method of any one of claims 8 to 10, wherein the first wireless communication chip is connected to the touch chip through a pin, and the touch chip of the touch screen receives a first indication signal sent by the first wireless communication chip of the electronic device, including:
the touch chip receives the first indication signal output by the corresponding pin of the first wireless communication chip through the pin of the touch chip.
12. The method according to any of claims 8 to 10, wherein the synchronization signal is sent periodically.
13. The method according to any one of claims 8 to 10, wherein the first wireless communication chip and the second wireless communication chip are bluetooth low energy chips.
14. A method of synchronization between a touch screen and an active pen for an electronic device, the method comprising:
the second wireless communication chip of the active pen receives the synchronous signal sent by the first wireless communication chip of the electronic equipment and sends a second indication signal to the coding chip of the active pen when receiving the synchronous signal;
the second indication signal is used for indicating the code printing chip to emit the code printing signal after receiving a second preset time length from the second indication signal, the first wireless communication chip is also used for transmitting a first indication signal to a touch control chip of the touch screen while transmitting the synchronous signal, the first indication signal is used for indicating the touch control chip to detect the code printing signal after receiving a first preset time length from the first indication signal, and the second preset time length is smaller than the first preset time length and the difference value between the second preset time length and the first preset time length is in a preset range.
15. The method of claim 14, wherein a difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
16. The method of claim 15, wherein the predetermined range is 100 microseconds to 200 microseconds.
17. The method according to any one of claims 14 to 16, further comprising:
the second wireless communication chip sends a response message for the synchronous signal to the first wireless communication chip while sending the second indication signal to the coding chip.
18. The method of any one of claims 14 to 16, wherein the second wireless communication chip is connected to the coding chip through pins, and wherein the second wireless communication chip sends a second indication signal to the coding chip of the active pen, comprising:
the second wireless communication chip outputs the second indication signal to the corresponding pin of the coding chip through the pin of the second wireless communication chip.
19. The method according to any of claims 14 to 16, wherein the synchronization signal is sent periodically.
20. The method according to any one of claims 14 to 16, wherein the first wireless communication chip and the second wireless communication chip are bluetooth low energy chips.
21. A method of synchronization between a touch screen and an active pen for an electronic device, the method comprising:
the coding chip of the active pen receives a second indication signal sent by a second wireless communication chip of the active pen, wherein the second indication signal is sent by the second wireless communication chip when receiving a synchronous signal sent by a first wireless communication chip of the electronic equipment;
the code printing chip transmits a code printing signal after receiving a second preset time length from the second indication signal;
the first wireless communication chip is used for sending the synchronous signal and sending a first indication signal to a touch control chip of the touch screen, the first indication signal is used for indicating the touch control chip to detect the code printing signal after receiving a first preset duration from the first indication signal, and the second preset duration is smaller than the first preset duration and the difference value between the second preset duration and the first preset duration is located in a preset range.
22. The method of claim 21, wherein a difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
23. The method of claim 22, wherein the predetermined range is 100 microseconds to 200 microseconds.
24. The method of any one of claims 21 to 23, wherein the second wireless communication chip is connected to the coding chip through pins, and the coding chip of the active pen receives a second indication signal sent by the second wireless communication chip of the active pen, comprising:
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.
25. The method according to any of claims 21 to 23, wherein the synchronization signal is sent periodically.
26. The method according to any one of claims 21 to 23, wherein the first wireless communication chip and the second wireless communication chip are bluetooth low energy chips.
27. The utility model provides a wireless communication chip, its characterized in that, wireless communication chip is first wireless communication chip, first wireless communication chip sets up in electronic equipment for the synchronization between touch-sensitive screen and the initiative pen of electronic equipment, first wireless communication chip includes:
The processing module is used for generating a synchronous signal and a first indication signal;
the transmitting module is used for transmitting the synchronous signal to the second wireless communication chip of the active pen and simultaneously transmitting the first indication signal to the touch control chip of the touch screen;
the first indication signal is used for indicating the touch control chip to detect a coding signal emitted by the active pen after receiving a first preset time length from the first indication signal, the second wireless communication chip is also used for transmitting a second indication signal to the coding chip of the active pen while receiving the synchronous signal, the second indication signal is used for indicating the coding chip to emit the coding signal after receiving a second preset time length from the second indication signal, and the second preset time length is smaller than the first preset time length and the difference value between the second preset time length and the first preset time length is located in a preset range.
28. The wireless communication chip of claim 27, wherein a difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
29. The wireless communication chip of claim 28, wherein the predetermined range is 100 microseconds to 200 microseconds.
30. The wireless communication chip of any one of claims 27 to 29, further comprising:
and the receiving module is used for receiving the response message aiming at the synchronous signal and sent by the second wireless communication chip.
31. The wireless communication chip according to any one of claims 27 to 29, wherein the first wireless communication chip is connected to the touch chip through pins, and the transmitting module is specifically configured to:
outputting the first indication signal to a corresponding pin of the touch control chip through the pin of the first wireless communication chip.
32. The wireless communication chip of any of claims 27 to 29, wherein the synchronization signal is transmitted periodically.
33. The wireless communication chip according to any one of claims 27 to 29, wherein the first wireless communication chip and the second wireless communication chip are Bluetooth Low Energy (BLE) chips.
34. A touch chip, characterized in that, set up in electronic equipment for the synchronization between touch-sensitive screen and the initiative pen of electronic equipment, the touch chip includes:
A receiving module, configured to receive a first indication signal sent by a first wireless communication chip of the electronic device, where the first indication signal is sent by the first wireless communication chip while a synchronization signal is sent to a second wireless communication chip of the active pen;
the detection module is used for detecting the coding signal emitted by the active pen after the receiving module receives the first preset duration from the first indication signal;
the second wireless communication chip is used for sending a second indication signal to the code printing chip of the active pen while receiving the synchronous signal, the second indication signal is used for indicating the code printing chip to emit the code printing signal after receiving a second preset time length from the second indication signal, the second preset time length is smaller than the first preset time length, and a difference value between the second preset time length and the first preset time length is located in a preset range.
35. The touch chip of claim 34, wherein a difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
36. The touch chip of claim 35, wherein the predetermined range is 100 microseconds to 200 microseconds.
37. The touch chip of any one of claims 34 to 36, wherein the first wireless communication chip is connected to the touch chip through pins, and the receiving module is specifically configured to:
and receiving the first indication signal output by the corresponding pin of the first wireless communication chip through the pin of the touch control chip.
38. The touch chip of any one of claims 34 to 36, wherein the synchronization signal is sent periodically.
39. The touch chip of any one of claims 34 to 36, wherein the first and second wireless communication chips are Bluetooth Low Energy (BLE) chips.
40. A wireless communication chip, characterized in that the wireless communication chip is a second wireless communication chip, the second wireless communication chip is disposed in an active pen, and is used for synchronization between a touch screen of an electronic device and the active pen, the second wireless communication chip includes:
the receiving module is used for receiving the synchronous signal sent by the first wireless communication chip of the electronic equipment;
The sending module is used for sending a second indication signal to the coding chip of the active pen when the receiving module receives the synchronous signal;
the second indication signal is used for indicating the code printing chip to emit the code printing signal after receiving a second preset time length from the second indication signal, the first wireless communication chip is also used for transmitting a first indication signal to a touch control chip of the touch screen while transmitting the synchronous signal, the first indication signal is used for indicating the touch control chip to detect the code printing signal after receiving a first preset time length from the first indication signal, and the second preset time length is smaller than the first preset time length and the difference value between the second preset time length and the first preset time length is in a preset range.
41. The wireless communication chip of claim 40, wherein a difference between the second preset duration and the first preset duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
42. The wireless communication chip of claim 41, wherein the predetermined range is 100 microseconds to 200 microseconds.
43. The wireless communication chip of any one of claims 40 to 42, wherein the transmitting module is further configured to:
the second wireless communication chip sends a response message for the synchronous signal to the first wireless communication chip while sending the second indication signal to the coding chip.
44. The wireless communication chip of any one of claims 40 to 42, wherein the second wireless communication chip is connected to the coding chip through pins, and the transmitting module is specifically configured to:
outputting the second indication signal to the corresponding pin of the coding chip through the pin of the second wireless communication chip.
45. The wireless communication chip of any of claims 40-42, wherein the synchronization signal is sent periodically.
46. The wireless communication chip of any one of claims 40 to 42, wherein the first wireless communication chip and the second wireless communication chip are bluetooth low energy (bluetooth BLE) chips.
47. The utility model provides a code printing chip, its characterized in that sets up in the initiative pen for the synchronization between the touch-sensitive screen of electronic equipment and the initiative pen, code printing chip includes:
A receiving module, configured to receive a second indication signal sent by a second wireless communication chip of the active pen, where the second indication signal is sent by the second wireless communication chip while receiving a synchronization signal sent by the first wireless communication chip;
the code printing module is used for transmitting code printing signals after receiving a second preset time length from the second indication signals;
the first wireless communication chip is used for sending the synchronous signal and sending a first indication signal to a touch control chip of the touch screen, the first indication signal is used for indicating the touch control chip to detect the code printing signal after receiving a first preset duration from the first indication signal, and the second preset duration is smaller than the first preset duration and the difference value between the second preset duration and the first preset duration is located in a preset range.
48. A coding chip according to claim 47, wherein the difference between the second predetermined time period and the first predetermined time period is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
49. The coding chip of claim 48, wherein the predetermined range is 100 microseconds to 200 microseconds.
50. The coding chip according to any one of claims 47 to 49, wherein the second wireless communication chip is connected to the coding chip via pins, and the receiving module is specifically configured to:
and receiving the second indication signal output by the corresponding pin of the second wireless communication chip through the pin of the coding chip.
51. The coding chip of any one of claims 47 to 49, wherein the synchronization signal is sent periodically.
52. The coding chip of any one of claims 47 to 49, wherein the first and second wireless communication chips are Bluetooth Low Energy (BLE) chips.
53. An electronic device, comprising:
the wireless communication chip of any of the preceding claims 27 to 33; the method comprises the steps of,
the touch chip of any of claims 34-39.
54. An active pen, comprising:
the wireless communication chip of any of the preceding claims 40 to 46; the method comprises the steps of,
a coding chip according to any one of claims 47 to 52.
CN202010491240.1A 2020-06-02 2020-06-02 Synchronization method, wireless communication chip, touch chip and coding chip Active CN111638814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010491240.1A CN111638814B (en) 2020-06-02 2020-06-02 Synchronization method, wireless communication chip, touch chip and coding chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010491240.1A CN111638814B (en) 2020-06-02 2020-06-02 Synchronization method, wireless communication chip, touch chip and coding chip

Publications (2)

Publication Number Publication Date
CN111638814A CN111638814A (en) 2020-09-08
CN111638814B true CN111638814B (en) 2023-11-10

Family

ID=72330435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010491240.1A Active CN111638814B (en) 2020-06-02 2020-06-02 Synchronization method, wireless communication chip, touch chip and coding chip

Country Status (1)

Country Link
CN (1) CN111638814B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930271B (en) * 2020-09-27 2021-01-22 深圳市汇顶科技股份有限公司 Touch chip, touch detection signal processing method and electronic equipment
CN113110763A (en) * 2021-04-26 2021-07-13 北京集创北方科技股份有限公司 Touch detection method and device, chip and electronic equipment
CN114356124B (en) * 2021-12-06 2023-09-29 深圳市千分一智能技术有限公司 Cycle self-adaption method, device, active pen and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968196A (en) * 2012-11-29 2013-03-13 苏州瀚瑞微电子有限公司 Wireless signal transmission method for capacitance pen system
CN104571732A (en) * 2013-10-14 2015-04-29 深圳市汇顶科技股份有限公司 Touch terminal and active touch pen detection method and system
KR20180068383A (en) * 2016-12-13 2018-06-22 엘지디스플레이 주식회사 Electronic device having a touch sensor and driving method thereof
CN111095173A (en) * 2019-11-22 2020-05-01 深圳市汇顶科技股份有限公司 Pressure detection method, device and system, touch chip and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012022543A (en) * 2010-07-15 2012-02-02 Panasonic Corp Touch panel system
US8922525B2 (en) * 2012-03-19 2014-12-30 Htc Corporation Touch-controlled electronic device and method for reducing wireless signal interference to touch sensing function
TWI531934B (en) * 2014-07-02 2016-05-01 奕力科技股份有限公司 Stylus pen, synchronization system and method thereof for touch detection
KR102340937B1 (en) * 2015-07-31 2021-12-20 엘지디스플레이 주식회사 Stylus pen and touch sensing system and driving method of the same
TWI614642B (en) * 2016-10-27 2018-02-11 翰碩電子股份有限公司 Synchronized time difference signal transmitting method and ?capacitive stylus as well as touch input apparatus applying this method
TWI571776B (en) * 2016-10-28 2017-02-21 翰碩電子股份有限公司 Capacitive stylus and touch control apparatus applying synchronized time difference signal transmitting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968196A (en) * 2012-11-29 2013-03-13 苏州瀚瑞微电子有限公司 Wireless signal transmission method for capacitance pen system
CN104571732A (en) * 2013-10-14 2015-04-29 深圳市汇顶科技股份有限公司 Touch terminal and active touch pen detection method and system
KR20180068383A (en) * 2016-12-13 2018-06-22 엘지디스플레이 주식회사 Electronic device having a touch sensor and driving method thereof
CN111095173A (en) * 2019-11-22 2020-05-01 深圳市汇顶科技股份有限公司 Pressure detection method, device and system, touch chip and electronic equipment

Also Published As

Publication number Publication date
CN111638814A (en) 2020-09-08

Similar Documents

Publication Publication Date Title
CN111638814B (en) Synchronization method, wireless communication chip, touch chip and coding chip
US20220308687A1 (en) Stylus and controller
US10969914B2 (en) Method for sensor controller to detect stylus using repeated transmission of control signals, stylus, and system
US11385729B2 (en) Communication method, communication system, sensor controller, and stylus
US20200192496A1 (en) Electronic device for selective transmission of downlink signal to sensor controller
US10861323B2 (en) Method carried out in system including active stylus and sensor controller, sensor controller, and active stylus
US11054921B2 (en) Stylus and sensor controller
CN111290665B (en) Pressure detection method and device, active pen, touch chip and electronic equipment
US11789563B2 (en) Touch controller and pen input system
US20210200377A1 (en) Method carried out by stylus, method carried out by dual stylus and dual controller, and dual stylus
KR20160055837A (en) Stylus synchronization with a digitizer system
CN112905047A (en) Anti-interference method, touch control chip and active pen refill sheet
JP2002351825A (en) Communication system
US20230161425A1 (en) Synchronization method, wireless communication chip, synchronization device, electronic device and active pen
US11474636B2 (en) Synchronization method, wireless communication chip, touch control chip, and driving chip
US11614812B2 (en) Method and apparatus for pressure detection, active pen, touch control chip, and electronic device
CN112558797B (en) Active pen, control method and device thereof, and computer-readable storage medium
US11989366B2 (en) System including pen and touch controller, method executed by pen, pen, and touch controller
US20240077971A1 (en) Electronic device, active stylus pen, method of synchronizing thereof
CN115686266A (en) Method for synchronization between active pen and touch screen, active pen and touch screen

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant