Touch position determination method, acquisition method, capacitance pen, touch device and system

CN120051752APending Publication Date: 2025-05-27GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380013990.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-25
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

The existing capacitive touch screen cannot clarify the touch position of each capacitive pen when writing multiple capacitive pens at the same time, resulting in the inability to support the writing operation of multiple capacitive pens.

Method used

The capacitor pen actively obtains the received electrical signal at each driving time in the touch device, determines the corresponding touch position, and sends the position to the touch device.

Benefits of technology

When multiple capacitance pens are used simultaneously, the touch control device can clarify the touch position of each capacitance pen, thereby supporting the touch response of multiple capacitance pens, improving the flexibility of the capacitance pens.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120051752A_ABST
    Figure CN120051752A_ABST
Patent Text Reader

Abstract

A touch position determination method, acquisition method, capacitive stylus (10), touch device and system, comprising: the capacitive stylus (10) sequentially acquiring a first electrical signal received by a receiving electrode (111) at each driving time, a first position corresponding to each driving time being the position of a driving electrode to which a driving signal is applied in the touch device at the corresponding driving time, and a second position corresponding to each driving time being the position of the driving electrode to which the driving signal is applied in the touch device; the driving electrodes are divided into first electrodes arranged in a first direction and second electrodes arranged in a second direction (step 310); obtaining a first signal intensity sequence corresponding to the first electrode and a second signal intensity sequence corresponding to the second electrode according to the first electric signal obtained each time and the corresponding first position (step 320); determining a touch position of the capacitive stylus (10) in the touch device according to the first signal intensity sequence and the second signal intensity sequence (step 330); and sending to the touch equipment. By adopting the method, the technical problem that the touch position of each capacitive pen (10) cannot be clearly defined by the capacitive touch screen when a plurality of capacitive pens (10) write in the capacitive touch screen in the related art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Touch position determination method, acquisition method, capacitive pen, touch device and system Technical Field

[0001] The embodiments of the present application relate to the field of touch control technology, and in particular to a touch position determination method, an acquisition method, a capacitive stylus, a touch device, and a system. Background Art

[0002] With the development and popularization of touch screens and touch display technologies, writing pens for use with touch screens have emerged. Among them, a capacitive pen is a common writing pen that can be used to write on a capacitive touch screen when used in conjunction with the capacitive touch screen.

[0003] However, the capacitive touch screen can only respond to the writing of one capacitive pen at a time. When multiple capacitive pens are writing on the capacitive touch screen at the same time, the capacitive touch screen will not be able to determine the touch position of each capacitive pen, and thus cannot support the writing operation of multiple capacitive pens.

[0004] Summary of the Invention

[0005] The embodiments of the present application provide a touch position determination method, an acquisition method, a capacitive pen, a touch device, and a system to solve the technical problem in the related art that when multiple capacitive pens are used to write on a capacitive touch screen, the capacitive touch screen cannot clearly determine the touch position of each capacitive pen.

[0006] In a first aspect, an embodiment of the present application provides a touch position determination method, which is applied to a capacitive stylus, comprising:

[0007] Sequentially acquiring a first electrical signal received by the receiving electrode during each driving time, each driving time corresponding to a first position, the first position being a position of a driving electrode to which a driving signal is applied in the touch device during the corresponding driving time, the driving electrodes being divided into first electrodes arranged along a first direction and second electrodes arranged along a second direction, the first electrical signal being an electrical signal received by the receiving electrode when sensing the driving signal during the corresponding driving time;

[0008] Obtaining a first signal strength sequence corresponding to the first electrode and a second signal strength sequence corresponding to the second electrode according to the first electrical signal obtained each time and the first position corresponding to the corresponding driving time;

[0009] determining a touch position of the capacitive stylus in the touch device according to the first signal strength sequence and the second signal strength sequence;

[0010] The touch position is sent to the touch device.

[0011] In a second aspect, an embodiment of the present application further provides a touch position acquisition method, which is applied to a touch device and includes:

[0012] applying a driving signal to the driving electrodes at corresponding first positions in sequence during each driving time, each driving time corresponding to one first position, the driving electrodes being divided into first electrodes arranged along a first direction and second electrodes arranged along a second direction, the first direction and the second direction being perpendicular to each other;

[0013] receiving a touch position sent by at least one capacitive stylus, where the touch position is determined by the capacitive stylus based on a first electrical signal received by a receiving electrode at each driving time and a first position corresponding to the driving time;

[0014] Perform a touch response according to the touch position.

[0015] In a third aspect, an embodiment of the present application further provides a capacitive stylus, comprising: a pen tip and a pen holder, wherein the pen tip is provided with a receiving electrode, and a first control module and a first communication module are provided inside the pen holder, wherein the first control module is connected to the receiving electrode and the first communication module respectively;

[0016] The first control module is configured to sequentially acquire a first electrical signal received by the receiving electrode at each driving time, wherein each driving time corresponds to a first position, the first position being the position of the driving electrode to which the driving signal is applied in the touch device at the corresponding driving time, the driving electrodes being divided into first electrodes arranged along a first direction and second electrodes arranged along a second direction, the first electrical signal being the electrical signal received by the receiving electrode when sensing the driving signal at the corresponding driving time; obtaining a first signal strength sequence corresponding to the first electrode and a second signal strength sequence corresponding to the second electrode based on the first electrical signal acquired each time and the first position corresponding to the corresponding driving time; determining a touch position of the capacitive stylus in the touch device based on the first signal strength sequence and the second signal strength sequence; and sending the touch position to the first communication module;

[0017] The first communication module is configured to send the touch position to the touch device.

[0018] In a fourth aspect, an embodiment of the present application further provides a touch device, comprising: a second control module, a drive electrode array, and a second communication module, wherein the second control module is connected to the drive electrode array and the second communication module, respectively, the drive electrode array comprising first electrodes arranged along a first direction and second electrodes arranged along a second direction, the first direction and the second direction being perpendicular to each other;

[0019] The second control module is configured to sequentially apply a driving signal to the driving electrode at the corresponding first position at each driving time, each driving time corresponding to a first position; and is further configured to receive a touch position transmitted by at least one capacitive stylus through the second communication module, and perform a touch response based on the touch position, the touch position being determined by the capacitive stylus based on the first electrical signal received by the receiving electrode at each driving time and the first position corresponding to the driving time;

[0020] The second communication module is configured to receive a touch position sent by at least one capacitive stylus and send the touch position to the second control module.

[0021] In a fifth aspect, an embodiment of the present application further provides a touch control system, comprising: at least one capacitive stylus as described in the third aspect and a touch control device as described in the fourth aspect,

[0022] In one embodiment of the present application, a capacitive stylus sequentially obtains the first electrical signal received by the receiving electrode at each driving time, obtains a first signal strength sequence corresponding to the first electrode and a second signal strength sequence corresponding to the second electrode based on the first electrical signal obtained each time and the first position corresponding to the driving time, and then obtains the touch position of the capacitive stylus in the touch device based on the first signal strength sequence and the second signal strength sequence, and sends the touch position to the touch device. This technical means solves the technical problem in the related art that when multiple capacitive pens are used to write on the capacitive touch screen, the capacitive touch screen cannot clearly determine the touch position of each capacitive stylus. The capacitive stylus determines its own touch position and sends it to the touch device, without the touch device determining the touch position. When multiple capacitive pens are used simultaneously, the touch device can determine the touch position corresponding to each capacitive stylus and then respond to each touch position separately. At the same time, the touch device only needs to apply a drive signal to each drive electrode at each driving time, without receiving a signal through the drive electrode, which also simplifies the structural complexity of the touch device. In addition, the number of capacitive pens currently in use can be increased or decreased at will, without the need for additional configuration of the touch device, thereby improving the flexibility of the capacitive stylus. Moreover, when the touch device applies a driving signal to each driving electrode, there is no need to increase the scanning time or the driving frequency, that is, there is no need to use time-division multiplexing or frequency-division multiplexing. In this way, even if multiple capacitive pens are used at the same time, the performance of the touch device will not be reduced, thereby ensuring the response speed and response efficiency of capacitive touch. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] FIG1 is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0024] FIG2 is a schematic structural diagram of a capacitive stylus provided by one embodiment of the present application;

[0025] FIG3 is a schematic structural diagram of a touch device provided by one embodiment of the present application;

[0026] FIG4 is a schematic diagram of a driving electrode array structure provided by one embodiment of the present application;

[0027] FIG5 is a flow chart of a touch position determination method provided by one embodiment of the present application;

[0028] FIG6 is an example diagram of coordinate points of a first signal strength sequence provided by one embodiment of the present application;

[0029] FIG7 is an example diagram of a first line provided by one embodiment of the present application;

[0030] FIG8 is an example diagram of coordinate points of a second signal strength sequence provided by one embodiment of the present application;

[0031] FIG9 is an example diagram of a second line provided by one embodiment of the present application;

[0032] FIG10 is a flowchart of another touch position determination method provided by one embodiment of the present application;

[0033] FIG11 is a schematic diagram of the structure of a capacitive stylus and a touch device according to an embodiment of the present application;

[0034] FIG12 is a timing diagram of signal application of a touch device provided by one embodiment of the present application;

[0035] FIG13 is a flowchart of another touch position determination method provided by one embodiment of the present application;

[0036] FIG14 is another signal application timing diagram of a touch device provided by one embodiment of the present application;

[0037] FIG15 is a flowchart of a touch position acquisition method provided by an embodiment of the present application. DETAILED DESCRIPTION

[0038] The present application will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are intended to explain the present application, not to limit the present application. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present application, not all structures.

[0039] Capacitive touch screens are a common touch-sensing device. One implementation involves creating two electrode matrices on a glass surface using one or more layers of transparent conductive film. These serve as the X-axis electrode matrix and the Y-axis electrode matrix. Capacitive touch screens detect changes in capacitance between the X-axis and Y-axis electrodes corresponding to the touch location by scanning the X-axis and Y-axis electrode matrices, thereby determining the touch location.

[0040] Generally speaking, a capacitive touch screen can detect touch control by a finger or a capacitive stylus. The capacitive stylus 10 includes a passive capacitive stylus and an active capacitive stylus.

[0041] When a passive capacitive stylus is used (a passive capacitive stylus uses conductive material to mimic the human body (usually a finger)), the capacitive touchscreen applies a drive signal to a matrix of electrodes (equivalent to transmitting electrodes) in one direction, and receives the sensed signal through a matrix of electrodes (equivalent to receiving electrodes) in the other direction. The transmitting and receiving electrodes couple to form a capacitor. When the capacitive touchscreen senses the finger or passive capacitive stylus (either the passive capacitive stylus or finger contacts the capacitive touchscreen or the finger or passive capacitive stylus comes close enough to the touchscreen), the mutual capacitance decreases. The capacitive touchscreen uses this change in capacitance to determine the touch location of the finger or passive capacitive stylus. However, when multiple passive capacitive styluses are used simultaneously, the capacitive touchscreen cannot determine the touch location of each stylus, making it impossible to support multiple stylus writing.

[0042] When the capacitive stylus is an active capacitive stylus, it has a rechargeable battery (such as a lithium battery), and the rechargeable battery provides power.

[0043] In the related art, an active capacitive stylus at least includes a battery, a control module, and a signal sending module.

[0044] The control module controls the capacitive stylus and has certain data processing functions. The control module can be a microcontroller unit (MCU) or other components such as a field programmable gate array (FPGA).

[0045] The signal transmission module, under the control of the control module, provides a drive signal. This drive signal is transmitted outward through the tip of the capacitive stylus, so that the capacitive touch screen senses the drive signal when the capacitive stylus contacts the capacitive touch screen. The signal transmission module can be a boost circuit. The specific circuit structure of the boost circuit provided in existing capacitive styluses can be referenced and will not be described separately at this time.

[0046] In addition, the capacitive stylus may also include other components, such as a pressure sensor, which detects the external pressure received by the stylus tip through the pressure sensor.

[0047] When a capacitive stylus is used with a capacitive touchscreen, the stylus transmits a drive signal through the signal transmission module. Each electrode in the capacitive touchscreen acts as a receiving electrode, that is, the sensing signal (the sensed drive signal) is received through the X-axis electrode matrix and the Y-axis electrode matrix. When the capacitive stylus is sensed by the capacitive touchscreen (the stylus contacts the capacitive touchscreen or is close enough to the capacitive touchscreen), the capacitive touchscreen can sense the drive signal emitted by the stylus to form a sensing signal. At this time, a coupling capacitor is formed between the stylus tip and the X-axis electrode of the capacitive touchscreen, and a coupling capacitor is formed between the stylus tip and the Y-axis electrode of the capacitive touchscreen. The capacitive touchscreen can determine the touch position of the stylus based on the intersection of the capacitance peaks of the X-axis electrode and the Y-axis electrode. At this time, the capacitive stylus is considered to be a transmitting electrode (that is, the drive signal is transmitted through the stylus tip). When used with a capacitive touchscreen, the stylus only has one transmitting electrode, and cannot achieve the array scanning performed by the capacitive touchscreen when touched by a finger. If two capacitive pens are writing on a capacitive touch screen at the same time, the capacitive touch screen will detect two capacitance peaks on the X-axis and two capacitance peaks on the Y-axis. At this time, the capacitive touch screen will obtain four touch positions after combining two of them. It is impossible to determine which is the actual position of the capacitive pen. Therefore, the capacitive touch screen cannot support simultaneous writing by multiple capacitive pens.

[0048] In related technologies, in order to enable a capacitive touch screen to support simultaneous writing by multiple capacitive pens, the capacitive pens are time-division multiplexed or frequency-division multiplexed, that is, different capacitive pens transmit driving signals at different times, or different capacitive pens transmit driving signals at different frequencies, so that the capacitive touch screen can distinguish different capacitive pens.

