Touchscreen Position Calculation via High-Speed Serial Transfer
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing method for calculating position information on a touchscreen in electronic devices is hindered by slow computing speeds in microcontrollers, leading to significant delays in performing functions corresponding to user interactions.
Innovation Solution
Utilizing a high-speed serial bus, such as the SPI bus, to transmit source data from a touch chip to a central processing unit (CPU), combined with the CPU's higher computing speed, allows for faster data transmission and calculation of position information, thereby reducing overall delay.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If the MCU on the touch chip calculates position information, then the system structure is simple, but the computing speed is low leading to high delay
Solution Approach 1:
The patent extracts the position calculation function from the MCU on the touch chip and relocates it to the CPU. This allows the CPU with higher computing power to handle the calculation, significantly improving computing speed while the touch chip focuses on data collection and transmission.
Solution Approach 2:
The patent introduces a high-speed serial bus as an intermediary between the touch chip and CPU. This mediator enables fast data transmission, compensating for the increased system complexity by providing an efficient communication channel that reduces overall system latency.
2Speed
If the I2C bus transmits source data from touch chip to CPU, then the system is stable, but the transfer rate is low causing transmission delay
Solution Approach 1:
The patent changes the communication parameter by switching from I2C bus to high-speed serial bus. This parameter change increases the data transfer rate significantly, and the system maintains stability through proper protocol design and error handling mechanisms in the new bus interface.
3Loss of time
If the MCU with 200-400 MHz clock rate calculates position information, then the hardware resource is sufficient, but the delay is high
Solution Approach 1:
The patent extracts the computationally intensive position calculation task from the limited MCU and assigns it to the CPU, which has substantially higher computing power. This extraction reduces processing delay while the MCU continues to handle simpler tasks like data acquisition.
Data Source
AI summary
This application provides a method for calculating position information in a touchscreen and an electronic device. In the method for calculating position information in a touchscreen, because a touch chip transmits, by using a high-speed serial bus, source data generated by a trigger operation, first duration t1 for the touch chip to transmit the source data generated by the trigger operation can be shorter. Because position information of the trigger operation in the touchscreen is calculated in a CPU, second duration t2 for the CPU to calculate coordinates of a position at which a user triggers the touchscreen can also be shorter.


