1. Field of the Invention
The present invention relates to an input apparatus, and more particularly, to the input apparatus having a capacitive touch element and a pressure-based sensing element integrated in a single chip, and a related touch event processing method.
2. Description of the Prior Art
Integration of two-dimensional (2D) capacitive multi-finger touch technology and three-dimensional (3D) pressure sensor provides the user with a variety of control modes and various application aspects, such as mouse/cursor control mode, joystick/jog wheel control mode, handwriting mode, etc. However, because it is required to utilize a multi-chip integrated circuit in the fabrication process, the manufacture cost is thus increased.
It is therefore an objective of the claimed invention to provide an input apparatus having a capacitive touch element and a pressure-based sensing element integrated in a single chip, which not only provides various application aspects, but also reduces the manufacture cost.
According to an embodiment of the present invention, an exemplary input apparatus is disclosed. The exemplary input apparatus includes a capacitive touch element, at least a pressure-based sensing element, and a control circuit. The control circuit includes a switch unit and a shared processing unit. The switch unit is coupled to the capacitive touch element and the pressure-based sensing element, for selectively generating an output signal according to a touch signal generated by the capacitive touch element or a sensor signal generated by the pressure-based sensing element. The shared processing unit is coupled to the switch unit, for processing the output signal to detect a touch event.
According to an embodiment of the present invention, another exemplary input apparatus is disclosed. The exemplary input apparatus includes a capacitive touch element, a capacitive pressure sensor, a trace switch, and a shared processing unit. The trace switch is coupled to the capacitive touch element and the capacitive pressure sensor, for performing switching between the capacitive touch element and the capacitive pressure sensor to generate an output signal. The shared processing unit is coupled to the trace switch, for selectively executing first firmware corresponding to the capacitive touch element or second firmware corresponding to the capacitive pressure sensor to process the output signal according to the switching of the trace switch to detect a touch event.
According to an embodiment of the present invention, another exemplary input apparatus is disclosed. The exemplary input apparatus includes a capacitive touch element, a resistive pointing stick, a first trace switch, a converter, a second trace switch, and a shared processing unit. The first trace switch is for selectively outputting an output of the resistive pointing stick, the converter is for converting the output of the resistive pointing stick, the second trace switch is for selectively outputting an output of the capacitive touch element, and shared processing unit is coupled to the converter and the second trace switch, for selectively executing first firmware to process the output of the capacitive touch element or second firmware to process an output of the converter according to the switching of the first trace switch and the second trace switch to detect a touch event.
According to an embodiment of the present invention, a touch event processing method is disclosed. The exemplary touch event processing method includes scanning traces for detecting if a touch event occurs, checking if the touch event occurs in a capacitive touch element or a pressure-based sensing element, performing algorithm corresponding to the capacitive touch element on the touch event when the touch event occurs in the capacitive touch element, and performing algorithm corresponding to the pressure-based sensing element on the touch event when the touch event occurs in the pressure-based sensing element.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Please refer to
As shown in
Please refer to
The charge detector 272 is coupled to the output port 258 of the trace switch 252, and used for performing charge detection on the output signal SOUT outputted by the output port 258 to generate a detection result DR. The ADC 274 is coupled between the charge detector 272 and the processor 276, and used to convert the detection result DR into a digital signal SD and output the digital signal SD to the processor 276, where the processor 276 detects a touch event according to the digital signal SD. For example, the processor 276 may detect a touch event by executing firmware, such as first firmware FW1 or second firmware FW2. In addition, the processor 276 controls the switching of the trace switch 252 according to a touch sequence of the 2D capacitive touch panel 220 and the 2D/3D force sensor 240, and the charge detection performed by the charge detector 272 is also controlled by the processor 276. With regard to the operational details of the trace switch 252 and the trace connection, please refer to
When a touch event occurs, the processor 276 detects the touch sequence of the 2D capacitive touch panel 220 and the 2D/3D force sensor 240 according to a scanning result obtained from scanning all the above-mentioned traces, and controls switching of the trace switch 252 according to the detected touch sequence. Next, the sensor signal SS/the touch signal ST is transmitted to the output port 258 via the corresponding traces. For example, when the trace switch 252 switches to the traces of the 2D capacitive touch panel 220 (i.e. the output port 258 is coupled to the input port 254 via the m+n traces including trace X1-Xm and trace Y1-Yn), the processor 276 may allow the touch signal ST to be outputted to the output port 258 according to the scanning result obtained from scanning the traces of the 2D capacitive touch panel 220. In this embodiment, the processor 276 scans the traces line-by-line to have the touch signal ST outputted to the output port 258, and then have the output signal SOUT outputted to the charge detector 272. However, according a variation of this embodiment, the processor 276 may have the touch signal ST outputted to the output port 258 in a pipeline manner. Therefore, more than one trace 263 is needed, and any of the number of the charge detectors 272 and the number of the ADCs 274 is required to match that of the traces 263 (i.e., it is needed to dispose a correspondent charge detector 272 and a correspondent ADC 274 for every trace 263).
Please note that the above is for illustrative purposes only, and is not meant to be a limitation to the scope of the present invention. For example, the sensing modes of the 2D capacitive touch panel 220 and the 2D/3D force sensor 240 may be a self-capacitance mode or a mutual capacitance mode, the number of traces is not limited to the above-mentioned value, and/or the 2D capacitive touch panel 220 and the 2D/3D force sensor 240 may be changed to other types of capacitive touch elements and pressure-based sensing elements respectively. In other words, any integration of input apparatuses that is realized by employing a proper trace distribution/layout and the aforementioned switching operation obeys the spirit of the present invention and falls within the scope of the present invention.
In addition, the touch event generated by the 2D/3D force sensor 240 may be a 2D touch event or a 3D touch event. When the processor 276 processes the output signal SOUT to convert it into touch coordinates and other related touch data, the executed firmware may be different because the touch event may occur in the 2D capacitive touch panel 220 or the 2D/3D force sensor 240. Therefore, the shared processing unit 270 may refer to switching of the trace switch 252 for choosing to execute the firmware FW1 corresponding to a capacitive touch element (e.g., the 2D capacitive touch panel 220) or the firmware FW2 corresponding to a capacitive pressure sensor (e.g. the 2D/3D force sensor 240) to detect a touch event by processing an output signal that is generated due to the trace switch 252 switching between the capacitive touch element and the capacitive pressure sensor.
Please refer to
The second trace switch 464 has a second input port 456 and a second output port 460, and used to selectively couple the second output port 460 to the second input port 456, wherein the 2D capacitive touch panel 420 is connected to the second input port 456 via traces 404, and the second output port 460 outputs the touch signal ST as the output signal SOUT
When a touch event occurs, the processor 476 detects the touch sequence of the 2D capacitive touch panel 420 and the 2D/3D pressure PST 440 according to a scanning result obtained from scanning all the above-mentioned traces, and controls switching of the first trace switch 452 and the second trace switch 464 according to the detected touch sequence. Next, the sensor signal SS/the touch signal ST is transmitted to the first output port 458/the second output port 460 via the corresponding traces. For example, when the switch unit 450 switches on the first trace switch 452, the processor 476 allows the touch signal SS to be outputted from the first trace switch 452 according to the scanning result obtained from scanning the traces XA, XB, and XC, and the capacitor 463 may convert a voltage variation of the sensor signal SS into a charge variation to thereby generate the output signal SOUT
In addition, if signals are transmitted in a pipeline manner, the converter 462 may further include a plurality of capacitors, and any of the number of the charge detectors 472 and the number of the ADCs 474 is needed to match that of the capacitors. Please note that this is for illustrative purposes only, and is not meant to be a limitation to the scope of the present invention. For example, the sensing modes of the 2D capacitive touch panel 420 may be a self-capacitance mode or a mutual capacitance mode, the 2D/3D pressure PST 440 may be implemented by other types of circuits, the number of traces is not limited to the above-mentioned value, and/or the 2D capacitive touch panel 420 and the 2D/3D pressure PST 440 may be changed to other types of capacitive touch elements and pressure-based sensing elements. In other words, any input apparatus employing a proper trace distribution/layout as well as the aforementioned switching operation and electrical signal conversion obeys the spirit of the present invention and falls within the scope of the present invention.
In addition, the touch event generated by the 2D/3D pressure PST 440 may be a 2D touch event or a 3D touch event, and the sensing mode thereof may be resistive mode. When the processor 476 processes the output signal SOUT
Please refer to
Please refer to
Step 702: Calibrate traces of a capacitive touch element and a pressure-based sensing element;
Step 704: Scan traces for detecting if a touch event occurs. If yes, go to step 706; otherwise, go to step 704.
Step 706: Check if the touch event occurs in a capacitive touch element or a pressure-based sensing element. If the touch event occurs in the capacitive touch element, go to step 708; if the touch event occurs in the pressure-based sensing element, go to step 710.
Step 708: Perform algorithm corresponding to the capacitive touch element upon the touch event.
Step 710: Perform algorithm corresponding to the pressure-based sensing element upon the touch event.
Step 712: Scan traces corresponding to the capacitive touch element to check if the touch event is no longer valid (e.g., check if fingers have leaved the touch panel). If the touch event is still valid, go to step 708; otherwise, go to step 704.
Step 714: Scan traces corresponding to the pressure-based sensing element to check if the touch event is no longer valid (e.g., check if fingers have leaved the touch panel). If the touch event is still valid, go to step 710; otherwise, go to step 704.
Step 702 is mainly used to reduce/remove the electrical difference among the traces of the input apparatus for making the detection of the touch event more precisely. Steps 708 and 710 are separate due to the fact that the algorithm corresponding to the capacitive touch element includes processing of the 2D multi-finger touch, and the algorithm corresponding to the pressure-based sensing element includes processing of 3D sensing. In addition, in step 704, a self-capacitance or mutual capacitance sensing mode may be utilized to scan the traces corresponding to the capacitive touch element. Besides, when the pressure-based sensing element is a capacitive pressure sensor, a self-capacitance or mutual capacitance sensing mode may also be utilized to scan the traces corresponding to the capacitive pressure sensor. As a person skilled in the art can readily understand the operation of part of the steps in
In summary, the present invention provides an input apparatus having circuits of the capacitive touch element and the pressure-based element integrated in a single chip, which not only provides multiple application aspects but also reduces the manufacture cost. In this way, an input apparatus with multi-function and high practical value is realized.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
100118619 | May 2011 | TW | national |