[0049] However, when using time-division multiplexing, a capacitive touchscreen uses different times to detect the drive signals from different capacitive pens. This increases the detection time, slowing the refresh rate of the capacitive touchscreen when detecting the drive signals, and thus increasing response delay. Frequency-division multiplexing also consumes more bandwidth, reducing the overall system's anti-interference ability and increasing the complexity, manufacturing difficulty, and cost of the capacitive touchscreen's circuit structure.

[0050] Whether time-division multiplexing or frequency-division multiplexing, when designing a capacitive touch screen, the number of capacitive pens that can be supported must be set in advance. When the capacitive touch screen is applied, the number of capacitive pens cannot be changed, that is, the number of capacitive pens cannot be flexibly increased or decreased.

[0051] The embodiment of the present application provides a brand-new design solution to solve the above-mentioned technical problems. The traditional technical solution is to determine the coordinate position of the stylus through the detection and computing power of the touch device itself. In the present application, the computing power of the existing stylus (i.e., capacitive stylus) is utilized, and the stylus actively obtains the parameters of the touch device related to the touch operation detection, so as to realize the accurate calculation of the coordinate position of the touch operation (i.e., the touch position), and then sends the touch position to the touch device to realize the touch interaction between the stylus and the touch device. In the specific implementation process, the present application also designs technical solutions such as how the stylus actively obtains the parameters of the touch device related to the touch operation detection, so as to obtain the touch position more accurately.

[0052] In an embodiment of the present application, a touch position determination method, an acquisition method, a capacitive pen, a touch device, and a system are provided. The capacitive pen determines its own touch position and sends it to the capacitive touch screen. When multiple capacitive pens are used, the capacitive touch screen can determine the touch position of each capacitive pen, thereby achieving touch response support for multiple capacitive pens.

[0053] FIG1 is a schematic diagram of an application scenario provided by an embodiment of the present application. Referring to FIG1 , the application scenario includes a touch device 20 and at least one capacitive stylus 10. FIG1 exemplifies an interactive tablet as the touch device 20, and FIG1 exemplarily includes two capacitive styluses 10. The capacitive stylus 10 can provide input (such as writing or touch) to the touch device 20, and the touch device 20 performs corresponding operations based on the input from the capacitive stylus 10.

[0054] Currently, the capacitive stylus 10 is described as an active capacitive stylus. FIG2 is a schematic diagram of the structure of a capacitive stylus provided in one embodiment of the present application. Referring to FIG2 , the capacitive stylus 10 includes a pen tip 11 and a pen body 12. The pen tip 11 is provided with a receiving electrode 111. The pen body 12 is internally provided with a first control module 121 and a first communication module 122. The first control module 121 is connected to the receiving electrode 111 and the first communication module 122, respectively.

[0055] Among them, the receiving electrode 111 is set in the pen tip 11 of the capacitive stylus 10, and the conductive medium used is not currently limited. When the capacitive stylus 10 contacts or is close enough to the touch device 20 (can be sensed by the touch device 20), a capacitor can be formed between the receiving electrode 111 and the driving electrode of the touch device 20. Through capacitive coupling, the capacitive stylus 10 can receive the signal emitted by the touch device 20 on the driving electrode through the receiving electrode 111. Currently, the signal emitted by the driving electrode and the signal received by the receiving electrode 111 can both be understood as electrical signals. The difference is that the electrical signal on the driving electrode is generated by the touch device 20 and sent outward, and the electrical signal on the receiving electrode 111 is the signal received by the receiving electrode 111 from the outside. It can be understood that when the capacitive stylus 10 is not sensed by the touch device 20, the value of the electrical signal received by the receiving electrode 111 should be zero. When the capacitive stylus 10 is sensed by the touch device 20, the value of the electrical signal received by the receiving electrode 111 can be non-zero based on the capacitive coupling. It should be noted that the principle of capacitive coupling is the same as that of capacitive coupling during touch interaction in the related art. The difference is that in this application, the receiving electrode is located in the capacitive stylus 10, and the driving electrode is located in the touch device 20. It can be understood that the electrical signal received by the current receiving electrode is an analog signal.

[0056] A first control module 121 and a first communication module 122 are installed inside the pen body 12 of the capacitive stylus 10. Among them, the first control module 121 can be understood as a control module with control and data processing functions in the capacitive stylus 10. Currently, the first control module 121 is implemented by a microcontroller unit (MCU). In actual applications, the first control module can also be a chip with data processing functions such as a field programmable gate array (FPGA). It is understandable that the first control module 121 can also include some peripheral circuits, and its specific circuit structure is not currently limited. Optionally, the first control module 121 and the control module configured in the capacitive stylus in the related art can be the same hardware, that is, the existing control module can be used as the first control module 121, and the only difference is in the functions implemented (that is, the difference in software or execution program).

[0057] The first communication module 122 is a wireless communication module in the capacitive stylus 10 that enables wireless communication with other devices. In the embodiment, the first communication module 122 is mainly used to communicate with the touch device 20. The first communication module 122 can use wireless communication methods such as WiFi communication or Bluetooth communication.

[0058] The first control module 121 is respectively connected to the first communication module 122 and the receiving electrode 111 to receive the electrical signal emitted by the touch device 20 on the driving electrode through the receiving electrode 111, and analyze and process the electrical signal to determine the touch position where the capacitive pen 10 writes or touches in the touch device 20. Afterwards, it communicates with the touch device 20 through the first communication module 122, such as sending the touch settings determined by the capacitive pen 10 to the touch device 20.

[0059] It is understood that in addition to the above components, the capacitive stylus 10 may also include other components. For example, the active capacitive stylus 10 also includes a power module 123, which is configured as a rechargeable battery (such as a lithium battery). The power module 123 is connected to the first control module 121 and the first communication module 122 respectively to provide power to the first control module 121 and the first communication module 122. The structure and charging method of the power module are not currently limited. For another example, the capacitive stylus 10 may also include a pressure sensor. The pressure sensor can detect the external pressure applied to the pen tip 11 and send the detected data to the first control module 121. The first control module 121 determines the pressure value applied to the pen tip 11 based on the data detected by the pressure sensor, and then sends the pressure value to the touch device 20 via the first communication module 122, so that the touch device 20 displays a line of corresponding thickness based on the pressure value. The installation method and installation position of the pressure sensor in the capacitive stylus 10 are not currently limited. For example, the capacitive pen 10 may also include a physical button arranged on the surface of the pen body 12, which is connected to the first control module 121 so that the user can input a signal to the capacitive pen 10 through the physical button, such as realizing functions such as notifying the capacitive pen 10 to start writing.

[0060] The touch device 20 compatible with the capacitive stylus 10 can be understood as a device containing a capacitive touch screen. Currently, the touch device 20 can include only a capacitive touch screen, or it can be a display device that also includes a capacitive touch screen. The capacitive touch screen can be understood as a device that implements capacitive touch.

[0061] FIG3 is a schematic diagram of the structure of a touch device provided by one embodiment of the present application. Referring to FIG3 , when the touch device 20 includes a capacitive touch screen, it includes at least: a second control module 21, a drive electrode array 22, and a second communication module 23. The second control module 21 is connected to the drive electrode array 22 and the second communication module 23, respectively. The drive electrode array 22 includes first electrodes 221 arranged along a first direction and second electrodes 222 arranged along a second direction, wherein the first direction and the second direction are perpendicular to each other. It is understood that FIG3 only illustrates the touch device in a modular manner and does not represent the actual form and installation position of each component.

[0062] In one embodiment, all electrodes provided in the touch device 20 are drive electrodes, which can also be understood as transmitting electrodes. That is, the touch device 20 only applies signals to the drive electrodes and does not need to receive signals from them. The drive electrodes are arranged in an array to form a drive electrode array 22. The drive electrode array 22 is made of one or more layers of transparent conductive film. The material and position of the transparent conductive film can refer to the material and position of the transparent conductive film in existing capacitive touch screens.

[0063] The driving electrode array 22 includes electrode arrays in two directions. Currently, the two directions are respectively referred to as a first direction and a second direction, and the first direction and the second direction are perpendicular to each other. The electrodes in the first direction are referred to as first electrodes, and the electrodes in the second direction are referred to as second electrodes. To facilitate understanding of the technical solution, the embodiment is described as an example in which each first electrode forms an electrode array of multiple transverse channels, and each second electrode forms an electrode array of multiple longitudinal channels.

[0064] FIG4 is a schematic diagram of a drive electrode array structure provided by one embodiment of the present application. Referring to FIG4 , the drive electrodes are divided into first electrodes 221 and second electrodes 222. The first electrodes 221 in the same row use the same transmission line to form a horizontal channel, and each horizontal channel forms a first electrode array. The second electrodes 222 in the same column use the same transmission line to form a vertical channel, and each vertical channel forms a second electrode array. The first electrode array and the second electrode array form a drive electrode array. The specific structure of the first electrodes 221 and the second electrodes 222 is the same as the structure of the electrodes on the X-axis and the electrodes on the Y-axis in the related art, and will not be described in detail at this time.

[0065] The transmission lines used by each transverse channel are connected to the second control module 21 via a first bus, and the connection lines used by each longitudinal channel are connected to the second control module 21 via a second bus. It is understood that each transmission line can also be a bus type, which is not currently limited.

[0066] The second control module 21 refers to a module for controlling the capacitive touch screen, which at least has the function of driving each drive electrode. The second control module 21 may include one or more chips with data processing functions, and the control of the drive electrodes is achieved through the chip, wherein the type of chip included in the second control module 21 is currently not limited. In one embodiment, the second control module 21 sends a drive signal to each first electrode through the first bus and sends a drive signal to each second electrode through the second bus according to a preset processing logic. The drive signal can also be understood as an electrical signal on the drive electrode, and the drive signal is used for the capacitive stylus 10 to receive when the capacitive stylus 10 is close enough to or contacts the drive electrode of the corresponding position, that is, for the receiving electrode 111 to receive.

[0067] The second communication module 23 is a wireless communication module in the touch device 20 that enables wireless communication with other devices. In this embodiment, the second communication module 23 is primarily used to communicate with at least one capacitive stylus 10. The second communication module 23 and the first communication module 122 use the same communication method, such as WiFi or Bluetooth.

[0068] When the touch device 20 is a display device including a capacitive touch screen, it may also include a display module. In this case, the touch device 20 may be an interactive tablet, a learning machine, a tablet computer, or a mobile phone, etc., which has a touch display function. Currently, the description is based on an example of a display device with a large screen size.

[0069] The display module can be integrated into a capacitive touch screen. Specifically, the capacitive touch screen also includes a display layer for imaging and a chip that drives the display, enabling the capacitive touch screen to provide both touch and display functions. Alternatively, the display module can be a display screen independent of the capacitive touch screen. In this case, the capacitive touch screen and the display screen can be combined and installed in a specific manner to form a touch device 20 with both touch and display functions.

[0070] In addition to the display module, the touch device 20 also includes a main control module, which has functions such as determining the display content and responding to touch operations. The main control module includes one or more processors and memory, among which the processors may include an application processor (AP), a graphics processing unit (GPU), and a central processing unit (CPU). The memory can be used to store computer executable programs of the touch device 20, and the computer executable programs include instructions. The memory may include a program storage area and a data storage area. The program storage area may store an operating system and applications required for at least one function. The data storage area may store data created based on the use of the touch device 20, among others. The memory may include a high-speed random access memory and may also include a non-volatile memory. For example, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device.

[0071] An operating system runs in the main control module, and the operating system can be a Window system, an Android system, and / or a Linux system, etc. Under the operating system running in the main control module, the touch device 20 can install at least one application, which can be an application that comes with the operating system, or an application downloaded from a server or a third-party device. The type of application is currently not limited. For example, the touch device 20 is installed with an application with a writing function. When the application is running, the user can use the capacitive pen 10 to write on the touch device 20. In addition, the user can also edit the writing track (such as moving, deleting, etc.).

[0072] Currently, when a capacitive stylus 10 writes on a touch device 20, the stylus 10 determines its current touch location on the touch device 20 and sends it to the touch device 20. After receiving the touch location, the touch device 20 displays the corresponding writing trajectory based on the touch location. When multiple capacitive styluses 10 are used to write simultaneously on the touch device 20, the touch device 20 can receive the touch location sent by each stylus 10 and display the corresponding writing trajectory based on the touch location. This means that touch control with multiple capacitive styluses 10 is supported, and the number of capacitive styluses 10 can be increased or decreased at will without requiring additional configuration on the touch device 20.

[0073] The capacitive stylus 10 can determine the touch position using the touch position determination method. In this case, the capacitive stylus 10 executes the touch position determination method by the first control module 121. It is understood that when multiple capacitive styli 10 are used in conjunction with the touch device 20, all of the capacitive styli execute the touch position determination method.

[0074] FIG5 is a flow chart of a touch position determination method provided by one embodiment of the present application. Referring to FIG5 , the touch position determination method includes:

[0075] Step 310: sequentially obtain a first electrical signal received by the receiving electrode at each driving time. Each driving time corresponds to a first position, where the first position is a position of the driving electrode to which the driving signal is applied in the touch device at the corresponding driving time. The driving electrodes are divided into first electrodes arranged along a first direction and second electrodes arranged along a second direction. The first electrical signal is an electrical signal received by the receiving electrode when sensing the driving signal at the corresponding driving time.

