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

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

Info

Publication number
CN111638814A
CN111638814A CN202010491240.1A CN202010491240A CN111638814A CN 111638814 A CN111638814 A CN 111638814A CN 202010491240 A CN202010491240 A CN 202010491240A CN 111638814 A CN111638814 A CN 111638814A
Authority
CN
China
Prior art keywords
wireless communication
chip
communication chip
signal
preset time
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.)
Granted
Application number
CN202010491240.1A
Other languages
Chinese (zh)
Other versions
CN111638814B (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

Images

Classifications

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

Abstract

The application provides a synchronization method, a wireless communication chip, a touch control chip and a coding chip, which can effectively realize synchronization between a touch screen and an active pen. The method comprises the following steps: a first wireless communication chip of the electronic equipment sends a synchronous signal to a second wireless communication chip of the active pen and simultaneously sends a first indication signal to a touch control chip of the touch screen; the first indication signal is used for indicating that the touch control chip detects a code printing signal transmitted 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 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 that the code printing chip transmits 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 within a preset range.

Description

Synchronization method, wireless communication chip, touch control 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 popularization of capacitive screens and active pens, the application of capacitive active pens is becoming more and more extensive. The protocol between the active pen and the touch screen is also evolving, the trend of which has evolved from earlier one-way communication to now two-way communication. However, no matter what protocol is adopted, the connection between the touch screen and the active pen can be established according to the signal receiving and sending time sequence and period agreed in the protocol, so that the touch screen can acquire the coordinate signal of the active pen, and the writing function of the active pen is realized. Therefore, the working 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 the synchronization between the touch screen and the active pen becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a synchronization method, a wireless communication chip, a touch chip and a coding chip, which can effectively realize 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 including:
a first wireless communication chip of the electronic equipment sends a synchronous signal to a second wireless communication chip of the active pen and simultaneously sends a first indication signal to a touch control chip of the touch screen;
the first indication signal is used for indicating that the touch control chip detects a code printing signal transmitted by the active pen after receiving a first preset time length from the first indication signal, the second wireless communication chip is used for receiving the synchronous signal and simultaneously sending a second indication signal to the code printing chip of the active pen, the second indication signal is used for indicating that the code printing chip transmits the code printing 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 a difference value between the second preset time length and the first preset time length is located in a preset range.
In a possible implementation manner, the difference between the second preset time duration and the first preset time 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 synchronization signal sent by the second wireless communication chip.
In a possible implementation manner, the first wireless communication chip is connected to the touch chip through a pin, and the sending of the first indication signal by the first wireless communication chip to the touch chip of the touch screen includes: the first wireless communication chip outputs the first indication signal to a corresponding pin of the touch chip through the pin of the first wireless communication chip.
In one possible implementation, the synchronization signal is transmitted periodically.
In one possible implementation manner, the first wireless communication chip and the second wireless communication chip are 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:
a touch 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 sending a synchronization signal to a second wireless communication chip of the active pen;
the touch control chip detects 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 used for sending a second indicating signal to the code printing chip of the active pen when receiving the synchronizing signal, the second indicating signal is used for indicating the code printing chip to transmit the code printing signal after receiving a second preset time length from the second indicating signal, and 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 a possible implementation manner, the difference between the second preset time duration and the first preset time 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 a possible implementation manner, the connecting the first wireless communication chip and the touch chip through a pin, and the receiving, by the touch chip of the touch screen, the first indication signal sent by the first wireless communication chip of the electronic device includes: and the touch control chip receives 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 transmitted 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 including:
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 indicating signal to the coding chip of the active pen while receiving the synchronous signal;
the second indication signal is used for indicating that 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 synchronization signal and also used for sending a first indication signal to the touch chip of the touch screen, the first indication signal is used for indicating that the touch chip detects 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 a difference value between the second preset time length and the first preset time length is located in a preset range.
In a possible implementation manner, the difference between the second preset time duration and the first preset time 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: and the second wireless communication chip sends a response message aiming at the synchronous signal to the first wireless communication chip while sending the second indication signal to the coding chip.
In a 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: and the second wireless communication chip outputs the second indicating signal to a corresponding pin of the coding chip through the pin of the second wireless communication chip.
In one possible implementation, the synchronization signal is transmitted 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 for synchronization between a touch screen and an active pen of an electronic device is provided, 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 the second wireless communication chip receives a synchronization 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 a first indicating signal to a touch chip of the touch screen while sending the synchronizing signal, the first indicating signal is used for indicating the touch chip to detect the code printing signal after receiving a first preset time length from the first indicating 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 a possible implementation manner, the difference between the second preset time duration and the first preset time 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 a possible implementation manner, the second wireless communication chip is connected to the coding chip through a pin, and the coding chip of the active pen receives a second indication signal sent by the second wireless communication chip of the active pen, including: and the coding chip receives the second indicating 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 transmitted 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 disposed in an electronic device and used for synchronization between a touch screen of the electronic device and an active pen, and the first wireless communication chip includes:
the processing module is used for generating a synchronization signal and a first indication signal;
the sending module is used for sending the synchronous signal to a second wireless communication chip of the active pen and sending the first indicating signal to a touch chip of the touch screen;
the first indication signal is used for indicating that the touch control chip detects a code printing signal transmitted by the active pen after receiving a first preset time length from the first indication signal, the second wireless communication chip is used for receiving the synchronous signal and simultaneously sending a second indication signal to the code printing chip of the active pen, the second indication signal is used for indicating that the code printing chip transmits the code printing 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 a difference value between the second preset time length and the first preset time length is located in a preset range.
In a possible implementation manner, the difference between the second preset time duration and the first preset time 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 a response message aiming at the synchronous signal and sent by the second wireless communication chip.
In a possible implementation manner, the sending module is specifically configured to: and outputting the first indication signal to a corresponding pin of the touch chip through the pin of the first wireless communication chip.
In one possible implementation, the synchronization signal is transmitted 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, disposed in an electronic device, for synchronizing a touch screen of the electronic device with an active pen, where the touch chip includes:
the receiving module is used for receiving 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 when the first wireless communication chip sends a synchronization signal to a second wireless communication chip of the active pen;
the detection module is used for detecting the code printing signal emitted by the active pen after the receiving module receives a first preset time length from the first indication signal;
the second wireless communication chip is used for sending a second indicating signal to the code printing chip of the active pen when receiving the synchronizing signal, the second indicating signal is used for indicating the code printing chip to transmit the code printing signal after receiving a second preset time length from the second indicating signal, and 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 a possible implementation manner, the difference between the second preset time duration and the first preset time 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 a 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 transmitted periodically.
In one possible implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
In a seventh aspect, a wireless communication chip is provided, where the wireless communication chip is a second wireless communication chip, the second wireless communication chip is disposed in an active pen and used for synchronization between a touch screen of an electronic device and the active pen, and the second wireless communication chip includes:
the receiving module is used for receiving a synchronization signal sent by a first wireless communication chip of the electronic equipment;
the sending module is used for sending a second indicating signal to a coding chip of the active pen when the receiving module receives the synchronous signal;
the second indication signal is used for indicating that 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 synchronization signal and also used for sending a first indication signal to the touch chip of the touch screen, the first indication signal is used for indicating that the touch chip detects 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 a difference value between the second preset time length and the first preset time length is located in a preset range.
In a possible implementation manner, the difference between the second preset time duration and the first preset time 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: and the second wireless communication chip sends a response message aiming at the synchronous signal to the first wireless communication chip while sending the second indication signal to the coding chip.
In a possible implementation manner, the sending module is specifically configured to: and outputting the second indicating signal to a corresponding pin of the coding chip through the pin of the second wireless communication chip.
In one possible implementation, the synchronization signal is transmitted periodically.
In one possible implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
In an eighth aspect, a coding chip is provided, which is disposed in an active pen, and is used for synchronizing the touch screen of the electronic device with the active pen, and the coding chip includes:
the receiving module is used for receiving a second indicating signal sent by a second wireless communication chip of the active pen, wherein the second indicating signal is sent by the second wireless communication chip when the second wireless communication chip receives a synchronous signal sent by the first wireless communication chip;
the code printing module is used for transmitting 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 a first indicating signal to a touch chip of the touch screen while sending the synchronizing signal, the first indicating signal is used for indicating the touch chip to detect the code printing signal after receiving a first preset time length from the first indicating 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 a possible implementation manner, the difference between the second preset time duration and the first preset time 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 a 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 transmitted 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: the wireless communication chip of the foregoing fifth aspect or any possible implementation manner of the fifth aspect; and the 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: the wireless communication chip of the foregoing seventh aspect or any possible implementation manner of the seventh aspect; and the coding chip in the aforementioned eighth aspect or any possible implementation manner of the eighth aspect.
According to the technical scheme, the first wireless communication chip of the electronic equipment and the second wireless communication chip of the active pen are used for achieving synchronization between the touch screen and the active pen. When 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 indication signal to the touch chip of the touch screen, and the first indication signal is used for indicating the touch chip to detect a code printing signal emitted by the active pen after a first preset time. And the second wireless communication chip of the active pen sends a second indicating signal to the coding chip of the active pen while receiving the synchronous signal, and the second indicating signal is used for indicating the coding chip to transmit the coding signal after a second preset time length. In consideration of the transmission delay of the wireless communication, the second preset time period is less than the first preset time period and the difference between the second preset time period and the first preset time period is substantially constant. Therefore, when the active pen emits the code printing signal, the touch screen just detects the code printing signal, and therefore synchronization between the touch screen and the active pen is achieved. Because the wireless communication chip is utilized to realize the synchronization between the touch screen and the active pen, the time delay caused by the synchronization mode of the touch screen blind detection code printing signal is avoided, and the active pen can start to synchronize when starting to work, so the response speed of the first writing of the active pen is increased, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram of the use of an active pen on a touch screen.
FIG. 2 is a schematic diagram of synchronization between a touch screen and an active pen.
Fig. 3 is a flowchart 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 present application.
Fig. 5 is a schematic diagram of a possible implementation manner of a touch chip according to an embodiment of the present disclosure.
Fig. 6 is a schematic diagram of a possible implementation manner of the coding chip according to the embodiment of the present 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 present 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 according to an embodiment of the present application.
Detailed Description
The technical solution in the present 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 pen point coordinates of the active pen, and the screen end displays handwriting of the active pen according to the pen point coordinates. For example, as shown in fig. 1, a certain number of horizontal and vertical detection electrodes are distributed on the touch screen 200, and a coding signal output by a tip (tip) electrode of the active pen 100 acts on a certain position of the touch screen 200, so that both the horizontal detection electrode and the vertical detection electrode corresponding to the certain position generate corresponding detection signals, and thus, a two-dimensional position coordinate of the active pen 100 on the touch screen 200 can be calculated according to the detection signals.
The coding signal, which may also be referred to as a drive signal, an excitation signal, etc., 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 mutually independent systems, the touch screen does not know when a user uses the active pen to write on the touch screen, and the moment when the user starts to detect the code printing signal emitted by the active pen cannot be predicted. Therefore, the active pen must be synchronized with the touch screen in time sequence, and the touch screen needs to keep synchronization for a long time during writing, so that the touch screen can stably and correctly detect the coding signal emitted by the active pen, and the synchronization error usually needs to be less than 50 us. According to the current active Pen Protocol, such as Microsoft Pen Protocol (MPP), universal stylus alliance (USI) Protocol, etc., the touch screen needs to periodically detect the coding signal transmitted by the active Pen, and if the touch screen detects the coding signal transmitted by the active Pen in a certain signal sampling, the detection period is adjusted to perform timing synchronization. For example, as shown in fig. 2, when the period of the touch screen detecting the code printing signal is aligned with the period of the active pen emitting the code printing signal in time sequence, and the signal detection window of the touch screen is consistent with the code printing window of the active pen in time sequence, it is indicated 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 requires one or two periods, and one period may be about 16ms, so that this synchronization method introduces a certain time delay. In addition, the height requirement for the active pen is typically only 5mm to 10mm due to the touch screen detection, i.e. the tip of the active pen is already very close to the touch screen surface before synchronization can begin. Therefore, a certain time delay is caused in the synchronization process, so that the response of the first writing of the active pen is slowed down, and the writing experience of the user is seriously influenced.
Therefore, the synchronization method is provided, synchronization between the active pen and the touch screen can be effectively achieved, time delay caused by the synchronization process is greatly reduced, and user experience is improved.
Fig. 3 is a flowchart 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, the 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 a touch chip of the touch screen.
At 320, the touch chip receives a first indication signal sent by the first wireless communication chip.
At 330, the touch chip detects the code signal emitted by the active pen after receiving a first preset duration from the first indication signal.
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.
At 350, the coding chip receives a second indication signal sent by the second wireless communication chip.
At 360, the code chip transmits the code signal after a second preset duration from the reception of the second indication signal.
According to the embodiment of the application, the touch screen and the active pen are synchronized 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, when 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 indication signal to the touch chip of the touch screen, and the first indication signal is used for indicating the touch chip to detect a code printing 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 sends a second indicating signal to the coding chip of the active pen while receiving the synchronous signal, and the second indicating signal is used for indicating the coding chip to transmit the coding signal after a second preset time length.
Therefore, the first preset time and the second preset time are set, so that the touch screen just detects the code printing signal when the active pen transmits the code printing signal, and the touch screen and the active pen are synchronized. Because the wireless communication chip is utilized to realize the synchronization between the touch screen and the active pen, the time delay caused by the synchronization mode of the touch screen blind detection code printing signal is avoided, and the active pen can be synchronized when starting to work, so that the response speed of the first writing of the active pen is increased, and the user experience is improved.
The second preset time period is shorter than the first preset time period in consideration of the transmission delay of the wireless communication, and the 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, for example, a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
The difference between the second preset time period and the first preset time period may be in a preset range, for example, between 100us and 200 us.
In one implementation, the method 300 may further include 370 and 380 to ensure reliability of signal transmission.
At 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 coding chip.
In 380, the first wireless communication chip receives the reply message sent by the second wireless communication chip.
In one implementation, the synchronization signal is transmitted periodically. That is, the first wireless communication chip, the second wireless communication chip, the coding chip and the touch chip may periodically perform the corresponding operations in the method 300. The transmission cycle of the synchronization signal may be 16.25ms or the like, for example. The code printing period of the active pen and the detection period of the touch screen are automatically and continuously adjusted in a fine mode based on the synchronous signals, and the synchronization is always kept.
The following describes the synchronization method of the present application in detail, taking fig. 4 as an example. In fig. 4, a first wireless communication chip of an electronic device periodically transmits a synchronization signal. Each time the first wireless communication chip sends a synchronization signal, the first wireless communication chip sends a first indication signal to a touch chip corresponding to the touch screen, the touch chip receives the first indication signal at the time T0, the time T1, the time T2, the time T3, the time T4 and the time T5, and the detection of a code printing signal emitted by the active pen is started after the time DeltaT from the time T0, the time T1, the time T2, the time T3, the time T4 and the time T5.
The second wireless communication chip sends a second indication signal to the coding chip of the active pen each time the second wireless communication chip receives the synchronization signal sent by the first wireless communication chip. The coding chip receives the second indication signal at the time t0, t1, t2, t3, t4 and t5, and starts to transmit the coding signal after the time length Δ t from 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 < Δt. The difference between Δ T and Δ T is related to the first wireless communication chip and the second wireless communication chip themselves, and generally the difference between Δ T and Δ T can be controlled to be substantially constant.
Therefore, the touch screen and the active pen take the synchronous signal as a starting point, the active pen starts to emit the code printing signal after the time length of delta T, and the touch screen starts to detect the code printing signal after the time length of delta T, so that the synchronization between the touch screen and the active pen can be ensured. By adopting the synchronization mode of the embodiment of the application, the synchronization 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, synchronization can be performed in a wireless communication mode. Moreover, as the wireless communication allows a certain transmission distance, the active pen and the touch screen can synchronize well in advance when the distance is far away, for example, the communication distance of BLE is generally more than 5 meters. And, 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 transmitted 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 writing response speed of the active pen is greatly improved.
Fig. 5 and 6 show a 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.
At 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 chip starts the timer at the moment of receiving the first indication signal so as to determine whether delta T arrives through the timer.
In 503, the touch chip determines whether a Δ T duration has elapsed.
If Δ T has been reached, 504 is performed.
At 504, the touch chip detects the code signal.
The touch control chip can acquire a coding signal transmitted by the active pen through a transverse or longitudinal detection electrode in the touch screen.
The touch chip can periodically execute the above process to keep long-time synchronization with the active pen.
As shown in fig. 6, the coding chip may perform the following steps:
at 601, the coding chip determines whether a second indication signal is received.
If a second indication signal is received 602 is performed.
At 602, the coding 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 indicating signal so as to determine whether delta t arrives through the timer.
In 603, the coding chip determines whether a time duration of Δ t has elapsed.
If Δ t has been reached, 604 is performed.
At 604, the coding chip transmits a coding signal.
The coding chip can periodically execute the above process to keep long-time synchronization with the touch screen.
In this embodiment of the application, the first wireless communication chip sends the first indication signal to the touch chip, where the first indication signal may be output to a corresponding pin of the touch chip through a pin of the first wireless communication chip. For example, the first wireless communication chip is connected to the touch chip through a pin, and the first wireless communication chip immediately turns over a signal once through the pin to notify the touch chip each time a synchronization signal is sent to the second wireless communication chip.
Similarly, the second wireless communication chip sends 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 latency of the multitasking operating system has uncertainty, while the first wireless communication chip sends the synchronization signal, the first communication chip should output the first indication signal to the touch chip at the first time of the chip bottom layer, so that the first indication signal is not affected by the response latency of the operating system. The first communication chip may output the first indication signal at a first time during an interrupt process of a chip bottom layer, for example. Similarly, the second wireless communication chip should output the second indication signal to the coding chip at the first time of the chip bottom layer while 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 BLE chips, WIFI chips, or the like, for example. Considering that the power consumption and the cost of the BLE chip are low, the BLE chip can be generally arranged in the active pen to perform bidirectional communication with the BLE chip in the electronic device, so that synchronization is realized.
During the synchronization process of the touch screen and the active pen, the first wireless communication chip can continuously transmit 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 through a connector, and a switch circuit may be disposed in the connector, and the switch circuit 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 removed when the active pen is removed from the touch screen. Based on the indication signal, the first wireless communication chip may start sending the synchronization signal when the active pen is pulled out, since the user is likely to prepare to use the active pen when pulling out the active pen, and therefore needs to synchronize in advance.
It should be understood that the above-described synchronization process is a process in which a first wireless communication chip transmits a synchronization signal to a 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 second indication signal to the coding chip to indicate the coding chip to transmit the coding signal after a time length of Δ T while transmitting the synchronization signal to the first wireless communication chip, and the first wireless communication chip transmits a first indication signal to the touch chip to indicate the touch chip to detect the coding signal after the time length of Δ T while receiving the synchronization signal, where Δ T is less than Δ T.
The application further provides a wireless communication chip, the wireless communication chip is a first wireless communication chip, and the first wireless communication chip is arranged in the electronic equipment and used for synchronization between a 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 for generating 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 that the touch control chip detects a code printing signal transmitted by the active pen after receiving a first preset time length from the first indication signal, the second wireless communication chip is used for receiving the synchronous signal and simultaneously sending a second indication signal to the code printing chip of the active pen, the second indication signal is used for indicating that the code printing chip transmits the code printing 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 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 time duration and the first preset time 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 predetermined range is 100 microseconds to 200 microseconds.
In one implementation, chip 700 further includes: and the receiving module is used for receiving a response message aiming at the synchronous signal and sent by the second wireless communication chip.
In an 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: and outputting the first indication signal to a corresponding pin of the touch chip through the pin of the first wireless communication chip.
In one implementation, the synchronization signal is transmitted 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. For a specific process of the first wireless communication chip 700 to perform the synchronization operation and the resulting beneficial effects, reference may be made to the related description in the method embodiment, and for brevity, no further description is provided here.
The present application further provides a touch chip, disposed in an electronic device, for synchronizing a touch screen of the electronic device with an active pen, 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;
a detecting module 820, configured to detect a code printing signal emitted by the active pen after a first preset time period from when the receiving module 810 receives the first indication signal;
the second wireless communication chip is used for sending a second indicating signal to the code printing chip of the active pen when receiving the synchronizing signal, the second indicating signal is used for indicating the code printing chip to transmit the code printing signal after receiving a second preset time length from the second indicating signal, and 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 time duration and the first preset time 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 predetermined range is 100 microseconds to 200 microseconds.
In an implementation manner, the first wireless communication chip is connected to the touch chip through a pin, 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 transmitted 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. For a specific process of the touch chip 800 executing the synchronization operation and the beneficial effects thereof, reference may be made to the related description in the method embodiment, and for brevity, no further description is given here.
The application further provides a wireless communication chip, the wireless communication chip is a second wireless communication chip, and the second wireless communication chip is arranged in the active pen and used for synchronizing the touch screen of the electronic equipment with 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 a coding chip of the active pen while the receiving module 910 receives the synchronization signal;
the second indication signal is used for indicating that 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 synchronization signal and also used for sending a first indication signal to the touch chip of the touch screen, the first indication signal is used for indicating that the touch chip detects 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 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 time duration and the first preset time 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 predetermined range is 100 microseconds to 200 microseconds.
In one implementation, the method further comprises: and the second wireless communication chip sends a response message aiming at the synchronous signal to the first wireless communication chip while sending the second indication signal to the coding chip.
In an implementation manner, the second wireless communication chip is connected to the coding chip through a pin, and the sending module 920 is specifically configured to: and outputting the second indicating signal to a corresponding pin of the coding chip through the pin of the second wireless communication chip.
In one implementation, the synchronization signal is transmitted 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. For a specific process of the second wireless communication chip 900 to perform the synchronization operation and the resulting beneficial effects, reference may be made to the relevant description in the method embodiment, and for brevity, no further description is provided here.
The application also provides a code printing chip which is arranged in the active pen and used for synchronizing the touch screen of the electronic equipment with 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 code printing module 1020 is configured to transmit a code printing signal after a second preset time period from the reception of the second indication signal;
the first wireless communication chip is used for sending a first indicating signal to a touch chip of the touch screen while sending the synchronizing signal, the first indicating signal is used for indicating the touch chip to detect the code printing signal after receiving a first preset time length from the first indicating 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 time duration and the first preset time 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 predetermined range is 100 microseconds to 200 microseconds.
In one implementation, the second wireless communication chip is connected to the coding chip through a pin, 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 transmitted periodically.
In one implementation, the first wireless communication chip and the second wireless communication chip are BLE chips.
The present application further provides an electronic device, comprising: the first wireless communication chip 700 shown in fig. 7; and, a touch chip 800 shown in fig. 8.
The present application further provides an active pen, comprising: a second wireless communication chip 900 shown in fig. 9; and a coding chip 1000 shown in fig. 10.
It should be understood 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. For a specific process of the coding chip 1000 to perform the synchronization operation and the beneficial effects thereof, reference may be made to the related description in the method embodiment, and for brevity, no further description is given here.
It should be noted that, without conflict, the embodiments and/or technical features in the embodiments described in the present application may be arbitrarily combined with each other, and the technical solutions obtained after the combination also fall within the protection scope of the present application.
The system, apparatus and method disclosed in the embodiments of the present application can be implemented in other ways. For example, some features of the method embodiments described above may be omitted or not performed. The above-described device embodiments are merely illustrative, the division of the unit is only one logical functional division, and there may be other divisions when the actual implementation is performed, and a plurality of units or components may be combined or may be integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the coupling includes electrical, mechanical or other connections.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes and the generated technical effects of the above-described apparatuses and devices may refer to the corresponding processes and technical effects in the foregoing method embodiments, and are not described herein again.
It should be understood that the specific examples in the embodiments of the present application are for the purpose of promoting a better understanding of the embodiments of the present application, and are not intended to limit the scope of the embodiments of the present application, and that various modifications and variations can be made by those skilled in the art based on the above embodiments and fall within the scope of the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by 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 synchronization method for synchronization between a touch screen and an active pen of an electronic device, the method comprising:
a first wireless communication chip of the electronic equipment sends a synchronous signal to a second wireless communication chip of the active pen and simultaneously sends a first indication signal to a touch control chip of the touch screen;
the first indication signal is used for indicating that the touch control chip detects a code printing signal transmitted by the active pen after receiving a first preset time length from the first indication signal, the second wireless communication chip is used for receiving the synchronous signal and simultaneously sending a second indication signal to the code printing chip of the active pen, the second indication signal is used for indicating that the code printing chip transmits the code printing 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 a 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. The method according to any one of claims 1 to 3, further comprising:
the first wireless communication chip receives a response message for the synchronization signal sent by the second wireless communication chip.
5. The method according to any one of claims 1 to 3, wherein the first wireless communication chip is connected to 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 a corresponding pin of the touch chip through the pin of the first wireless communication chip.
6. The method of any of claims 1-3, wherein the synchronization signal is transmitted periodically.
7. The method according to any one of claims 1 to 3, wherein the first wireless communication chip and the second wireless communication chip are Bluetooth Low Energy (BLE) chips.
8. A synchronization method for synchronization between a touch screen and an active pen of an electronic device, the method comprising:
a touch 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 sending a synchronization signal to a second wireless communication chip of the active pen;
the touch control chip detects 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 used for sending a second indicating signal to the code printing chip of the active pen when receiving the synchronizing signal, the second indicating signal is used for indicating the code printing chip to transmit the code printing signal after receiving a second preset time length from the second indicating signal, and 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 predetermined duration and the first predetermined 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 according to 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:
and the touch control chip receives the first indication signal output by the corresponding pin of the first wireless communication chip through the pin of the touch control chip.
12. The method according to any of claims 8 to 10, wherein the synchronization signal is transmitted 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 (BLE) chips.
14. A synchronization method 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 indicating signal to the coding chip of the active pen while receiving the synchronous signal;
the second indication signal is used for indicating that 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 synchronization signal and also used for sending a first indication signal to the touch chip of the touch screen, the first indication signal is used for indicating that the touch chip detects 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 a difference value between the second preset time length and the first preset time length is located in a preset range.
15. The method of claim 14, wherein a difference between the second predetermined duration and the first predetermined 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:
and the second wireless communication chip sends a response message aiming at the synchronous signal to the first wireless communication chip while sending the second indication signal to the coding chip.
18. The method according to any one of claims 14 to 16, wherein 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:
and the second wireless communication chip outputs the second indicating signal to a corresponding pin of the coding chip through the pin of the second wireless communication chip.
19. The method of any of claims 14 to 16, wherein the synchronization signal is transmitted 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 (BLE) chips.
21. A synchronization method 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 the second wireless communication chip receives a synchronization 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 a first indicating signal to a touch chip of the touch screen while sending the synchronizing signal, the first indicating signal is used for indicating the touch chip to detect the code printing signal after receiving a first preset time length from the first indicating 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.
22. The method of claim 21, wherein a difference between the second predetermined duration and the first predetermined 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 according to any one of claims 21 to 23, wherein the second wireless communication chip is connected to the coding chip through a pin, and the coding chip of the active pen receives a second indication signal sent by the second wireless communication chip of the active pen, and comprises:
and the coding chip receives the second indicating signal output by the corresponding pin of the second wireless communication chip through the pin of the coding chip.
25. The method of any of claims 21 to 23, wherein the synchronization signal is transmitted 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 (BLE) chips.
27. A wireless communication chip is a first wireless communication chip, the first wireless communication chip is disposed in an electronic device and used for synchronization between a touch screen of the electronic device and an active pen, and the first wireless communication chip comprises:
the processing module is used for generating a synchronization signal and a first indication signal;
the sending module is used for sending the synchronous signal to a second wireless communication chip of the active pen and sending the first indicating signal to a touch chip of the touch screen;
the first indication signal is used for indicating that the touch control chip detects a code printing signal transmitted by the active pen after receiving a first preset time length from the first indication signal, the second wireless communication chip is used for receiving the synchronous signal and simultaneously sending a second indication signal to the code printing chip of the active pen, the second indication signal is used for indicating that the code printing chip transmits the code printing 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 a 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 according to claim 28, wherein the predetermined range is 100 microseconds to 200 microseconds.
30. The wireless communication chip according to any one of claims 27 to 29, further comprising:
and the receiving module is used for receiving a 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 a pin, and the sending module is specifically configured to:
and outputting the first indication signal to a corresponding pin of the touch chip through the pin of the first wireless communication chip.
32. The wireless communication chip according to 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, disposed in an electronic device, for synchronization between a touch screen of the electronic device and an active pen, the touch chip comprising:
the receiving module is used for receiving 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 when the first wireless communication chip sends a synchronization signal to a second wireless communication chip of the active pen;
the detection module is used for detecting the code printing signal emitted by the active pen after the receiving module receives a first preset time length from the first indication signal;
the second wireless communication chip is used for sending a second indicating signal to the code printing chip of the active pen when receiving the synchronizing signal, the second indicating signal is used for indicating the code printing chip to transmit the code printing signal after receiving a second preset time length from the second indicating signal, and 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 according to any one of claims 34 to 36, wherein the first wireless communication chip is connected to the touch chip through a pin, 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 according to any one of claims 34 to 36, wherein the first wireless communication chip and the second wireless communication chip are Bluetooth Low Energy (BLE) chips.
40. The utility model provides a wireless communication chip, its characterized in that, wireless communication chip is second wireless communication chip, second wireless communication chip sets up in the initiative pen for electronic equipment's touch-sensitive screen with synchronization between the initiative pen, second wireless communication chip includes:
the receiving module is used for receiving a synchronization signal sent by a first wireless communication chip of the electronic equipment;
the sending module is used for sending a second indicating signal to a coding chip of the active pen when the receiving module receives the synchronous signal;
the second indication signal is used for indicating that 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 synchronization signal and also used for sending a first indication signal to the touch chip of the touch screen, the first indication signal is used for indicating that the touch chip detects 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 a difference value between the second preset time length and the first preset time length is located 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 according to 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 sending module is further configured to:
and the second wireless communication chip sends a response message aiming at the synchronous signal to the first wireless communication chip while sending the second indication signal to the coding chip.
44. The wireless communication chip according to any one of claims 40 to 42, wherein the second wireless communication chip is connected to the coding chip through a pin, and the sending module is specifically configured to:
and outputting the second indicating signal to a corresponding pin of the coding chip through the pin of the second wireless communication chip.
45. The wireless communication chip according to any one of claims 40 to 42, wherein the synchronization signal is transmitted periodically.
46. The wireless communication chip according to any one of claims 40 to 42, wherein the first wireless communication chip and the second wireless communication chip are Bluetooth Low Energy (BLE) chips.
47. The utility model provides a beat sign indicating number chip, its characterized in that sets up in the initiative pen for electronic equipment's touch-sensitive screen with synchronization between the initiative pen, beat the sign indicating number chip and include:
the receiving module is used for receiving a second indicating signal sent by a second wireless communication chip of the active pen, wherein the second indicating signal is sent by the second wireless communication chip when the second wireless communication chip receives a synchronous signal sent by the first wireless communication chip;
the code printing module is used for transmitting 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 a first indicating signal to a touch chip of the touch screen while sending the synchronizing signal, the first indicating signal is used for indicating the touch chip to detect the code printing signal after receiving a first preset time length from the first indicating 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.
48. The marking chip of claim 47, wherein a difference between the second predetermined duration and the first predetermined duration is determined based on a wireless transmission delay between the first wireless communication chip and the second wireless communication chip.
49. The marking 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 through a pin, 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 transmitted periodically.
52. The coding chip of any one of claims 47-49, wherein the first wireless communication chip and the second wireless communication chip are Bluetooth Low Energy (BLE) chips.
53. An electronic device, comprising:
the wireless communication chip of any one of the above claims 27 to 33; and the number of the first and second groups,
the touch chip of any one of claims 34 to 39.
54. An active pen, comprising:
the wireless communication chip of any of the above claims 40-46; and the number of the first and second groups,
a coding chip as claimed in 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 true CN111638814A (en) 2020-09-08
CN111638814B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930271A (en) * 2020-09-27 2020-11-13 深圳市汇顶科技股份有限公司 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
CN114356124A (en) * 2021-12-06 2022-04-15 深圳市千分一智能技术有限公司 Period self-adaptive method, device, active pen and computer readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120013555A1 (en) * 2010-07-15 2012-01-19 Panasonic Corporation Touch screen system
CN102968196A (en) * 2012-11-29 2013-03-13 苏州瀚瑞微电子有限公司 Wireless signal transmission method for capacitance pen system
US20130241864A1 (en) * 2012-03-19 2013-09-19 Tsan-Yuan Chen Touch-controlled electronic device and method for reducing wireless signal interference to touch sensing function
CN104571732A (en) * 2013-10-14 2015-04-29 深圳市汇顶科技股份有限公司 Touch terminal and active touch pen detection method and system
US20160004338A1 (en) * 2014-07-02 2016-01-07 Ili Technology Corp. Stylus, synchronization system and method thereof for touch detection
US20170031465A1 (en) * 2015-07-31 2017-02-02 Lg Display Co., Ltd. Stylus pen and touch sensing system and driving method of the same
US20180120959A1 (en) * 2016-10-28 2018-05-03 Waltop International Corporation Capacitive stylus and touch control apparatus applying synchronized time difference signal transmitting method
US20180120957A1 (en) * 2016-10-27 2018-05-03 Waltop International Corporation Synchronized time difference signal transmitting method and capacitive stylus as well as touch input apparatus applying this method
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

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120013555A1 (en) * 2010-07-15 2012-01-19 Panasonic Corporation Touch screen system
US20130241864A1 (en) * 2012-03-19 2013-09-19 Tsan-Yuan Chen Touch-controlled electronic device and method for reducing wireless signal interference to touch sensing function
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
US20160004338A1 (en) * 2014-07-02 2016-01-07 Ili Technology Corp. Stylus, synchronization system and method thereof for touch detection
US20170031465A1 (en) * 2015-07-31 2017-02-02 Lg Display Co., Ltd. Stylus pen and touch sensing system and driving method of the same
US20180120957A1 (en) * 2016-10-27 2018-05-03 Waltop International Corporation Synchronized time difference signal transmitting method and capacitive stylus as well as touch input apparatus applying this method
US20180120959A1 (en) * 2016-10-28 2018-05-03 Waltop International Corporation Capacitive stylus and touch control apparatus applying synchronized time difference signal transmitting method
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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930271A (en) * 2020-09-27 2020-11-13 深圳市汇顶科技股份有限公司 Touch chip, touch detection signal processing method and electronic equipment
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
CN114356124A (en) * 2021-12-06 2022-04-15 深圳市千分一智能技术有限公司 Period self-adaptive method, device, active pen and computer readable storage medium
CN114356124B (en) * 2021-12-06 2023-09-29 深圳市千分一智能技术有限公司 Cycle self-adaption method, device, active pen and computer readable storage medium

Also Published As

Publication number Publication date
CN111638814B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN111638814B (en) Synchronization method, wireless communication chip, touch chip and coding chip
US11340720B2 (en) Electronic device for selective transmission of downlink signal to sensor controller
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
CN111290665B (en) Pressure detection method and device, active pen, touch chip and electronic equipment
US10861323B2 (en) Method carried out in system including active stylus and sensor controller, sensor controller, and active stylus
KR20160055837A (en) Stylus synchronization with a digitizer system
US11789563B2 (en) Touch controller and pen input system
JP2002351825A (en) Communication system
US20230161425A1 (en) Synchronization method, wireless communication chip, synchronization device, electronic device and active pen
CN211180793U (en) Infrared touch pen and infrared interaction system
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
US20230244341A1 (en) System including pen and touch controller, method executed by pen, pen, and touch controller
CN113220146A (en) Electromagnetic handwriting pen and electromagnetic handwriting equipment

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