[0076] In one embodiment, during the operation of the touch device, a drive signal is applied to each drive electrode in sequence. Among them, each drive electrode connected by a connecting line (i.e., a transmission line) is applied with a drive signal at the same time. The order in which the touch device applies the drive signal can be set according to actual needs. In the embodiment, the description is made by taking the example of applying the drive signal to each first electrode first and then applying the drive signal to each second electrode. Taking Figure 4 as an example, the touch device applies the drive signal to the horizontal channel in the top row in order from top to bottom. At this time, the second control module 21 of the touch device transmits the drive signal to the connecting line used by the horizontal channel in the top row through the first bus, thereby applying the drive signal to each first electrode connected by the connecting line, and then applying the drive signal to the horizontal channel in the second row from the top, and so on. After all horizontal channels (i.e., all first electrodes in the first direction) are applied with a drive signal once, the touch device applies a drive signal to the longitudinal channel in the leftmost column first in order from left to right. At this time, the second control module of the touch device transmits the drive signal to the connecting line used by the longitudinal channel in the leftmost column through the second bus, so that each second electrode connected to the connecting line is applied with a drive signal. Then, the drive signal is applied to the longitudinal channel in the second leftmost column, and so on. After all longitudinal channels are applied with a drive signal once, it is considered that all drive electrodes have been scanned once. One scanning process corresponds to one cycle, that is, each drive electrode is applied with a drive signal once within one cycle. After that, the touch device starts a new scan, that is, starts a new cycle, thereby achieving continuous scanning.

[0077] Exemplarily, the time during which the driving signal is applied to the driving electrode each time is equal to the driving time. The driving time is a pre-set time length, that is, the touch device applies a driving signal once each driving time. For example, if the driving time is 20us, then the touch device applies a driving signal to the horizontal channel in the top row in the first 20us, and applies a driving signal to the horizontal channel in the second row from the top in the second 20us, and so on. Optionally, the driving time corresponding to each driving electrode in one direction (i.e., the first direction or the second direction) is continuous, that is, in the aforementioned example, the first 20us ends and directly enters the second 20us.

[0078] At each driving time, the position of the driving electrode to which the driving signal is applied can be considered to be the position corresponding to the driving time. In this embodiment, the position of the driving electrode to which the driving signal is currently applied is recorded as the first position. In this case, each driving time has a corresponding first position. In particular, since the driving signal is applied at the same driving time, the first electrodes in the same transverse channel have the same first position. Similarly, the second electrodes in the same longitudinal channel also have the same first position.

[0079] For example, taking the driving electrode shown in Figure 4 as an example, the first position can be represented by the row number or column number of the driving electrode. When the driving signal is applied to the first electrode, the first position represents the row number of the first electrode. For example, when the first position is the first row, it means that the touch device applies the driving signal to each first electrode in the top row. When the driving signal is applied to the second electrode, the first position represents the column number of the second electrode. For example, when the first position is the first column, it means that the touch device applies the driving signal to each second electrode in the leftmost column. Optionally, the touch device pre-records the driving time, the number of channels in the horizontal direction of the first direction, the number of channels in the vertical direction of the second direction, and the order in which the driving signals are applied. Then, during scanning, the first position corresponding to the current driving time can be determined.

[0080] For another example, taking the driving electrodes shown in FIG4 as an example, the first position can be represented by the coordinate value of the driving electrode in the touch coordinate system. It can be understood that a touch coordinate system is set in the touch device, and the touch positions used by the touch device when responding to touch operations are all coordinate positions in the touch coordinate system. The position of the origin and the range of coordinate values ​​when setting the touch coordinate system are currently not limited. Each driving electrode in the touch device has a corresponding coordinate position in the touch coordinate system. The first electrodes in the same row (i.e., the same horizontal channel) have the same position (i.e., Y-axis coordinate value) on the Y-axis of the touch coordinate system, and the Y-axis coordinate value can be used as the first position corresponding to the driving time used by the horizontal channel. The second electrodes in the same column (i.e., the same vertical channel) have the same position (i.e., X-axis coordinate value) on the X-axis in the touch coordinate system, and the X-axis coordinate value can be used as the first position corresponding to the driving time used by the vertical channel. Optionally, the touch device pre-records the driving time, the Y-axis coordinate value of each horizontal channel, the X-axis coordinate value of each vertical channel, and the order of applying the driving signal (i.e., the Y-axis coordinate value or X-axis coordinate value corresponding to each driving time), so that during scanning, the first position corresponding to the current driving time can be determined.

[0081] In one embodiment, the capacitive stylus also pre-records the drive time, the number of channels in the transverse channel in the first direction, the number of channels in the longitudinal channel in the second direction, and the order in which the drive signals are applied, or pre-records the drive time, the Y-axis coordinate values ​​of each transverse channel, the X-axis coordinate values ​​of each longitudinal channel, and the order in which the drive signals are applied. Furthermore, the capacitive stylus acquires an electrical signal received by the receiving electrode each time it experiences a drive time. Currently, the electrical signal received by the receiving electrode at each drive time is recorded as a first electrical signal, and each first electrical signal has a corresponding drive time. It is understandable that, since the capacitive stylus and the touch device record the same data information, the capacitive stylus can also determine the first position corresponding to each drive time. At this point, the first electrical signal can also be considered to be the induced signal (electrical signal) generated by the capacitive stylus through the drive signal sensed by the receiving electrode at the corresponding drive time, i.e., the electrical signal received when the receiving electrode senses the drive signal at the corresponding drive time, and the drive signal is the drive signal applied to the drive electrode at the first position.

[0082] During the current driving time, when the capacitive stylus is sufficiently close to the driving electrode at the corresponding first position, the receiving electrode of the capacitive stylus and the driving electrode of the touch device form a coupling capacitor, meaning that the receiving electrode of the capacitive stylus can sense the driving signal. At this point, the electrical signal received by the receiving electrode (currently the first electrical signal) will change based on the coupling capacitor. This change can reflect the strength of the sensed driving signal. The stronger the sensed driving signal, the more significant the change in the first electrical signal, meaning that the value of the first electrical signal should not be zero. Conversely, during the current driving time, when the capacitive stylus is farther away from the driving electrode at the corresponding first position, the receiving electrode of the capacitive stylus and the driving electrode of the touch device cannot form a coupling capacitor, meaning that the receiving electrode of the capacitive stylus does not sense the driving signal. At this point, the electrical signal received by the receiving electrode (currently the first electrical signal) will not change significantly due to the lack of coupling capacitor, meaning that the sensed driving signal is not reflected in the first electrical signal, and the value of the first electrical signal should be zero. Generally speaking, during the touch control process of a capacitive stylus (when the capacitive stylus touches the touch device or is sufficiently close to the touch device), the driving signal applied to the driving electrodes within a certain distance range can be sensed. The certain distance range may be determined according to the strength of the driving signal, the materials of the receiving electrode and the driving electrode, and the like.

[0083] Optionally, when the capacitive stylus is in operation, regardless of whether it is writing, it acquires a first electrical signal at each drive time in sequence, except that the first electrical signal will vary depending on whether the receiving electrode currently senses the drive signal and the strength of the sensed drive signal. At the same drive time, the touch device applies a drive signal to the drive electrode corresponding to the first position. At the same time, the capacitive stylus acquires the electrical signal (currently the first electrical signal) received by the receiving electrode at the same drive time and can determine the first position corresponding to the first electrical signal.

[0084] It is understandable that if the capacitive pen is writing, but the driving electrode to which the driving signal is applied at the current driving time is far away from the touch position of the capacitive pen, the driving signal may not be sensed by the receiving electrode of the capacitive pen, that is, the first electrical signal received when the receiving electrode senses the driving signal will not change significantly (the value of the first electrical signal may be zero).

[0085] In one embodiment, the capacitive stylus and the touch device are first time-synchronized to ensure that the driving times of the two are completely synchronized. Afterwards, the touch device applies the driving signal in sequence, and the capacitive stylus then sequentially obtains the first electrical signal. The synchronization method is not currently limited. For example, the touch device applies a synchronization signal to each driving electrode. When the capacitive stylus approaches the touch device or contacts the touch device (i.e., it can be sensed), the receiving electrode can sense the synchronization signal to complete time synchronization with the touch device through the synchronization signal. It is understandable that when the receiving electrode senses the synchronization signal, it also receives an electrical signal, and the electrical signal can reflect the corresponding changes in the synchronization signal. At this time, for the capacitive stylus, it can obtain the electrical signal received by the receiving electrode and determine whether the electrical signal is a synchronization signal. When it is determined that the electrical signal received by the receiving electrode is a synchronization signal, time synchronization with the touch device is completed. Afterwards, the capacitive stylus can send a synchronization notification to the touch device through the first communication module. After receiving the synchronization notification, the touch device determines that time synchronization with the capacitive stylus is completed. Afterwards, the touch device applies the driving signal in sequence, and the capacitive stylus sequentially obtains the first electrical signal. Alternatively, before each scan (i.e., each cycle) of the touch device begins, the capacitive pen and the touch device perform a time synchronization, i.e., the touch device first applies a synchronization signal to each drive electrode, and then applies a drive signal to each drive electrode in sequence. After one cycle ends, the synchronization signal is applied to each drive electrode, and then the drive signal is applied to each drive electrode in sequence, and so on. Accordingly, during the process of the capacitive pen contacting the touch device, when it is determined that the synchronization signal has been received, the first electrical signal is sequentially acquired. After one cycle ends, the capacitive pen detects the synchronization signal again, and when it is determined that the synchronization signal has been received, the first electrical signal is sequentially acquired, and so on. Alternatively, before the touch device applies a drive signal to each first electrode in the first direction, the capacitive pen and the touch device perform a time synchronization, and before the touch device applies a drive signal to each second electrode in the second direction, the capacitive pen and the touch device perform a time synchronization again. That is, during one scan, the capacitive pen and the touch device perform two time synchronizations. This process is similar to the aforementioned process of performing one time synchronization per scan, except that one time synchronization is added.

[0086] The synchronization signal has specific parameters (such as a specific frequency, waveform, etc.), and the parameters of the synchronization signal are different from those of the drive signal. Currently, touch devices and capacitive pens both pre-store the parameters of the synchronization signal, which are used to identify the synchronization signal (i.e., distinguish whether the electrical signal received by the receiving capacitor is the synchronization signal or the first electrical signal), and then determine time synchronization after identifying the synchronization signal.

[0087] In one embodiment, after step 310, it also includes: performing analog-to-digital conversion on the first electrical signal obtained each time to obtain a corresponding digital electrical signal. For example, since the first electrical signal is an analog electrical signal, in order to facilitate the identification of the subsequent touch position, the capacitive pen performs analog-to-digital conversion on the first electrical signal currently obtained each time after obtaining the first electrical signal. Among them, analog-to-digital conversion can be understood as converting an analog electrical signal into a digital electrical signal. Analog-to-digital conversion is a technical means that has been implemented and will not be described in detail at present. After the analog-to-digital conversion, a digital electrical signal corresponding to the first electrical signal can be obtained. The digital electrical signal can reflect the intensity of the driving signal sensed by the receiving electrode. The larger the value of the digital electrical signal, the greater the intensity of the sensed driving signal. When the digital electrical signal is zero, it indicates that no driving signal is sensed.

[0088] Step 320: Obtain a first signal strength sequence corresponding to the first electrode and a second signal strength sequence corresponding to the second electrode according to the first electrical signal obtained each time and the first position corresponding to the corresponding driving time.

[0089] Exemplarily, each value recorded in the first signal strength sequence represents the strength of the drive signal applied to the first electrode at the first position sensed by the receiving electrode during the corresponding drive time, i.e., the first signal strength sequence corresponds to the first electrode. In one embodiment, the number of values ​​recorded in the first signal strength sequence is related to the number of horizontal channels in the touch device. For example, if the touch device has five horizontal channels (i.e., five rows of first electrodes), then the first signal strength sequence records five values, and when the scanning order is from top to bottom, the five values ​​correspond to the horizontal channels from top to bottom, respectively.

[0090] Similarly, each value recorded in the second signal strength sequence represents the strength of the drive signal applied to the second electrode at the first position, as sensed by the receiving electrode at the corresponding drive time. That is, the second signal strength sequence corresponds to the second electrode. The number of values ​​recorded in the second signal strength sequence is related to the number of vertical channels in the touch device. This is similar to the first signal strength sequence and will not be further described here.

[0091] In one embodiment, the capacitive stylus stores two sequences, one corresponding to a first signal strength sequence (of equal length) and the other corresponding to a second signal strength sequence (of equal length). After the capacitive stylus receives the digital electrical signal, it determines the first position corresponding to the corresponding drive time. When the first position represents a row number or a Y-axis coordinate value, the first position is determined to correspond to the first electrode in the first direction. The capacitive stylus then enters the digital electrical signal at the position corresponding to the first position in the sequence corresponding to the first signal strength sequence. Once each position in the sequence has entered the corresponding digital electrical signal, the sequence can be used as the first signal strength sequence. When the first position represents a column number or an X-axis coordinate value, the first position is determined to correspond to the second electrode in the second direction. The capacitive stylus then enters the digital electrical signal at the position corresponding to the first position in the sequence corresponding to the second signal strength sequence. Once each position in the sequence has entered the corresponding digital electrical signal, the sequence can be used as the second signal strength sequence. For example, if the digital electrical signal is 65, and at the drive time corresponding to the digital electrical signal, the touch device applies a drive signal to each first electrode in the third row in the first direction, i.e., the first position is the third row. Then, when the capacitive stylus determines that the first position corresponds to the first electrode, it records a value of 65 at the third position in the sequence corresponding to the first signal strength sequence.

[0092] After a drive signal is applied once to each first electrode in the touch device, the capacitive stylus also completes the operation of recording the corresponding digital electrical signal at each position in the first signal intensity sequence. After a drive signal is applied once to each second electrode in the touch device, the capacitive stylus also completes the operation of recording the corresponding digital electrical signal at each position in the second signal intensity sequence. That is, after each scan of the touch device is completed (i.e., within one cycle), the capacitive stylus can obtain a first signal intensity sequence and a second signal intensity sequence. Each digital electrical signal in the first signal intensity sequence and the second signal intensity sequence has a corresponding first position.

[0093] Step 330: Determine the touch position of the capacitive stylus in the touch device according to the first signal strength sequence and the second signal strength sequence.

[0094] It is understandable that the closer the distance between the receiving electrode of the capacitive stylus and the driving electrode of the touch device (currently applied with a driving signal), the larger the digital electrical signal obtained by the capacitive stylus. Therefore, the first signal strength sequence can reflect the degree of sensitivity of the capacitive stylus to the driving signal in the first electrode of each row, and the second signal strength sequence can reflect the degree of sensitivity of the capacitive stylus to the driving signal in the second electrode of each column. Afterwards, the capacitive stylus can determine the first and second electrodes contacted by the capacitive stylus based on the first signal strength sequence and the second signal strength sequence, and then determine the touch position of the capacitive stylus in the touch device. The touch position is a two-dimensional coordinate. The capacitive stylus pre-stores the touch coordinate system used by the touch device and the position of each driving electrode in the touch coordinate system, and determines the touch position of the capacitive stylus in the touch coordinate system. It is understandable that in each cycle, the touch position of the current cycle can be determined based on the first signal strength sequence and the second signal strength sequence obtained in the current cycle.

[0095] In one embodiment, the capacitive pen determines the first position corresponding to the largest digital electrical signal in the second signal strength sequence, and the first position is the position of the second electrode that the capacitive pen is most likely to contact. The capacitive pen also determines the first position corresponding to the largest digital electrical signal in the first signal strength sequence, and the first position is the position of the first electrode that the capacitive pen is most likely to contact. Then, the capacitive pen obtains the touch position based on the first position of the second electrode that is most likely to be contacted and the first position of the first electrode that is most likely to be contacted. For example, the first signal strength sequence is 1, 25, 71, 37, 5, and the second signal strength sequence is 2, 16, 65, 41, 6. That is, when the capacitive pen touches the touch device, the capacitive pen has the greatest sensing intensity for the driving signal in the first electrode of the third row, and the second greatest sensing intensity for the driving signal in the first electrode of the fourth row. The capacitive pen has the greatest sensing intensity for the driving signal in the second electrode of the third column, and the second greatest sensing intensity for the driving signal in the second electrode of the fourth column. Therefore, it can be considered that the first electrode of the third row and the second electrode of the third column are most likely to be touched by the capacitive pen. At this time, the capacitive pen obtains the touch position based on the Y-axis coordinate value of the first electrode of the third row in the touch coordinate system and the X-axis coordinate value of the second electrode of the third column in the touch coordinate system.

[0096] In another embodiment, in order to ensure the accuracy of the touch position, the capacitive stylus can further process the first signal strength sequence and the second signal strength sequence. In this case, this step may include steps 331 to 333:

[0097] Step 331: perform interpolation operation on each digital electrical signal in the first signal strength sequence and draw a first line based on the interpolation operation result; perform interpolation operation on each digital electrical signal in the second signal strength sequence and draw a second line based on the interpolation operation result.

[0098] The digital electrical signals in the first signal strength sequence are discrete values. For ease of understanding, a two-dimensional coordinate system is established. The Y-axis in the two-dimensional coordinate system is the same as the Y-axis of the touch coordinate system. That is, the Y-axis coordinate value of the first electrode corresponding to each first position in the touch coordinate system is consistent with the Y-axis coordinate value of the first electrode in the two-dimensional coordinate system. The value of the X-axis in the two-dimensional coordinate system represents the specific value of the digital electrical signal. In this case, based on the specific value of each digital electrical signal in the first signal strength sequence and the first position corresponding to each digital electrical signal, the coordinate point corresponding to each digital electrical signal can be shown in the two-dimensional coordinate system, and the coordinate points are discontinuous. For example, Figure 6 is an example diagram of the coordinate points of a first signal strength sequence provided by an embodiment of the present application. The first signal strength sequence used in Figure 6 is 1, 25, 71, 37, and 5, and the Y-axis coordinate values ​​of the first electrode 221 at the first position corresponding to each digital electrical signal in the touch coordinate system are 1, 2, 3, 4, and 5, respectively. In this case, after the two-dimensional coordinate system is created, the coordinate points of each digital electrical signal in the two-dimensional coordinate system are shown on the left side of Figure 6. The origin of the two-dimensional coordinate system in FIG6 is located in the upper left corner.

[0099] Exemplarily, interpolation operation is used to process each coordinate point in the two-dimensional coordinate system. Among them, interpolation operation is a commonly used method in the field of mathematics, and the function used in the interpolation method is currently not limited. After using the interpolation operation, multiple new coordinate points are inserted between two adjacent coordinate points in the two-dimensional coordinate system, so that each coordinate point is as continuous as possible. Optionally, the number of inserted coordinate points can be preset. For example, the number of inserted coordinate points is 100, which can be understood as 100 transverse channels are refined between adjacent transverse channels, and each refined transverse channel has a corresponding coordinate value on the Y-axis of the touch coordinate system. When the coordinate values ​​of the first electrode in the adjacent transverse channels on the Y-axis of the touch coordinate system are 1 and 2 respectively, it means that 100 coordinate values ​​are added between 1 and 2, thereby making the coordinate value of the touch position on the Y-axis more accurate.

[0100] After performing the interpolation operation, a broken line is fitted based on each coordinate point in the two-dimensional coordinate system. Currently, the broken line obtained based on the first signal strength sequence is recorded as a first line. Optionally, the line type of the first line is a preset line type, where the preset line type can be a line type with a specific rule such as a Gaussian curve or a parabola. Optionally, the first line is a broken line obtained by connecting each coordinate point in pairs.

[0101] For example, Figure 7 is an example diagram of a first line provided by one embodiment of the present application. Figure 7 is a first line 71 obtained by performing an interpolation operation based on the coordinate points shown in Figure 6. In this case, the coordinate value on the Y axis of each coordinate point in the first line can be considered as the coordinate value on the Y axis of the touch coordinate system.

[0102] The processing method for the second signal strength sequence is similar to the processing method for the first signal strength sequence mentioned above, and will not be repeated here. The broken line drawn based on the second signal strength sequence is recorded as the second line. Figure 8 is an example diagram of the coordinate points of a second signal strength sequence provided by an embodiment of the present application. The second signal strength sequence used in Figure 8 is 2, 16, 65, 41, and 6, and the coordinate values ​​of the second electrode 222 at the first position corresponding to each digital electrical signal in the touch coordinate system are 1, 2, 3, 4, and 5, respectively. At this time, after creating a two-dimensional coordinate system, the coordinate points of each digital electrical signal in the two-dimensional coordinate system are shown in the upper side of Figure 8. The origin of the two-dimensional coordinate system in Figure 8 is located in the lower left corner, the X-axis of the two-dimensional coordinate system is the horizontal coordinate axis (used to record the position of the second electrode), and the Y-axis is the vertical coordinate axis (used to record the digital electrical signal). Figure 9 is an example diagram of the second line provided by an embodiment of the present application. Figure 9 is the second line 72 obtained after interpolation operation based on the coordinate points shown in Figure 8. At this time, the coordinate value of each coordinate point in the second line on the X-axis can be considered as the coordinate value in the X-axis of the touch coordinate system.

[0103] Step 332: Determine the third position of the capacitive pen on the first coordinate axis of the touch device according to the first line, and determine the fourth position of the capacitive pen on the second coordinate axis of the touch device according to the second line.

[0104] Currently, the first coordinate axis is the Y axis of the touch coordinate system, and the second coordinate axis is the X axis of the touch coordinate system.

[0105] For example, in the two-dimensional coordinate system where the first line is located, the coordinate point corresponding to the maximum value of the first line on the X-axis is determined, and then the coordinate value of this coordinate point on the Y-axis is obtained as the third position, and the third position is determined as the coordinate value of the touch position on the Y-axis (i.e., the second direction) in the touch coordinate system. Similarly, in the two-dimensional coordinate system where the second line is located, the coordinate point corresponding to the maximum value of the second line on the Y-axis is determined, and then the coordinate value of this coordinate point on the X-axis is obtained as the fourth position, and the fourth position is determined as the coordinate value of the touch position on the X-axis (i.e., the first direction) in the touch coordinate system.

[0106] Step 333: The fourth position and the third position are combined to form a touch position of the capacitive pen in the touch device.

[0107] Exemplarily, the two-dimensional coordinate value formed by the third position and the fourth position is determined as the touch position of the capacitive stylus on the touch device, wherein the third position is the coordinate value on the Y axis in the two-dimensional coordinate system, and the fourth position is the coordinate value on the X axis in the two-dimensional coordinate system.

[0108] It is understandable that when the capacitive pen is not sensed by the touch device (i.e., when it is relatively far away from the touch device), the digital electrical signals corresponding to the first electrical signals collected by the capacitive pen should be zero. At this time, there is no need to determine the touch position. Based on this, in an embodiment, step 330 can be specifically as follows: when there is at least one non-zero data in both the first signal strength sequence and the second signal strength sequence, the touch position of the capacitive pen in the touch device is determined according to the first signal strength sequence and the second signal strength sequence. Correspondingly, when both the first signal strength sequence and the second signal strength sequence are zero data, the processing of the first signal strength sequence and the second signal strength sequence is abandoned.

[0109] After obtaining the first signal strength sequence, determine whether all digital electrical signals in the first signal strength sequence are zero. After obtaining the second signal strength sequence, determine whether all digital electrical signals in the second signal strength sequence are zero. When all digital electrical signals in the first signal strength sequence and the second signal strength sequence are zero, it is considered that the capacitive stylus has not been sensed by the touch device, that is, it has not touched the touch device. Therefore, processing of the first signal strength sequence and the second signal strength sequence is abandoned. If all digital electrical signals in the first signal strength sequence are not all zero (that is, at least one is non-zero) and all digital electrical signals in the second signal strength sequence are not all zero (that is, at least one is non-zero), it is considered that the capacitive stylus has been sensed by the touch device. Therefore, the touch position can be determined, that is, step 330 is executed.

[0110] Generally speaking, when all digital electrical signals in the first signal strength sequence are zero, all digital electrical signals in the second signal strength sequence are also zero. Therefore, when all digital electrical signals in one sequence are zero, it can be assumed that all digital electrical signals in the other sequence are also zero.

[0111] After the capacitive stylus obtains the touch position, step 340 is executed.

[0112] Step 340: Send the touch position to the touch device.

[0113] Exemplarily, after the capacitive pen obtains the touch position, it sends the touch position to the touch device through the first communication module. After receiving the touch position, the touch device responds based on the touch position. For example, when writing with the capacitive pen, the second control module of the touch device reports the currently received touch position to the main control module. The main control module sends the touch position to the currently running application that implements writing. The application displays the writing track at the corresponding position based on the touch position. In this case, for the second control module, the process of responding to the touch position refers to the process of sending the touch position to the main control module.

[0114] When there are multiple capacitive pens, each capacitive pen can send its own touch position to the touch device, so that the touch device can respond respectively based on each touch position.

[0115] It is understandable that when the capacitive pen performs a touch operation on the touch device, each time the touch device scans, the capacitive pen can obtain a touch position and send it to the touch device.

[0116] In one embodiment, when the capacitive stylus executes step 340, it also sends its identity data to the touch device. For example, each capacitive stylus has corresponding identity data, which can also be recorded as an identity ID or identity identifier. The identity data is unique and can be used to distinguish different capacitive pens. The capacitive stylus packages the touch device and identity data together and sends them to the touch device via the first communication module. The touch device can better distinguish between the capacitive pens based on the identity data.

[0117] In the above, the capacitive stylus sequentially obtains the first electrical signal received by the receiving electrode at each driving time, obtains a first signal strength sequence corresponding to the first electrode and a second signal strength sequence corresponding to the second electrode based on the first electrical signal obtained each time and the first position corresponding to the driving time, and then obtains the touch position of the capacitive stylus in the touch device based on the first signal strength sequence and the second signal strength sequence, and sends the touch position to the touch device. This technical means solves the technical problem in the related art that when multiple capacitive pens are used to write on the capacitive touch screen, the capacitive touch screen cannot clearly determine the touch position of each capacitive stylus. The capacitive stylus determines its own touch position and sends it to the touch device, eliminating the need for the touch device to determine the touch position. When multiple capacitive pens are used simultaneously, the touch device can determine the touch position corresponding to each capacitive stylus and then respond to each touch position. In addition, the capacitive stylus sends the identity data and touch position to the touch device together, which allows the touch device to more accurately distinguish the touch positions sent by each capacitive stylus. At the same time, the touch device only needs to apply a drive signal to each drive electrode at each drive time, without receiving signals through the drive electrodes. This also simplifies the structural complexity of the touch device. In addition, the number of capacitive pens currently in use can be increased or decreased at will without requiring the touch device to perform additional operations, thereby improving the flexibility of using the capacitive pens. Furthermore, when applying drive signals to each drive electrode, the touch device does not need to increase the scanning time or increase the driving frequency, that is, there is no need to use time-division multiplexing or frequency-division multiplexing. In this way, even if multiple capacitive pens are used simultaneously, the performance of the touch device will not be reduced, ensuring the response speed and response efficiency of capacitive touch. Furthermore, by using an interpolation algorithm to process the first signal strength sequence and the second signal strength sequence separately, that is, artificially increasing the number of channels during scanning to obtain the touch position, the accuracy of the touch position can be improved.

[0118] FIG10 is a flow chart of another touch position determination method provided by an embodiment of the present application. This touch position determination method is based on the method shown in FIG5 , and adds an implementation method for time synchronization between the capacitive stylus and the touch device. In this embodiment, the touch device generates a synchronization signal and applies it to the drive electrode in each cycle (i.e., each drive electrode is applied with a drive signal once), and then generates a drive signal and applies it to the corresponding drive electrode.

[0119] Referring to FIG10 , the touch position determination method includes:

[0120] Step 410: Acquire a second electrical signal received by the receiving electrode.

[0121] Exemplarily, the second electrical signal is the electrical signal received by the capacitive stylus via the receiving electrode during the non-driving time. Generally speaking, during each cycle, the capacitive stylus first receives the second electrical signal. It is understood that whether the first or second electrical signal, for the receiving electrode, it receives an electrical signal, which is subsequently identified and processed by the first control module.

[0122] Step 420: When the second electrical signal is the first synchronization signal, it is determined that the time synchronization of the current cycle is completed with the touch device. The capacitive stylus is synchronized with the touch device in each cycle.

[0123] Exemplarily, when the capacitive stylus receives the second electrical signal, it analyzes the second electrical signal to determine whether the second electrical signal is the first synchronization signal. The first synchronization signal is a synchronization signal (an electrical signal) applied by the touch device to each first electrode and / or each second electrode. During use of the capacitive stylus, in each cycle, after achieving time synchronization with the touch device using the first synchronization signal, the first electrical signal is then received.

[0124] Optionally, when the capacitive pen starts to be used, the capacitive pen continues to receive the second electrical signal through the receiving electrode, and determines whether the first synchronization signal is received based on the second electrical signal. When the capacitive pen determines that the first synchronization signal is received (that is, the second electrical signal currently received is the first synchronization signal), it determines that the time synchronization with the touch device under the current cycle is completed. At this time, the capacitive pen executes subsequent steps. Afterwards, when the capacitive pen determines that a cycle ends according to the driving time (that is, each driving electrode is applied with a driving signal once), it no longer obtains the first electrical signal (that is, the received electrical signal is no longer identified as the first electrical signal), and receives the second electrical signal through the receiving electrode again, and determines whether the first synchronization signal is received based on the second electrical signal. Repeat this process to realize the detection of the electrical signals (first electrical signal and second electrical signal) corresponding to each cycle during the use of the capacitive pen, and then obtain the touch position corresponding to each cycle.

[0125] It can be understood that during the use of the touch device, a first synchronization signal is first applied to the first electrode and / or the second electrode. After the first synchronization signal is applied, the drive signal is applied to the corresponding drive electrode in sequence at each drive time. After each drive electrode is applied with the drive signal once, the touch device applies the first synchronization signal to the first electrode and / or the second electrode. After the first synchronization signal is applied, the drive signal is applied again, and so on. At this time, when the capacitive stylus begins to be used close to the touch device, it will sense the electrical signal applied to the drive electrode of the touch device, that is, the second electrical signal can reflect the currently sensed electrical signal. At this time, the sensed electrical signal may be the drive signal or the first synchronization signal. Therefore, the capacitive stylus needs to determine whether the currently received second electrical signal is the first synchronization signal. If not, it continues to receive the second electrical signal until it determines that the second electrical signal is the first synchronization signal, and then begins to receive the first electrical signal at each drive time.

[0126] The application duration of the first synchronization signal can be pre-set in the touch control device. It is understood that under this application duration, the touch control device applies a complete first synchronization signal to the driving electrode.

[0127] In one embodiment, the first synchronization signal is a signal having a fixed frequency, such as a sine wave signal or a square wave signal having a fixed frequency. Signal parameters of the first synchronization signal are stored in both the touch device and the capacitive stylus. The signal parameters include, but are not limited to, the frequency and waveform of the signal.

[0128] Alternatively, when the touch device determines that the capacitive stylus has begun to be used, it may continue to apply the first synchronization signal. In this case, the second electrical signal received when the capacitive stylus touches the touch device may reflect the first synchronization signal. Therefore, the capacitive stylus may continuously analyze the received second electrical signal to determine whether it has sensed the first synchronization signal.

[0129] In one embodiment, the capacitive stylus can determine whether the first synchronization signal is sensed by comparing the signal parameters of the second electrical signal with the signal parameters of the first synchronization signal. In this case, after step 410, the method further includes: detecting the signal parameters of the second electrical signal; and when the signal parameters are consistent with the preset synchronization parameters, determining that the second electrical signal is the first synchronization signal. Thereafter, step 420 is executed.

[0130] Currently, the signal parameters of the first synchronization signal are recorded as synchronization parameters. The synchronization parameters are pre-stored in the capacitive pen. The capacitive pen continuously analyzes the currently received second electrical signal to obtain the signal parameters of the second electrical signal. Currently, the signal parameters include frequency and waveform. Afterwards, when the capacitive pen determines that the frequency of the second electrical signal is consistent with the frequency in the preset synchronization parameter and the waveform of the second electrical signal is consistent with the waveform in the preset synchronization parameter, it determines that the second electrical signal is the first synchronization signal (i.e., the first synchronization signal is sensed), and then executes step 420. If the frequency of the second electrical signal is inconsistent with the frequency in the preset synchronization parameter or the waveform of the second electrical signal is inconsistent with the waveform in the preset synchronization parameter, the capacitive pen determines that the first synchronization signal is not received, and continues to receive the second electrical signal, and continues to detect whether the second electrical signal is the first synchronization signal.

[0131] Optionally, to ensure the accuracy of identifying the first synchronization signal, when the capacitive stylus determines that the waveform of the second electrical signal is consistent with the waveform in the preset synchronization parameters, it also records the number of such waveforms currently received, and when the number reaches a preset threshold, determines that the second electrical signal is the first synchronization signal. When the number reaches the preset threshold, the electrical signal of the waveform can be considered relatively stable.

[0132] The capacitive stylus determines that the time synchronization of the current cycle is completed according to the first synchronization signal. Thereafter, step 430 is executed.

[0133] Step 430: Start timing.

[0134] For example, the capacitive stylus starts timing when or after it determines that it has completed time synchronization with the touch device within the current cycle. Similarly, timing is also started after the touch device applies the first synchronization signal, so that the capacitive stylus and the touch device have the same timing duration. That is, steps 430 and 420 can be performed simultaneously or sequentially.

[0135] Step 440: When the timed duration reaches a first preset duration, sequentially obtain the first electrical signal received by the receiving electrode during each driving time.

[0136] Each driving time corresponds to a first position, and the first position is the position of the driving electrode where the touch device applies the driving signal at the corresponding driving time. The driving electrodes are divided into first electrodes arranged along the first direction and second electrodes arranged along the second direction. The first electrical signal is the electrical signal received when the receiving electrode senses the driving signal at the corresponding driving time.

[0137] In actual applications, when the touch device changes from applying the first synchronization signal to applying the drive signal, a certain amount of preparation time is required. Similarly, when the capacitive pen changes from detecting the first synchronization signal to receiving the first electrical signal at each drive time, a certain amount of preparation time is also required. At this time, in order to avoid the different preparation times of the two devices affecting the time synchronization of the capacitive pen and the touch device, in an embodiment, a first preset time is set in both the capacitive pen and the touch device. The first preset time can be considered as the preparation time set in the capacitive pen and the touch device. Generally speaking, the first preset time is greater than or equal to the maximum value of the actual preparation time of the capacitive pen and the touch device. The first preset time is greater than or equal to zero. When the first preset time is zero, it means that neither the touch device nor the capacitive pen requires preparation time.

[0138] When the capacitive pen determines that the current timing duration has reached the first preset duration, it determines that the first electrical signal has been accurately received. At this time, the capacitive pen obtains the first electrical signal received by the receiving electrode at each driving time in turn and executes step 450. Similarly, after the touch device starts timing, it determines that the current timing duration has reached the first preset duration, and determines that the driving signal has been accurately applied. At this time, the touch device applies the driving signal to the driving electrode at the corresponding first position at each driving time in turn to ensure time synchronization between the capacitive pen and the touch device.

[0139] Step 450: Perform analog-to-digital conversion on the first electrical signal obtained each time to obtain a corresponding digital electrical signal.

[0140] Step 460: Determine a first position corresponding to the currently obtained digital electrical signal according to the driving time corresponding to the currently obtained digital electrical signal.

[0141] For example, the capacitive stylus can determine the first position corresponding to the current drive time. For details on the determination process, refer to the relevant description above. After obtaining the digital electrical signal corresponding to the current drive time, the capacitive stylus can determine that the digital electrical signal corresponds to the first position at the current drive time.

[0142] Step 470: When the first position corresponding to the currently obtained digital electrical signal corresponds to the first electrode, the currently obtained digital electrical signal is recorded at the second position of the first alternative sequence; when the first position corresponding to the currently obtained digital electrical signal corresponds to the second electrode, the currently obtained digital electrical signal is recorded at the second position of the second alternative sequence, and the second position corresponds to the first position.

[0143] Exemplarily, when the first position corresponding to the currently obtained digital electrical signal is the position of the first electrode, it can be determined that the first position corresponds to the first electrode, and at this time, the digital electrical signal is recorded in the first alternative sequence. Among them, the first alternative sequence can be considered as an alternative first signal strength sequence. Currently, the recording position of the digital electrical signal in the sequence is recorded as the second position, and the second position corresponds to the first position. For example, when scanning in order from top to bottom, when the first position represents the position of the first electrode in the third row of the horizontal channel, the digital electrical signal is recorded at the third numerical position in the first alternative sequence, and when the first position represents the position of the first electrode in the fourth row of the horizontal channel, the digital electrical signal is recorded at the fourth numerical position in the first alternative sequence.

[0144] Similarly, when the first position corresponding to the currently obtained digital electrical signal is the position of the second electrode, it can be determined that the first position corresponds to the second electrode. In this case, the digital electrical signal is recorded in the second alternative sequence. The second alternative sequence can be considered as an alternative second signal strength sequence. The process of recording the digital electrical signal in the second alternative sequence can be referred to the process of recording the digital electrical signal in the first alternative sequence, and will not be further described here.

[0145] Step 480: When it is determined that the processing of the digital electrical signal in the current cycle is completed, the first candidate sequence is used as the first signal strength sequence, and the second candidate sequence is used as the second signal strength sequence.

[0146] For example, each time a digital electrical signal is obtained, the digital electrical signal is entered into the corresponding sequence. Afterwards, when it is determined that the digital electrical signal processing in the current cycle is completed, the currently obtained first candidate sequence is used as the first signal strength sequence, and the currently obtained second candidate sequence is used as the second signal strength signal.

[0147] The digital electrical signals in the current cycle refer to the digital electrical signals obtained by the capacitive stylus when the touch device performs a scan. It is understood that, during each scan of the touch device, the capacitive stylus can generate a first candidate sequence and a second candidate sequence, and obtain a first signal strength sequence and a second signal strength sequence based on the first candidate sequence and the second candidate sequence.

[0148] In one embodiment, when the capacitive pen receives the first synchronization signal, when it is determined that the digital electrical signal processing in the current cycle is completed, before using the first alternative sequence as the first signal strength sequence and the second alternative sequence as the second signal strength sequence, it may also include: when the timing duration reaches a second preset duration, it is determined that the digital electrical signal processing in the current cycle is completed, and the second preset duration is the sum of the total duration required for each first electrode and each second electrode to be applied with a driving signal once and the first preset duration.

[0149] Exemplarily, the capacitive stylus records the drive time and the number of horizontal and vertical channels in the touch device. Therefore, the capacitive stylus can determine the total duration required for a single scan of the touch device. This total duration is added to the first preset duration to obtain the duration corresponding to one cycle. Currently, the duration corresponding to one cycle is recorded as the second preset duration. That is, the second preset duration includes the preparation time reserved after time synchronization and the duration during which a drive signal is applied to each first electrode and each second electrode. Optionally, the second preset duration can also be pre-stored in the capacitive stylus.

[0150] When the capacitive stylus receives the first electrical signal at each driving time, it determines in real time whether the current timing duration reaches the second preset duration. If it reaches the second preset duration, it is determined that the touch device has completed one scan. At this time, it is determined that the digital electrical signal processing in the current cycle is completed.

[0151] Optionally, in addition to determining whether a group of digital electrical signals has been processed by the second preset time length, it is also possible to determine whether a group of digital electrical signals has been processed by the number of horizontal channels and the number of vertical channels of the scanned driving electrodes. In the embodiment, using the second preset time length is only one feasible method.

[0152] Step 490: Determine the touch position of the capacitive stylus in the touch device according to the first signal strength sequence and the second signal strength sequence.

[0153] Step 4100: Send the touch position to the touch device.

[0154] The following is an exemplary description of the touch position determination method in this embodiment. For example, Figure 11 is a schematic diagram of the device structure of a capacitive stylus and a touch device provided in one embodiment of the present application. The control and calculation module 1211, signal synchronization module 1212, and receiving module 1213 included in the capacitive stylus 10 in Figure 11 are all internal modules of the first control module 121, which can be considered as a functional division of the first control module 121, wherein the signal synchronization module 1212 is used to achieve time synchronization, the receiving module 1213 is used to obtain the first electrical signal, and the control and calculation module 1211 is used to implement other functions of the first control module 121.

[0155] The driving electrodes in the touch device 20 (which can be the first electrode or the second electrode) constitute a driving electrode array 21. The capacitive touch screen control signal refers to the second control module 22, which includes a signal transmission driving module 221 (which is a virtual module for implementing the corresponding function). The signal transmission driving module 221 can apply synchronization signals and driving signals to the corresponding driving electrodes.

[0156] C STIt refers to the capacitance formed between the receiving electrode of the capacitive pen and the driving electrode of the capacitive screen. The capacitive pen can receive the electrical signals emitted by the capacitive screen to the driving electrode through capacitive coupling, such as driving signals and synchronization signals.

[0157] FIG12 is a timing diagram of a signal application of a touch device provided by an embodiment of the present application. Referring to FIG12 , T sync Indicates synchronization time. Touch devices can pre-set T sync The touch device applies a complete first synchronization signal to all first electrodes and / or all second electrodes within the synchronization time. After the capacitive stylus detects the first synchronization signal (implemented by the signal synchronization module 1212) within the synchronization time, it completes time synchronization with the touch device.

[0158] Afterwards, the touch device determines T sync After the end, at the first preset time T delay After that, the driving signal is applied. Similarly, after the capacitive stylus receives the first synchronization signal, it determines T sync End, then, at the first preset time T delay After that, it starts to receive the first electrical signal. delay ≥0.

[0159] T delay After that, the touch device and the capacitive pen determine to enter the driving time T drive , touch devices in each T drive 12, the touch device applies a driving signal in sequence, referring to FIG12, the touch device applies a driving signal to the first electrode of each horizontal channel in sequence, and then applies a driving signal to the second electrode of each longitudinal channel in sequence in the order from top to bottom and from left to right. The capacitive pen receives the first electrical signal (implemented by the receiving module 1213) at each driving time in sequence, and converts the analog-to-digital conversion into a digital electrical signal. After that, the digital electrical signal is recorded at the position corresponding to the signal intensity sequence to obtain a first signal intensity sequence and a second signal intensity sequence. The capacitive pen can obtain the third position of the touch operation on the Y axis of the touch coordinate system according to the first signal intensity sequence, and obtain the fourth position of the touch operation on the X axis of the touch coordinate system according to the second signal intensity sequence. After that, the fourth position and the third position are combined into a touch position (implemented by the control and calculation module 1211), and the touch position and identity data are packaged together and sent to the touch device for response. It can be understood that FIG12 only shows each T of a scanning process. drive After one scan is completed, the touch device re-enters T sync , applying a first synchronization signal to all first electrodes and / or all second electrodes, T sync After the end, at the first preset time T delay After that, start at each Tdrive The driving signal is applied in sequence to continue scanning, and each time the capacitive pen scans, the touch position determined at this time is sent to the touch device.

[0160] As described above, the capacitive pen obtains the received second electrical signal, and then, when it is determined that the second electrical signal is the first synchronization signal, the capacitive pen sequentially obtains the first electrical signal received by the receiving electrode at each driving time, and then obtains the touch position based on the first electrical signal. This technical means ensures time synchronization between the capacitive pen and the touch device, thereby ensuring the accuracy of the touch position. In addition, the capacitive pen and the touch device perform time synchronization once in each cycle, which can further ensure the accuracy of the touch position. Based on the preset first duration, the capacitive pen is provided with preparation time to prepare to receive the first electrical signal, and the touch device is provided with preparation time to prepare to apply the driving signal. This further ensures that the driving times in the capacitive pen and the touch device are different, further improving the accuracy of the touch position.

[0161] FIG13 is a flow chart of another touch position determination method provided by an embodiment of the present application. This touch position determination method adds another implementation method for time synchronization between the capacitive stylus and the touch device based on the method shown in FIG5 . In this embodiment, the touch device first generates a synchronization signal corresponding to the first electrode and applies it to the first electrode, then generates a drive signal and applies it to the corresponding first electrode, then generates a synchronization signal corresponding to the second electrode and applies it to the second electrode, and then generates a drive signal and applies it to the corresponding second electrode.

[0162] Referring to FIG13 , the touch position determination method includes:

[0163] Step 510: Acquire a third electrical signal received by the receiving electrode. If the third electrical signal is the second synchronization signal, execute step 520; if the third electrical signal is the third synchronization signal, execute step 530.

[0164] Exemplarily, the third electrical signal is the electrical signal sensed by the capacitive stylus via the receiving electrode during the non-actuated time. Generally speaking, during each cycle, the capacitive stylus receives the third electrical signal first. It is understood that the third electrical signal and the second electrical signal have the same physical meaning; the only difference lies in the different implementation methods of time synchronization between the capacitive stylus and the touch device.

[0165] Currently, the synchronization signals used by the touch device include a second synchronization signal and a third synchronization signal. The signal parameters of the second synchronization signal and the third synchronization signal are not completely the same, that is, the second synchronization signal and the third synchronization signal are different synchronization signals.

[0166] The second synchronization signal is a synchronization signal applied to all first electrodes before the touch device applies a drive signal to each first electrode. The third synchronization signal is a synchronization signal applied to all second electrodes before the touch device applies a drive signal to each second electrode. That is, during a scanning process of the touch device, the second synchronization signal is first applied to synchronize the time of the capacitive pen and the touch device. After that, the touch device applies the drive signal to the first electrodes in turn. When each first electrode has been applied with a drive signal once (i.e., the scanning of the first electrodes is completed), the touch device applies the third synchronization signal to synchronize the time of the capacitive pen and the touch device again. After that, the touch device applies the drive signal to the second electrodes in turn. That is, during each scanning process (i.e., each cycle), the touch device and the capacitive pen need to be synchronized twice. Since the touch device first applies a drive signal to each first electrode and then applies a drive signal to each second electrode, the touch device should first use the second synchronization signal and then use the third synchronization signal.

[0167] Exemplarily, when the capacitive stylus receives the third electrical signal, it identifies whether the third electrical signal is the second synchronization signal or the third synchronization signal. This process can refer to the process of the capacitive stylus identifying the second electrical signal as the first synchronization signal, i.e., identification can be performed based on signal parameters, which will not be described in detail herein. If the capacitive stylus determines that the third electrical signal is the second synchronization signal, step 520 is executed. If the capacitive stylus determines that the third electrical signal is the third synchronization signal, step 530 is executed.

[0168] Step 520 : When the third electrical signal is the second synchronization signal, determine whether the touch device has completed the time synchronization when starting to scan the first electrode in the current cycle, and then execute step 540 .

[0169] For example, when the capacitive stylus determines that the third electrical signal is the second synchronization signal, it determines that the time synchronization before the first electrode scanning is completed. At this time, the capacitive stylus determines that the touch device starts applying the drive signal to the first electrode, and the capacitive stylus can receive the first electrical signal, which corresponds to the first electrode.

[0170] Step 530 : When the third electrical signal is the third synchronization signal, determine the time synchronization with when the touch device completes the start of scanning the second electrode in the current cycle, and then execute step 540 .

[0171] For example, when the capacitive stylus determines that the third electrical signal is the third synchronization signal, it determines that the time synchronization before the second electrode scanning is completed. At this time, the capacitive stylus determines that the touch device starts applying the drive signal to the second electrode, and the capacitive stylus can receive the first electrical signal, which corresponds to the second electrode.

[0172] It is understood that the application duration of the second synchronization signal and the application duration of the third synchronization signal applied by the touch device can be pre-set in the touch device. The two application durations can be the same or different. It is understood that during the application duration of the second synchronization signal, the touch device applies a complete second synchronization signal to the first electrode. During the application duration of the third synchronization signal, the touch device applies a complete third synchronization signal to the second electrode.

[0173] Step 540: sequentially obtain the first electrical signal received by the receiving electrode at each driving time.

[0174] It is understandable that after the capacitive stylus receives the second synchronization signal, it sequentially obtains the first electrical signals corresponding to each horizontal channel. After the capacitive stylus receives the third synchronization signal, it sequentially obtains the first electrical signals corresponding to each vertical channel.

[0175] Optionally, the capacitive stylus begins timing when or after receiving the second synchronization signal, and sequentially acquires the first electrical signal corresponding to each horizontal channel when the timing reaches a third preset duration. Similarly, the touch device begins timing after applying a complete second synchronization signal, and sequentially applies a drive signal to each first electrode when the timing reaches the third preset duration.

[0176] The capacitive stylus begins timing upon or after receiving the third synchronization signal, and sequentially acquires the first electrical signal corresponding to each longitudinal channel when the timing reaches a fourth preset duration. Similarly, the touch device begins timing after applying a complete third synchronization signal, and sequentially applies a drive signal to each second electrode when the timing reaches a fourth preset duration.

[0177] Among them, the third preset time and the fourth preset time are both greater than or equal to zero, and can be considered as the preparation time required for the capacitive pen and the touch device. The relevant description of the first preset time can be referred to and will not be repeated here.

[0178] Step 550: Perform analog-to-digital conversion on the first electrical signal obtained each time to obtain a corresponding digital electrical signal.

[0179] Step 560: Determine a first position corresponding to the currently obtained digital electrical signal according to the driving time corresponding to the currently obtained digital electrical signal.

[0180] Step 570: When the first position corresponding to the currently obtained digital electrical signal corresponds to the first electrode, the currently obtained digital electrical signal is recorded at the second position of the first alternative sequence; when the first position corresponding to the currently obtained digital electrical signal corresponds to the second electrode, the currently obtained digital electrical signal is recorded at the second position of the second alternative sequence, and the second position corresponds to the first position.

[0181] Step 580: When it is determined that the processing of the digital electrical signal in the current cycle is completed, the first candidate sequence is used as the first signal strength sequence, and the second candidate sequence is used as the second signal strength sequence.

[0182] Exemplarily, during the use of the capacitive stylus, the second synchronization signal should be detected first, then the first electrical signals corresponding to the first electrode are received, the first electrical signals are converted into digital electrical signals, and recorded in the first alternative sequence, and then the third synchronization signal is detected. Then, the first electrical signals corresponding to the second electrode are received, the first electrical signals are converted into digital electrical signals, and recorded in the second alternative sequence, and then the second synchronization signal is detected again, and so on. If the capacitive stylus currently receives (i.e., detects) the third synchronization signal, it is determined that the touch device has applied a drive signal once to each first electrode. At this time, the capacitive stylus obtains the first alternative sequence of each digital electrical signal currently recorded and uses it as the first signal strength sequence. Similarly, if the capacitive stylus receives the second synchronization signal (the second synchronization signal is the second synchronization signal received after receiving the first electrical signal), it is determined that the capacitive stylus has applied a drive signal once to each second electrode. At this time, the second alternative sequence of each digital electrical signal currently recorded is obtained and used as the second signal strength sequence. At this time, this step is specifically as follows: when it is determined that the third synchronization signal is received, the current first alternative sequence is used as the first signal strength sequence; when it is determined that the second synchronization signal is received, the current second alternative sequence is used as the second signal strength sequence. That is, during the use of a capacitive stylus, a first signal strength sequence, a second signal strength sequence, a first signal strength sequence, a second signal strength sequence, and so on are sequentially generated. Each first signal strength sequence and the second signal strength sequence determined thereafter can be used to determine the touch position corresponding to a single scanning process (i.e., a single cycle). The steps in this embodiment are merely intended to illustrate the implementation of the touch position determination method and are not intended to limit the execution sequence.

[0183] It can be understood that in addition to the method of obtaining the first signal strength sequence and the second signal strength sequence based on the third synchronization signal and the second synchronization signal respectively, other methods can also be used in actual applications. For example, the capacitive pen pre-stores the time length required for each first electrode to be applied with a driving signal once, and the time length required for each second electrode to be applied with a driving signal once. Based on the two time lengths, it can be determined whether each first electrode is applied with a driving signal once, thereby obtaining the first signal strength sequence, and it can be determined whether each second electrode is applied with a driving signal once, thereby obtaining the second signal strength sequence.

[0184] Step 590: After obtaining the first signal strength sequence and the second signal strength sequence, determine the touch position of the capacitive stylus in the touch device according to the first signal strength sequence and the second signal strength sequence.

[0185] Exemplarily, determining the touch position requires a first signal strength sequence and a second signal strength sequence. Therefore, after the capacitive pen obtains the first signal strength sequence, it first caches the first signal strength sequence, and then when it obtains the second signal strength sequence, it determines the signal strength sequence required for one cycle. At this time, the touch position can be obtained based on the cached first signal strength sequence and the second signal strength sequence.

[0186] Step 5100: Send the touch position to the touch device.

[0187] The following is an exemplary description of the touch position determination method shown in FIG13. Currently, the device structure diagram of the capacitive pen and the touch device can refer to FIG8. FIG14 is another signal application timing diagram of the touch device provided in one embodiment of the present application. Referring to FIG14, T sync1 and T sync2 Both represent synchronization time. The touch device is in T sync1 Under the condition that a complete second synchronization signal is applied to all first electrodes, at the synchronization time T sync2 In this case, a complete third synchronization signal is applied to all the second electrodes.

[0188] The touch device first applies the second synchronization signal to all the first electrodes. After the capacitive stylus detects the second synchronization signal (implemented by the signal synchronization module 1212), it completes time synchronization with the touch device. delay1 After that, the driving signal starts to be applied. Similarly, the capacitive stylus delay1 Then, the touch device starts to receive the first electrical signal (implemented by the receiving module 1213). drive The driving signal is applied to the first electrode of each transverse channel in order from top to bottom. The capacitive stylus is drive Next, the first electrical signal is received and converted into a digital electrical signal, and then the digital electrical signal is recorded at a position corresponding to the first signal strength sequence to obtain a first signal strength sequence (implemented by the control and calculation module 1211).

[0189] After that, the touch device applies a driving signal to all the first electrodes, and then applies a third synchronization signal to all the second electrodes. After the capacitive stylus detects the third synchronization signal (implemented by the signal synchronization module 1212), it completes time synchronization with the touch device. After that, the touch device completes time synchronization at the fourth preset time T delay2 After that, the driving signal starts to be applied. Similarly, the capacitive stylus delay2 Then, the touch device starts to receive the first electrical signal (implemented by the receiving module 1213). driveIn this case, the driving signal is applied to the second electrode of each longitudinal channel in sequence from left to right. The capacitive stylus is drive Next, the first electrical signal is received and converted into a digital electrical signal, and then the digital electrical signal is recorded at a position corresponding to the second signal strength sequence to obtain a second signal strength sequence (implemented by the control and calculation module 1211).

[0190] After the capacitive stylus obtains the first signal strength sequence and the second signal strength sequence, the third position on the Y axis can be obtained according to the first signal strength sequence, and the fourth position on the X axis can be obtained according to the second signal strength sequence (implemented by the control and calculation module 1211). After that, the fourth position and the third position are combined into a touch position, and the touch position and identity data are packaged together and sent to the touch device for response. It can be understood that Figure 14 only shows the various signals applied by the touch device during a scan and the corresponding time. In actual application, the touch device repeatedly applies signals according to the signal application timing shown in Figure 14 to achieve repeated scanning.

[0191] In the above-described method, the capacitive stylus receives a third electrical signal, and then, upon determining that the third electrical signal is the second synchronization signal, determines that time synchronization for initiating the first electrode scan within the current cycle has been completed. Subsequently, the touch device can apply a drive signal to the first electrode of each transverse channel at each drive time. Simultaneously, the capacitive stylus sequentially receives the first electrical signal received by the receiving electrode at each drive time. Upon determining that the third electrical signal is the third synchronization signal, determines that time synchronization for initiating the second electrode scan within the current cycle has been completed. Subsequently, the touch device can apply a drive signal to the second electrode of each longitudinal channel at each drive time. Simultaneously, the capacitive stylus sequentially receives the first electrical signal received by the receiving electrode at each drive time. Subsequently, the touch position is determined based on the first signal strength sequence and the second signal strength sequence. This technical approach ensures time synchronization between the capacitive stylus and the touch device, thereby ensuring the accuracy of the touch position. Furthermore, the touch device performs time synchronization each time it scans the first electrode and each time it scans the second electrode, ensuring the accuracy of time synchronization between the touch device and the capacitive stylus, further improving the accuracy of the touch position.

[0192] The present application also provides a method for acquiring a touch position, which can be executed by a touch control device. The touch control device can refer to the touch control device described above. FIG15 is a flow chart of a method for acquiring a touch position provided by an embodiment of the present application. Referring to FIG15 , the method for acquiring a touch position includes:

[0193] Step 610: Apply a driving signal to the driving electrodes at the corresponding first positions at each driving time in sequence. Each driving time corresponds to a first position. The driving electrodes are divided into first electrodes arranged along a first direction and second electrodes arranged along a second direction. The first direction and the second direction are perpendicular to each other.

[0194] Exemplarily, this process may be executed by the second control module of the touch device, and the process of applying the driving signal may refer to the scanning process described above.

[0195] Step 620: Receive a touch position sent by at least one capacitive stylus, where the touch position is determined by the capacitive stylus according to a first electrical signal received by a receiving electrode at each driving time and a first position corresponding to the driving time.

[0196] After each capacitive stylus currently in use determines the touch location, it sends the touch location to the touch-control device. The touch-control device's second communication module then receives the touch location and sends it to the second control module. The second control module then determines the touch location received from each capacitive stylus. Optionally, the touch location and the capacitive stylus's identity data can be sent together. In this case, the second control module can also determine the identity data corresponding to each touch location.

[0197] Step 630: Perform touch response according to the touch position.

[0198] After receiving the touch position, the second control module of the touch device responds to the touch. During the touch response, the second control module sends the touch position to the main control module, which in turn sends the touch position to the currently running application so that the application can respond. It is understood that if the touch device only includes a capacitive touch screen (i.e., without a main control module), the second control module can send the touch position externally so that other devices used in conjunction with the touch device can receive the touch position and respond.

[0199] The implementation details of the touch device when executing the touch position acquisition method may refer to the implementation details of the touch device described in the aforementioned touch position determination method, and have corresponding functions and beneficial effects.

[0200] In one embodiment of the present application, before step 610, it also includes: applying a first synchronization signal to all the first electrodes and / or all the second electrodes, the first synchronization signal is used to synchronize the time with the capacitive pen to complete the current cycle, and the touch device is synchronized with the capacitive pen in each cycle.

[0201] Exemplarily, the second control module of the touch device applies a first synchronization signal to all first electrodes and / or all second electrodes. After the first synchronization signal is applied, the second control module may start applying a driving signal to the driving electrode at the corresponding first position at each driving time.

[0202] In one embodiment, after applying the first synchronization signal to all first electrodes and / or all second electrodes, the method may include: starting a timer, and when the timed duration reaches a first preset duration, sequentially applying the drive signal to the drive electrodes at the corresponding first positions at each drive time. Exemplarily, after the second control module of the touch-sensitive device applies the first synchronization signal, it starts a timer, and when it determines that the current timed duration has reached the first preset duration, it begins applying the drive signal to the drive electrodes at the corresponding first positions at each drive time.

[0203] In one embodiment of the present application, step 610 may specifically include: applying a second synchronization signal to all the first electrodes; the second synchronization signal is used to synchronize with the time when the capacitive pen completes the scanning of the first electrode in the current cycle; applying a driving signal to the first electrode at the corresponding first position at each driving time corresponding to each first electrode; applying a third synchronization signal to all the second electrodes, the third synchronization signal is used to synchronize with the time when the capacitive pen completes the scanning of the second electrode in the current cycle; applying a driving signal to the second electrode at the corresponding first position at each driving time corresponding to each second electrode.

[0204] Exemplarily, the second control module of the touch device first applies a second synchronization signal to all first electrodes. After applying the second synchronization signal, the second control module may begin applying a drive signal to the first electrodes at the corresponding first position at each drive time. After all first electrodes are applied with a drive signal once (i.e., each horizontal channel is applied with a drive signal once), the second control module of the touch device applies a third synchronization signal to all second electrodes. After applying the third synchronization signal, the second control module may begin applying a drive signal to the second electrodes at the corresponding first position at each drive time. After all second electrodes are applied with a drive signal once (i.e., each vertical channel is applied with a drive signal once), the second control module of the touch device applies a second synchronization signal to all first electrodes, and so on, to achieve scanning of each first electrode and second electrode.

[0205] In one embodiment, after the second control module of the touch-sensitive device applies the second synchronization signal, it starts timing, and upon determining that the current timing duration has reached a third preset duration, it begins applying the driving signal to the first electrode at the corresponding first position during each driving time. After the second control module of the touch-sensitive device applies the third synchronization signal, it starts timing, and upon determining that the current timing duration has reached a fourth preset duration, it begins applying the driving signal to the second electrode at the corresponding first position during each driving time.

[0206] The implementation details of the touch device when executing the touch position acquisition method may refer to the implementation details of the touch device described in the aforementioned touch position determination method, and have corresponding functions and beneficial effects.

[0207] An embodiment of the present application also provides a capacitive pen. Referring to Figure 2, the capacitive pen 10 includes a pen tip 11 and a pen body 12. A receiving electrode 111 is provided on the pen tip 11, and a first control module 121 and a first communication module 122 are provided inside the pen body 12. The first control module 121 is connected to the receiving electrode 111 and the first communication module 122 respectively.

[0208] The first control module 121 is configured to sequentially acquire the first electrical signal received by the receiving electrode 111 during each driving time. Each driving time corresponds to a first position, where the first position is the location of the driving electrode to which the driving signal is applied in the touch device during the corresponding driving time. The driving electrodes are divided into first electrodes arranged along a first direction and second electrodes arranged along a second direction. The first electrical signal is the electrical signal received when the receiving electrode senses the driving signal during the corresponding driving time. Based on each acquired first electrical signal and the first position corresponding to the corresponding driving time, a first signal strength sequence corresponding to the first electrode and a second signal strength sequence corresponding to the second electrode are obtained. The touch position of the capacitive stylus in the touch device is determined based on the first signal strength sequence and the second signal strength sequence. The touch position is then sent to the first communication module 122. The first communication module 122 is configured to send the touch position to the touch device.

[0209] In one embodiment of the present application, the first control module 121 is further configured to sequentially acquire the first electrical signal received by the receiving electrode at each driving time, and then perform analog-to-digital conversion on the first electrical signal acquired each time to obtain a corresponding digital electrical signal.

[0210] In one embodiment of the present application, the first control module 121 is used to obtain a first signal strength sequence corresponding to the first electrode and a second signal strength sequence corresponding to the second electrode based on the first electrical signal obtained each time and the first position corresponding to the corresponding driving time. It is specifically used to: determine the first position corresponding to the currently obtained digital electrical signal based on the driving time corresponding to the currently obtained digital electrical signal; when the first position corresponding to the currently obtained digital electrical signal corresponds to the first electrode, record the currently obtained digital electrical signal at the second position of the first alternative sequence; when the first position corresponding to the currently obtained digital electrical signal corresponds to the second electrode, record the currently obtained digital electrical signal at the second position of the second alternative sequence, and the second position corresponds to the first position; when it is determined that the digital electrical signal in the current cycle has been processed, use the first alternative sequence as the first signal strength sequence, and use the second alternative sequence as the second signal strength sequence.

[0211] In one embodiment of the present application, the first control module 121 is also used to obtain the second electrical signal received by the receiving electrode 111 before sequentially obtaining the first electrical signal received by the receiving electrode at each driving time; when the second electrical signal is the first synchronization signal, it is determined to complete the time synchronization of the current cycle with the touch device, and the capacitive pen is time synchronized with the touch device in each cycle.

[0212] In one embodiment of the present application, the first control module 121 is further configured to, when determining that the second electrical signal is the first synchronization signal, start timing at or after the time synchronization with the touch-sensitive device has completed the current cycle. Accordingly, the first control module 121 is configured to sequentially acquire the first electrical signal received by the receiving electrode 111 during each driving time, specifically when the timing duration reaches a first preset duration, sequentially acquire the first electrical signal received by the receiving electrode 111 during each driving time.

[0213] In one embodiment of the present application, the first control module 121 is also used to determine when the processing of the digital electrical signal in the current cycle is completed, and before using the first alternative sequence as the first signal strength sequence and the second alternative sequence as the second signal strength sequence, when the timing duration reaches a second preset duration, it is determined that the processing of the digital electrical signal in the current cycle is completed, and the second preset duration is the sum of the total duration required for each first electrode and each second electrode to be applied with a driving signal once and the first preset duration.

[0214] In one embodiment of the present application, the first control module 121 is further used to detect signal parameters of the second electrical signal after acquiring the second electrical signal received by the receiving electrode; when the signal parameters are consistent with preset synchronization parameters, determine that the second electrical signal is the first synchronization signal.

[0215] In one embodiment of the present application, the first control module 121 is further used to obtain the third electrical signal received by the receiving electrode before sequentially obtaining the first electrical signal received by the receiving electrode at each driving time; when the third electrical signal is the second synchronization signal, determine the time synchronization with the touch device when the touch device completes the start of scanning the first electrode in the current cycle; when the third electrical signal is the third synchronization signal, determine the time synchronization with the touch device when the touch device completes the start of scanning the second electrode in the current cycle.

[0216] In one embodiment of the present application, the first control module 121 is used to determine that when the digital electrical signal processing in the current cycle is completed, the first alternative sequence is used as the first signal strength sequence, and the second alternative sequence is used as the second signal strength sequence. It is specifically used to: when it is determined that the third synchronization signal is received, the current first alternative sequence is used as the first signal strength sequence; when it is determined that the second synchronization signal is received, the current second alternative sequence is used as the second signal strength sequence; after obtaining the first signal strength sequence and the second signal strength sequence, perform the operation of determining the touch position of the capacitive pen in the touch device according to the first signal strength sequence and the second signal strength sequence.

[0217] In one embodiment of the present application, the first control module 121 is used to determine the touch position of the capacitive pen in the touch device based on the first signal strength sequence and the second signal strength sequence, specifically to: when there is at least one non-zero data in both the first signal strength sequence and the second signal strength sequence, determine the touch position of the capacitive pen in the touch device based on the first signal strength sequence and the second signal strength sequence.

[0218] In one embodiment of the present application, the first control module 121 is used to determine the touch position of the capacitive pen in the touch device based on the first signal strength sequence and the second signal strength sequence, and is specifically used to: perform interpolation operation on each digital electrical signal in the first signal strength sequence, and draw a first line based on the interpolation operation result, perform interpolation operation on each digital electrical signal in the second signal strength sequence, and draw a second line based on the interpolation operation result; determine the third position of the capacitive pen on the first coordinate axis in the touch device based on the first line, and determine the fourth position of the capacitive pen on the second coordinate axis in the touch device based on the second line; and combine the fourth position and the third position to form the touch position of the capacitive pen in the touch device.

[0219] In one embodiment of the present application, the first control module 121 is further configured to abandon processing the first signal strength sequence and the second signal strength sequence when both the first signal strength sequence and the second signal strength sequence have zero data.

[0220] In one embodiment of the present application, the first control module 121 is configured to send the identity data of the capacitive stylus to the first communication module 122 when sending the touch position. The first communication module 22 is configured to send the identity data of the capacitive stylus to the touch device when sending the touch position.

[0221] The capacitive stylus described above can be used to execute the touch position determination method provided in any embodiment of the present application, and has corresponding functions and beneficial effects.

[0222] One embodiment of the present application also provides a touch device. Referring to Figure 3, the touch device 20 includes: a second control module 21, a driving electrode array 22 and a second communication module 23. The second control module 21 is connected to the driving electrode array 22 and the second communication module 23 respectively. The driving electrode array 22 includes first electrodes arranged along a first direction and second electrodes arranged along a second direction. The first direction and the second direction are perpendicular to each other.

[0223] The second control module 21 is used to apply a driving signal to the driving electrode at the corresponding first position at each driving time in sequence, and each driving time corresponds to a first position; it is also used to receive the touch position sent by at least one capacitive pen through the second communication module 23, and perform a touch response according to the touch position. The touch position is determined by the capacitive pen based on the first electrical signal received by the receiving electrode at each driving time and the first position corresponding to the driving time.

[0224] The second communication module 23 is configured to receive a touch position sent by at least one capacitive stylus and send the touch position to the second control module 21 .

[0225] In one embodiment of the present application, the second control module 21 is also used to apply a first synchronization signal to all the first electrodes and / or all the second electrodes before applying the driving signal to the driving electrode at the corresponding first position at each driving time. The first synchronization signal is used to synchronize the time with the capacitive pen to complete the current cycle, and the touch device is time-synchronized with the capacitive pen in each cycle.

[0226] In one embodiment of the present application, the second control module 21 is further used to start timing after applying the first synchronization signal to all the first electrodes and / or all the second electrodes; when the timing duration reaches the first preset duration, the operation of applying the driving signal to the driving electrode at the corresponding first position at each driving time in turn is executed.

[0227] In one embodiment of the present application, the second control module 21 is used to apply a driving signal to the driving electrode at the corresponding first position at each driving time in sequence, specifically for: applying a second synchronization signal to all the first electrodes, the second synchronization signal is used to synchronize with the time when the capacitive pen completes the scanning of the first electrode in the current cycle; applying a driving signal to the first electrode at the corresponding first position at each driving time corresponding to each first electrode in sequence; applying a third synchronization signal to all the second electrodes, the third synchronization signal is used to synchronize with the time when the capacitive pen completes the scanning of the second electrode in the current cycle, and applying a driving signal to the second electrode at the corresponding first position at each driving time corresponding to each second electrode in sequence.

[0228] The above-mentioned touch device can be used to execute the touch position acquisition method provided in any embodiment of the present application, and has corresponding functions and beneficial effects.

[0229] One embodiment of the present application further provides a touch system. Referring to FIG1 , the touch system includes a touch device 20 and at least one capacitive stylus 10. In FIG1 , the touch device 20 is described as an interactive tablet and includes two capacitive styluses 10. The relevant structures of the touch device 20 and the capacitive stylus 10 can refer to the aforementioned content, and the capacitive stylus 10 is used to execute the touch position determination method provided in any of the aforementioned embodiments, and the specific corresponding functions and beneficial effects, and the touch device 20 is used to execute the touch position acquisition method provided in any of the aforementioned embodiments, and the specific corresponding functions and beneficial effects.

[0230] One embodiment of the present application further provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform relevant operations in the touch position determination method and the touch position acquisition method provided in any embodiment of the present application, and have corresponding functions and beneficial effects.

[0231] Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products.

[0232] Therefore, the application can adopt the form of complete hardware embodiment, complete software embodiment, or the embodiment in combination with software and hardware. Moreover, the application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The application is described with reference to the flow chart and / or block diagram of the method, equipment (system) and computer program product according to the embodiment of the application. It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow chart and / or box in the flow chart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instruction executed by the processor of the computer or other programmable data processing device produces a device for realizing the function specified in one flow chart flow chart or multiple flow processes and / or one block or multiple blocks of the block diagram. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device that implements the functions specified in one or more processes of the flowchart and / or one or more blocks of the block diagram. These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes of the flowchart and / or one or more blocks of the block diagram.

[0233] Computer-readable media include permanent and non-permanent, removable and non-removable media that can implement signal storage by any method or technology.

[0234] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0235] Note that the above are only preferred embodiments of the present application and the technical principles employed. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments and may include many other equivalent embodiments without departing from the scope of the present application. The scope of the present application is determined by the scope of the appended claims.

Claims

1. A touch position determination method, applied to a capacitive stylus, wherein: include: Sequentially acquiring a first electrical signal received by the receiving electrode at each driving time, each driving time corresponding to a first position, the first position being a position of a driving electrode to which a driving signal is applied in the touch control device at the corresponding driving time, the driving electrode being divided into a first electrode arranged along a first direction and a second electrode arranged along a second direction, the first electrical signal being an electrical signal received by the receiving electrode when sensing the driving signal at the corresponding driving time; Obtaining a first signal strength sequence corresponding to the first electrode and a second signal strength sequence corresponding to the second electrode according to the first electrical signal acquired each time and the first position corresponding to the corresponding driving time; Determine a touch position of the capacitive pen in the touch device according to the first signal strength sequence and the second signal strength sequence; The touch position is sent to the touch device.

2. The touch position determination method according to claim 1, wherein: After sequentially acquiring the first electrical signal received by the receiving electrode at each driving time, the method includes: Perform analog-to-digital conversion on the first electrical signal obtained each time to obtain a corresponding digital electrical signal.

3. The touch position determination method according to claim 2, wherein: The obtaining, according to each acquired first electrical signal and the first position corresponding to the corresponding driving time, a first signal strength sequence corresponding to the first electrode and a second signal strength sequence corresponding to the second electrode, comprises: Determine a first position corresponding to the currently obtained digital electrical signal according to a driving time corresponding to the currently obtained digital electrical signal; When the first position corresponding to the currently obtained digital electrical signal corresponds to the first electrode, the currently obtained digital electrical signal is recorded at the second position of the first candidate sequence; when the first position corresponding to the currently obtained digital electrical signal corresponds to the second electrode, the currently obtained digital electrical signal is recorded at the second position of the second candidate sequence, and the second position corresponds to the first position; When it is determined that the processing of the digital electrical signal in the current cycle is completed, the first candidate sequence is used as a first signal strength sequence, and the second candidate sequence is used as a second signal strength sequence.

4. The touch position determination method according to claim 3, wherein: Before sequentially acquiring the first electrical signal received by the receiving electrode at each driving time, the method includes: Acquiring a second electrical signal received by the receiving electrode; When the second electrical signal is the first synchronization signal, it is determined that the time synchronization of the current cycle is completed with the touch control device, and the capacitive pen is synchronized with the touch control device in each cycle.

5. The touch position determination method according to claim 4, wherein: The step of determining when or after the touch control device completes time synchronization of a current cycle when the second electrical signal is the first synchronization signal comprises: Start the timer; The step of sequentially acquiring the first electrical signal received by the receiving electrode at each driving time includes: When the timed duration reaches the first preset duration, the first electrical signal received by the receiving electrode at each driving time is acquired in sequence.

6. The touch position determination method according to claim 5, wherein: Before determining that the processing of the digital electrical signal in the current cycle is completed, using the first candidate sequence as a first signal strength sequence and using the second candidate sequence as a second signal strength sequence, the method includes: When the timing duration reaches a second preset duration, it is determined that the processing of the digital electrical signal in the current cycle is completed, and the second preset duration is the sum of the total duration required for each of the first electrodes and each of the second electrodes to be applied with a driving signal once and the first preset duration.

7. The touch position determination method according to claim 4, wherein: After acquiring the second electrical signal received by the receiving electrode, the method includes: detecting a signal parameter of the second electrical signal; When the signal parameter is consistent with the preset synchronization parameter, the second electrical signal is determined to be the first synchronization signal.

8. The touch position determination method according to claim 3, wherein: Before sequentially acquiring the first electrical signal received by the receiving electrode at each driving time, the method includes: Acquiring a third electrical signal received by the receiving electrode; When the third electrical signal is the second synchronization signal, determining synchronization with the time when the touch control device completes starting scanning of the first electrode in the current cycle; When the third electrical signal is a third synchronization signal, it is determined to be synchronized with the time when the touch control device completes starting to scan the second electrode in the current cycle.

9. The touch position determination method according to claim 8, wherein: The step of determining that the processing of the digital electrical signal in the current cycle is completed, using the first candidate sequence as a first signal strength sequence and using the second candidate sequence as a second signal strength sequence, comprises: When determining that the third synchronization signal is received, using the current first candidate sequence as the first signal strength sequence; When determining that the second synchronization signal is received, use the current second candidate sequence as a second signal strength sequence; After obtaining the first signal strength sequence and the second signal strength sequence, an operation of determining a touch position of the capacitive pen in the touch control device according to the first signal strength sequence and the second signal strength sequence is performed.

10. The touch position determination method according to claim 1, wherein: The step of determining the touch position of the capacitive pen in the touch control device according to the first signal strength sequence and the second signal strength sequence includes: When both the first signal strength sequence and the second signal strength sequence have at least one non-zero data, the touch position of the capacitive pen in the touch control device is determined according to the first signal strength sequence and the second signal strength sequence.

11. The touch position determination method according to claim 2 or 3, wherein: The step of determining the touch position of the capacitive pen in the touch control device according to the first signal strength sequence and the second signal strength sequence includes: Performing an interpolation operation on each digital electrical signal in the first signal strength sequence, and drawing a first line based on the interpolation operation result, performing an interpolation operation on each digital electrical signal in the second signal strength sequence, and drawing a second line based on the interpolation operation result; Determine a third position of the capacitive pen on the first coordinate axis in the touch device according to the first line, and determine a fourth position of the capacitive pen on the second coordinate axis in the touch device according to the second line; The fourth position and the third position constitute the touch position of the capacitive pen in the touch device.

12. The touch position determination method according to claim 10, wherein: Also includes: In the case that both the first signal strength sequence and the second signal strength sequence contain zero data, the processing of the first signal strength sequence and the second signal strength sequence is abandoned.

13. The touch position determination method according to claim 1, wherein: The sending of the touch position to the touch device further includes: The identity data of the capacitive pen is sent to the touch control device.

14. A touch position acquisition method, applied to a touch device, wherein: include: Applying a driving signal to the driving electrodes at the corresponding first positions in sequence at each driving time, each driving time corresponds to a first position, the driving electrodes are divided into first electrodes arranged along a first direction and second electrodes arranged along a second direction, the first direction and the second direction being perpendicular to each other; receiving a touch position sent by at least one capacitive stylus, wherein the touch position is determined by the capacitive stylus according to a first electrical signal received by a receiving electrode at each driving time and a first position corresponding to the driving time; A touch response is performed according to the touch position.

15. The touch position acquisition method according to claim 14, wherein: Before applying the driving signal to the driving electrode at the corresponding first position at each driving time, the method includes: A first synchronization signal is applied to all the first electrodes and / or all the second electrodes, wherein the first synchronization signal is used for time synchronization with the capacitive pen to complete a current cycle, and the touch control device is time synchronized with the capacitive pen in each cycle.

16. The touch position acquisition method according to claim 15, wherein: After applying the first synchronization signal to all the first electrodes and / or all the second electrodes, the method comprises: Start the timer; When the timed duration reaches the first preset duration, an operation of applying a driving signal to the driving electrode at the corresponding first position at each driving time is performed in sequence.

17. The touch position acquisition method according to claim 14, wherein: The step of applying a driving signal to the driving electrodes at the corresponding first positions at each driving time in sequence comprises: Applying a second synchronization signal to all the first electrodes, wherein the second synchronization signal is used to synchronize with the time when the capacitive stylus completes scanning of the first electrodes in the current cycle; sequentially applying a driving signal to the first electrode at the corresponding first position at each driving time corresponding to each of the first electrodes; Applying a third synchronization signal to all the second electrodes, the third synchronization signal being used for synchronization with the time when the capacitive stylus completes the start of scanning the second electrodes in the current cycle; A driving signal is sequentially applied to the second electrode at the corresponding first position at each driving time corresponding to each second electrode.

18. A capacitive stylus, wherein: include: A pen tip and a pen holder, wherein a receiving electrode is arranged on the pen tip, and a first control module and a first communication module are arranged inside the pen holder, wherein the first control module is connected to the receiving electrode and the first communication module respectively; The first control module is used to sequentially obtain the first electrical signal received by the receiving electrode at each driving time, each driving time corresponds to a first position, the first position is the position of the driving electrode to which the driving signal is applied in the touch device at the corresponding driving time, the driving electrode is divided into a first electrode arranged along a first direction and a second electrode arranged along a second direction, and the first electrical signal is the electrical signal received by the receiving electrode when sensing the driving signal at the corresponding driving time; According to the first electrical signal obtained each time and the first position corresponding to the corresponding driving time, a first signal strength sequence corresponding to the first electrode and a second signal strength sequence corresponding to the second electrode are obtained; according to the first signal strength sequence and the second signal strength sequence, a touch position of the capacitive pen in the touch control device is determined; and the touch position is sent to the first communication module; The first communication module is used to send the touch position to the touch device.

19. A touch device, wherein: include: A second control module, a driving electrode array and a second communication module, wherein the second control module is connected to the driving electrode array and the second communication module respectively, the driving electrode array comprises first electrodes arranged along a first direction and second electrodes arranged along a second direction, and the first direction and the second direction are perpendicular to each other; The second control module is used to apply a driving signal to the driving electrode at the corresponding first position in each driving time in sequence, each driving time corresponds to a first position; and is also used to receive a touch position sent by at least one capacitive stylus through the second communication module, and perform a touch response according to the touch position, wherein the touch position is determined by the capacitive stylus according to the first electrical signal received by the receiving electrode at each driving time and the first position corresponding to the driving time; The second communication module is used to receive a touch position sent by at least one of the capacitive pens and send the touch position to the second control module.

20. A touch control system, wherein: include: At least one of the capacitive stylus as claimed in claim 18 and the touch device as claimed in claim 19.