The present disclosure relates generally to sensing systems, and more particularly to capacitance-sensing systems configured to perform peak detection schemes for touch position detection.
Capacitance sensing systems can sense electrical signals generated on electrodes that reflect changes in capacitance. Such changes in capacitance can indicate a touch event (i.e., the proximity of an object to particular electrodes). Capacitive sense elements may be used to replace mechanical buttons, knobs and other similar mechanical user interface controls. The use of a capacitive sense element allows for the elimination of complicated mechanical switches and buttons, providing reliable operation under harsh conditions. In addition, capacitive sense elements are widely used in modern customer applications, providing new user interface options in existing products. Capacitive sense elements can range from a single button to a large number arranged in the form of a capacitive sense array for a touch-sensing surface.
Transparent touch screens that utilize capacitive sense arrays are ubiquitous in today's industrial and consumer markets. They can be found on cellular phones, GPS devices, set-top boxes, cameras, computer screens, MP3 players, digital tablets, and the like. The capacitive sense arrays work by measuring the capacitance of a capacitive sense element, and looking for a delta in capacitance indicating a touch or presence of a conductive object. When a conductive object (e.g., a finger, hand, or other object) comes into contact or close proximity with a capacitive sense element, the capacitance changes and the conductive object is detected. The capacitance changes of the capacitive touch sense elements can be measured by an electrical circuit. The electrical circuit converts the measured capacitances of the capacitive sense elements into digital values.
There are two typical types of capacitance; 1) mutual capacitance where the capacitance-sensing circuit has access to both electrodes of the capacitor; 2) self capacitance where the capacitance-sensing circuit has only access to one electrode of the capacitor where the second electrode is tied to a DC voltage level or is parasitically coupled to Earth Ground. A touch panel has a distributed load of capacitance of both types (1) and (2) and Cypress' touch solutions sense both capacitances either uniquely or in hybrid form with its various sense modes.
The present invention is illustrated by way of example, and not of limitation, in the figures of the accompanying drawings in which:
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be evident, however, to one skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known circuits, structures, and techniques are not shown in detail, but rather in a block diagram in order to avoid unnecessarily obscuring an understanding of this description.
Reference in the description to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The phrase “in one embodiment” located in various places in this description does not necessarily refer to the same embodiment.
The peak detector 120 performs multiple different peak-detection schemes on each of the multiple cells to generate a list of one or more possible peaks in the touch data, and selects one or more actual peaks from the list of one or more possible peaks. Each of the one or more actual peaks is used to determine a location of a touch proximate to the capacitive sense array 125. For example, the center of mass of the touches can be determined for the actual peaks determined by the peak detector 120.
In another embodiment, the peak detector 120 obtains a capacitive image of a capacitive sense array 125. The capacitive image includes multiple cells each with a capacitance value of an intersection of sense elements of the sense array 125. It should be noted that the peak detector 120 can receives the raw capacitance value measured by the capacitive-sensing circuit 101 and then compute a difference count, which is a difference between the raw capacitance value and a baseline capacitance value. Alternatively, the capacitance-sensing circuit 101 outputs the difference count to the peak detector 120. The peak detector 120 performs a first set of peak-detection checks for each of the multiple cells using a first peak-detection scheme to identify possible peaks, and performs a second set of peak-detection checks for each of the multiple cells using a second peak-detection scheme to identify additional possible peaks. The peak detector 120 determines which of the possible peaks and additional possible peaks are valid peaks. The valid peaks are used to determine locations of actual touches proximate to the capacitive sense array 125.
In one embodiment, the peak detector 120 is implemented in firmware of the processing device 110. In another embodiment, the peak detector 120 is implemented in software, hardware, or any combination thereof. In another embodiment, the peak detector 120 is implemented as part of a gesture recognition tool that calculates and reports gestures. In another embodiment, the peaks are calculated by the peak detector 120 and sent as raw data to the host processor 150. In another embodiment, the peak detector 120 can be implemented on the host, and the capacitive-sensing circuit 101 obtains the touch data and sends the touch data to the peak detector 120 on the host processor 150. Alternatively, other configurations are possible as would be appreciated by one of ordinary skill in the art having the benefit of this disclosure. It should also be noted that the peaks and precise interpolated coordinates computed from the peaks may be used for gesture recognition in various application. Additional details of the computations by the peak detector 120 are described below with respect to
The embodiments described herein regarding peak detection can be used to detect two or more touches at minimal finger separation on any sensor array pattern. The embodiments described herein take advantage of symmetry of a standard peak-detection algorithm to make a more robust algorithm that uses a voting scheme to determine which peak, if any, are valid. The embodiments described herein can be used for touchscreens, touchpads, or other devices having sensing surfaces.
Electronic system 100 includes processing device 110, capacitive sense array 125, stylus 130, host processor 150, embedded controller 160, and non-capacitive sense elements 170. The capacitive sense elements are electrodes of conductive material, such as copper. The sense elements may also be part of an ITO panel. The capacitive sense elements can be configured to allow the capacitive-sensing circuit 101 to measure self capacitance, mutual capacitance, or any combination thereof. In the depicted embodiment, the electronic system 100 includes the capacitive sense array 125 coupled to the processing device 110 via bus 122. The capacitive sense array 125 may include a multi-dimension capacitive sense array. The multi-dimension sense array includes multiple sense elements, organized as rows and columns. In another embodiment, the capacitive sense array 125 operates as an all-points-addressable (“APA”) mutual capacitive sense array. In another embodiment, the capacitive sense array 125 operates as a coupled-charge receiver. In another embodiment, the capacitive sense array 125 is non-transparent capacitive sense array (e.g., PC touchpad). The capacitive sense array 125 may be disposed to have a flat surface profile. Alternatively, the capacitive sense array 125 may have non-flat surface profiles. Alternatively, other configurations of capacitive sense arrays may be used. For example, instead of vertical columns and horizontal rows, the capacitive sense array 125 may have a hexagon arrangement, or the like, as would be appreciated by one of ordinary skill in the art having the benefit of this disclosure. In one embodiment, the capacitive sense array 125 may be included in an ITO panel or a touch screen panel.
The operations and configurations of the processing device 110 and the capacitive sense array 125 for detecting and tracking the touch object 140 and stylus 130 are described herein. In short, the processing device 110 is configured to detect a presence of the touch object 140, a presence of a stylus 130 on the capacitive sense array 125, or any combination thereof. The processing device 110 may detect and track the stylus 130 and the touch object 140 individually on the capacitive sense array 125. In one embodiment, the processing device 110 can detect and track both the stylus 130 and touch object 140 concurrently on the capacitive sense array 125. If the touching object is an active stylus, in one embodiment, the active stylus 130 is configured to operate as the timing “master,” and the processing device 110 adjusts the timing of the capacitive sense array 125 to match that of the active stylus 130 when the active stylus 130 is in use. In one embodiment, the capacitive sense array 125 capacitively couples with the active stylus 130, as opposed to conventional inductive stylus applications. It should also be noted that the same assembly used for the capacitive sense array 125, which is configured to detect touch objects 140, is also used to detect and track a stylus 130 without an additional PCB layer for inductively tracking the active stylus 130.
In the depicted embodiment, the processing device 110 includes analog and/or digital general purpose input/output (“GPIO”) ports 107. GPIO ports 107 may be programmable. GPIO ports 107 may be coupled to a Programmable Interconnect and Logic (“PIL”), which acts as an interconnect between GPIO ports 107 and a digital block array of the processing device 110 (not shown). The digital block array may be configured to implement a variety of digital logic circuits (e.g., DACs, digital filters, or digital control systems) using, in one embodiment, configurable user modules (“UMs”). The digital block array may be coupled to a system bus. Processing device 110 may also include memory, such as random access memory (“RAM”) 105 and program flash 104. RAM 105 may be static RAM (“SRAM”), and program flash 104 may be a non-volatile storage, which may be used to store firmware (e.g., control algorithms executable by processing core 102 to implement operations described herein). Processing device 110 may also include a memory controller unit (“MCU”) 103 coupled to memory and the processing core 102.
The processing device 110 may also include an analog block array (not shown). The analog block array is also coupled to the system bus. Analog block array may also be configured to implement a variety of analog circuits (e.g., ADCs or analog filters) using, in one embodiment, configurable UMs. The analog block array may also be coupled to the GPIO 107.
As illustrated, capacitance-sensing circuit 101 may be integrated into processing device 110. Capacitance-sensing circuit 101 may include analog I/O for coupling to an external component, such as touch-sensor pad (not shown), capacitive sense array 125, touch-sensor slider (not shown), touch-sensor buttons (not shown), and/or other devices. The capacitance-sensing circuit 101 may be configured to measure capacitance using mutual capacitance sensing techniques, self capacitance sensing technique, charge coupling techniques or the like. In one embodiment, capacitance-sensing circuit 101 operates using a charge accumulation circuit, a capacitance modulation circuit, or other capacitance sensing methods known by those skilled in the art. In an embodiment, the capacitance-sensing circuit 101 is of the Cypress TMA-3xx, TMA-4xx, or TMA-xx families of touch screen controllers. Alternatively, other capacitance-sensing circuits may be used. The mutual capacitive sense arrays, or touch screens, as described herein, may include a transparent, conductive sense array disposed on, in, or under either a visual display itself (e.g. LCD monitor), or a transparent substrate in front of the display. In an embodiment, the TX and RX electrodes are configured in rows and columns, respectively. It should be noted that the rows and columns of electrodes can be configured as TX or RX electrodes by the capacitance-sensing circuit 101 in any chosen combination. In one embodiment, the TX and RX electrodes of the sense array 125 are configured to operate as a TX and RX electrodes of a mutual capacitive sense array in a first mode to detect touch objects, and to operate as electrodes of a coupled-charge receiver in a second mode to detect a stylus on the same electrodes of the sense array. The stylus, which generates a stylus TX signal when activated, is used to couple charge to the capacitive sense array, instead of measuring a mutual capacitance at an intersection of a RX electrode and a TX electrode (a sense element) as done during mutual capacitance sensing. An intersection between two sense elements may be understood as a location at which one sense electrode crosses over or overlaps another, while maintaining galvanic isolation from each other. The capacitance-sensing circuit 101 does not use mutual capacitance or self-capacitance sensing to measure capacitances of the sense elements when performing a stylus sensing. Rather, the capacitance-sensing circuit 101 measures a charge that is capacitively coupled between the sense array 125 and the stylus as described herein. The capacitance associated with the intersection between a TX electrode and an RX electrode can be sensed by selecting every available combination of TX electrode and RX electrode. When a touch object, such as a finger or stylus, approaches the capacitive sense array 125, the object causes a decrease in mutual capacitance between some of the TX/RX electrodes. In another embodiment, the presence of a finger increases the coupling capacitance of the electrodes. Thus, the location of the finger on the capacitive sense array 125 can be determined by identifying the RX electrode having a decreased coupling capacitance between the RX electrode and the TX electrode to which the TX signal was applied at the time the decreased capacitance was measured on the RX electrode. Therefore, by sequentially determining the capacitances associated with the intersection of electrodes, the locations of one or more inputs can be determined. It should be noted that the process can calibrate the sense elements (intersections of RX and TX electrodes) by determining baselines for the sense elements. It should also be noted that interpolation may be used to detect finger position at better resolutions than the row/column pitch as would be appreciated by one of ordinary skill in the art having the benefit of this disclosure. In addition, various types of coordinate interpolation algorithms may be used to detect the center of the touch as would be appreciated by one of ordinary skill in the art having the benefit of this disclosure.
In an embodiment, the electronic system 100 may also include non-capacitive sense elements 170 coupled to the processing device 110 via bus 171 and GPIO port 107. The non-capacitive sense elements 170 may include buttons, light emitting diodes (“LEDs”), and other user interface devices, such as a mouse, a keyboard, or other functional keys that do not use capacitance sensing. In one embodiment, buses 122, and 171 are embodied in a single bus. Alternatively, these buses may be configured into any combination of one or more separate buses.
Processing device 110 may include internal oscillator/clocks 106 and communication block (“COM”) 108. In another embodiment, the processing device 110 includes a spread spectrum clock (not shown). The oscillator/clocks block 106 provides clock signals to one or more of the components of processing device 110. Communication block 108 may be used to communicate with an external component, such as a host processor 150, via host interface (“I/F”) line 151. Alternatively, processing device 110 may also be coupled to embedded controller 160 to communicate with the external components, such as host processor 150. In one embodiment, the processing device 110 is configured to communicate with the embedded controller 160 or the host processor 150 to send and/or receive data.
Processing device 110 may reside on a common carrier substrate such as, for example, an integrated circuit (“IC”) die substrate, a multi-chip module substrate, or the like. Alternatively, the components of processing device 110 may be one or more separate integrated circuits and/or discrete components. In one exemplary embodiment, processing device 110 is the Programmable System on a Chip (PSoC®) processing device, developed by Cypress Semiconductor Corporation, San Jose, Calif. Alternatively, processing device 110 may be one or more other processing devices known by those of ordinary skill in the art, such as a microprocessor or central processing unit, a controller, special-purpose processor, digital signal processor (“DSP”), an application specific integrated circuit (“ASIC”), a field programmable gate array (“FPGA”), or the like.
It should also be noted that the embodiments described herein are not limited to having a configuration of a processing device coupled to a host, but may include a system that measures the capacitance on the sensing device and sends the raw data to a host computer where it is analyzed by an application. In effect, the processing that is done by processing device 110 may also be done in the host.
Capacitance-sensing circuit 101 may be integrated into the IC of the processing device 110, or alternatively, in a separate IC. Alternatively, descriptions of capacitance-sensing circuit 101 may be generated and compiled for incorporation into other integrated circuits. For example, behavioral level code describing the capacitance-sensing circuit 101, or portions thereof, may be generated using a hardware descriptive language, such as VHDL or Verilog, and stored to a machine-accessible medium (e.g., CD-ROM, hard disk, floppy disk, etc.). Furthermore, the behavioral level code can be compiled into register transfer level (“RTL”) code, a netlist, or even a circuit layout and stored to a machine-accessible medium. The behavioral level code, the RTL code, the netlist, and the circuit layout may represent various levels of abstraction to describe capacitance-sensing circuit 101.
It should be noted that the components of electronic system 100 may include all the components described above. Alternatively, electronic system 100 may include some of the components described above.
In one embodiment, the electronic system 100 is used in a tablet computer. Alternatively, the electronic device may be used in other applications, such as a notebook computer, a mobile handset, a personal data assistant (“PDA”), a keyboard, a television, a remote control, a monitor, a handheld multi-media device, a handheld media (audio and/or video) player, a handheld gaming device, a signature input device for point of sale transactions, an eBook reader, global position system (“GPS”) or a control panel. The embodiments described herein are not limited to touch screens or touch-sensor pads for notebook implementations, but can be used in other capacitive sensing implementations, for example, the sensing device may be a touch-sensor slider (not shown) or touch-sensor buttons (e.g., capacitance sensing buttons). In one embodiment, these sensing devices include one or more capacitive sensors. The operations described herein are not limited to notebook pointer operations, but can include other operations, such as lighting control (dimmer), volume control, graphic equalizer control, speed control, or other control operations requiring gradual or discrete adjustments. It should also be noted that these embodiments of capacitive sensing implementations may be used in conjunction with non-capacitive sensing elements, including but not limited to pick buttons, sliders (ex. display brightness and contrast), scroll-wheels, multi-media control (ex. volume, track advance, etc) handwriting recognition, and numeric keypad operation.
Given the example in
The standard peak-detection solution's worst case is a touch separation of 2× the diagonal of a sense element pitch (sometimes referred to as sensor pitch). The pitch is defined as the width of the sense elements and the spacing between the sense elements. This distance can be measured from one edge of a sense element to the same edge of the next element. The distance can also be measured from center of one of the sense elements to the center of next sense element. The distance can also be measured in other ways as would be appreciated by one of ordinary skill in the art having the benefit of this disclosure. It should also be noted that touch-sensing device may have different pitch sizes on the X and Y axes; thus, two or more values for the sense element pitch can be identified. A touch separation of 2× the diagonal of a sense element pitch for 5 mm sense elements, touches can be placed just above 14 mm apart and still be falsely detected as a single finger. Other finger separations inside this distance being to have a higher possible failure rate. Thus, the user experience, when performing types of gestures using two or more fingers, may be poor when using the standard peak-detection algorithm.
The embodiments described below use the asymmetry of the peak detection routine to generate two or more peak measurements. A second routine is then used to measure and qualify all possible peaks and choose the most likely or “best” peaks from the list of possible peaks as described in more detail below.
The set of peak-detection checks for the upper-left-weighting scheme 402 determines if the cell value of the center cell 401 is greater than cell values of a cell to the left of the center cell 401 and of the cells above the center cell 401, and determines if the cell value of the center cell 401 is greater than or equal to the cell values of a cell to the right of the center cell 401 and of the cells below the center cell 401. In the upper-left-weighting scheme 402 of
The set of peak-detection checks for the upper-right-weighting scheme 404 determines if the cell value of the center cell 401 is greater than cell values of a cell to the right of the center cell 401 and of the cells above the center cell 401, and determines if the cell value of the center cell 401 is greater than or equal to the cell values of a cell to the left of the center cell 401 and of the cells below the center cell 401. In the upper-right-weighting scheme 404 of
The set of peak-detection checks for the lower-left-weighting scheme 406 determines if the cell value of the center cell 401 is greater than cell values of a cell to the left of the center cell 401 and of the cells below the center cell 401, and determines if the cell value of the center cell 401 is greater than or equal to the cell values of a cell to the right of the center cell 401 and of the cells above the center cell 401. In the lower-left-weighting scheme 406 of
The set of peak-detection checks for the lower-right-weighting scheme 408 determines if the cell value of the center cell 401 is greater than cell values of a cell to the right of the center cell 401 and of the cells below the center cell 401, and determines if the cell value of the center cell 401 is greater than or equal to the cell values of a cell to the left of the center cell 401 and of the cells above the center cell 401. In the lower-right-weighting scheme 408 of
The peak-detection weighting algorithm 400 also has the ability to choose an appropriate peak from a list of possible peaks from the four peak-detection schemes. Two selection methods are presented below, namely 1) furthest distance selection method; and 2) peak-detection weighting method.
In one embodiment, the furthest distance method takes all possible peaks that were found during the four peak-detection weighting schemes 402-408 and finds the two possible peaks that are the furthest apart. This technique works well because it is simple to understand and should provide good interpolation data for the higher granularity calculation of the finger position. However, it should be noted that this adds additional computations for the distance calculations. This method may also be static compared to the peak-detection weighting method, which may be more dynamic.
In another embodiment, the peak weighting method allows for a dynamic switching of difficulty. For example, when peaks are converging the algorithm can be more relaxed and assume there are more likely two peaks (e.g., if there were two peaks before there are probably two peaks now). For initial touch down (i.e., initial detection of a touch), the algorithm can be more difficult to pass as two peaks to reduce the number of failures where a single large touch is interpreted as two peaks. The method for determining the peak weight is illustrated and described with respect to
Returning back to
Of course, other cell values may be used and may result in peaks being selected from one of the other different peak-detection weighting schemes 402,404,408.
The peak-detection weighting algorithm 400 allows for significantly better finger separation when two or more fingers are on a touchscreen or other touch device. This is especially true for converging fingers where the number of fingers prior to convergence has been well established. In one embodiment, the symmetry can be used to take up to sixteen measurements, instead of eight, to establish four possible peaks per intersection, as well as using a peak weighting scheme to establish the strength and likelihood a detected peak is really a valid touch. In one embodiment, the algorithm takes sixteen measurements. In a further embodiment, a more sophisticated algorithm could be implemented to reduce redundancy, making the average number of measurements closer to twelve even though the worst case may still be sixteen measurements. For example, if the check “greater than and equal to” fails, then don't try the check “greater than.”
In one embodiment, the peak-detection weighting algorithm 400 processes a capacitive map or a capacitive image from a touchscreen or touchpad device. The data is processed to find a “peak” from which the location of the finger touch can be determined, processed and sent to the host.
In other embodiments, not all permutations need to be taken. For example, choosing any of the directions, such as upper, lower, left, or right), and taking both measurements, such as upper left and upper right, yields good improvements over conventional solutions because it provides a sample around both of the 45 degree axes. Then instead of using the peak-detection weighting selection, the further distance selection method could be used for choosing the best peak. The furthest distance selection method is described below with respect to
Similar to the embodiments of the peak-detection weighting embodiments, this selection method is flexible. For example, one could take fewer measurements to evaluate possible peaks or have a lower/higher threshold for a valid peak. This flexibility can dynamically change the complexity and execution of the algorithm based on situational needs. For example, the initial touch down might use a less aggressive algorithm because there is not any strong evidence supporting two touches versus one large touch. However, if two touches have already been established then this algorithm can be set to be more aggressive.
Other algorithms, which have a natural non-symmetry to them, which can be easily shifted to produce a second measurement, could be used similar to this idea. For example the decision to use edge correction virtual sensors or not is likely a non-symmetric algorithm. Using this, a judgment can more reliably be made if a finger is on the edge of the sensor pattern or not.
The embodiments described herein may also affect how the baseline is calculated. A low peak weight number is likely to have touches in between intersections (between sense elements). Therefore, thresholds can be adjusted for higher accuracy (such as the Noise Threshold and Centroid Threshold). This would potentially increase the detection accuracy as well as the high level interpolation accuracy because minimal data is wasted.
Embodiments of the peak-detection algorithm are intended to improve accuracy of a non-symmetric measurement. These embodiments solve a major problem of correctly detecting closely spaced touches. This may be important for various reasons, but firstly, new specifications for devices, such as a device running Windows8, developed by Microsoft Corporation, may start to expect performance for converging touches to be 0 mm separation. That is, two fingers touching should not be confused by a single large finger if the two fingers were previously converging. Secondly, customer evaluations and customer demos use finger separation as a benchmark for algorithm quality. So, improving this also improves the sell-ability of a device using these embodiments.
Referring to
In the depicted embodiment, the processing logic performs the peak detection at block 706 by defining a first center cell as the peak (block 710) and calculating the peak weights for this cell using two, three, or four of the peak-detection schemes (e.g., 402-408) (block 712). The processing logic determines whether each of the peak weights is above a threshold value (block 714) (e.g., 7 or 8). If the peak weight for a possible peak exceeds the threshold at block 714, the processing logic selects this as a valid peak (block 716), and increments the count to select the next cell as the peak (block 718). However, if at block 714, the peak weight for a possible peak is less than the threshold, the processing logic just increments the count to select the next cell as the peak (block 718).
In another embodiment of the method, the processing logic measures touch data on a sense array, the touch data represented as multiple cells, such as cells of an array. The processing logic performs multiple different peak-detection schemes on each of the multiple cells to generate a list of one or more possible peaks in the touch data. The processing logic selects one or more actual peaks from the list one or more possible peaks. The one or more actual peaks are used to determine a location of a touch proximate to the sense array.
In a further embodiment, the sense array is a capacitive sense array, and each of the multiple cells includes a capacitance value of an intersection of sense elements in the capacitive sense array. In another embodiment, the sense array is an optical sense array, and the cell values represent the values measured by an optical sensing device. Alternatively, the peak detection embodiments described herein of may be used in other sensing systems, such as, for example, a system that creates a digitized heat map using reflected light.
In another embodiment, the processing logic selects the one or more actual peaks by selecting the single peak as the one or more actual peaks when the list comprises a single peak, and selecting two of the two or more peaks that are the farthest apart as the one or more actual peaks when the list comprises two or more peaks.
In another embodiment, the processing logic selects the one or more actual peaks by selecting the single peak as the one or more actual peaks when the list comprises a single peak, and, when the list comprises two or more peaks, calculating a peak weight for each of the different peak-detection schemes, and selecting each of the two or more peaks whose peak weight is greater than a threshold value as the one or more actual peaks. The processing logic may select the one or more actual peaks by selecting a peak having a highest peak weight for each of the multiple cells.
In another embodiment, the processing logic performs, for each of the different peak-detection schemes, multiple peak-detection checks for each of the multiple cells, and counts a number of successful checks for the multiple peak-detection checks. The number of successful checks is a peak weight for the respective scheme. In one embodiment, the processing logic performs eight measurements for each of the cells for each of the different schemes. In another embodiment, the processing logic performs sixteen measurements for all of the different schemes. In another embodiment, the processing logic performs twelve measurements for all the different schemes using the symmetry of the schemes to leverage previous measurements used for different schemes. In another embodiment, for each of the multiple cells, the processing logic takes twelve peak-detection measurements to establish four possible peaks for the respective cell. The processing logic calculates a peak weight for each of an upper-left-weighting scheme, an upper-right-weighting scheme, a lower-left-weighting scheme and a lower-right-weighting scheme using the twelve peak-detection measurements. The peak weight may represent a strength and likelihood of the respective peak being a valid touch. The processing logic selects the one of the four possible peaks for the respective cell with the highest peak weight.
In another embodiment, the method includes obtaining a capacitive image of a capacitive sense array. The capacitive image includes multiple cells each with a capacitance value of an intersection of sense elements of the capacitive sense array. The processing logic performs a first set of peak-detection checks for each of the multiple cells using a first peak-detection scheme to identify possible peaks. The processing logic performs a second set of peak-detection checks for each of the multiple cells using a second peak-detection scheme to identify additional possible peaks. The processing logic determines which of the possible peaks and additional possible peaks are valid peaks. The valid peaks may be used to determine locations of actual touches proximate to the capacitive sense array.
In a further embodiment, the first peak-detection scheme is one of an upper-left-weighting scheme, an upper-right-weighting scheme, a lower-left-weighting scheme, and a lower-right-weighting scheme, and the second peak-detection scheme is another one of the upper-left-weighting scheme, the upper-right-weighting scheme, the lower-left-weighting scheme, and the lower-right-weighting scheme.
In a further embodiment, the processing logic performs a third set of peak-detection checks for each of the multiple cells using a third peak-detection scheme to identify a third set of additional possible peaks. In a further embodiment, the processing logic performs a fourth set of peak-detection checks for each of the multiple cells using a fourth peak-detection scheme to identify a fourth set of additional possible peaks.
In another embodiment, the processing logic performs the first set of peak-detection checks by identifying a 3×3 window centered at the respective cell, and comparing a cell value of the respective cell against cell values of adjacent cells in the 3×3 window. The window can then be shifted to be centered at a next cell until some or all cells have been checked. In another embodiment, the processing logic performs the first set of peak-detection checks for each of the multiple cells by identifying a 3×3 window centered at the respective cell. The processing logic determines if a cell value is greater than a first set of adjacent cells in the 3×3 window, and determines if the cell value is greater than or equal to a second set of adjacent cells in the 3×3 window.
The methods described above regarding peak detection can be implemented by the peak detector 120, which may be implemented in a capacitive touch screen controller. In one embodiment, the capacitive touch screen controller is the TrueTouch® capacitive touchscreen controllers, such as the CY8CTMA3xx family of TrueTouch® Multi-Touch All-Points touchscreen controllers, developed by Cypress Semiconductor Corporation of San Jose, Calif. The TrueTouch® capacitive touchscreen controllers sensing technology to resolve touch locations of multiple fingers and a stylus on the touch-screens, supports leading operating systems, and is optimized for low-power multi-touch gesture and all-point touchscreen functionality. Alternatively, the touch position calculation features may be implemented in other touchscreen controllers, or other touch controllers of touch-sensing devices. In one embodiment, the touch position calculation features may be implemented with other touch filtering algorithms as would be appreciated by one of ordinary skill in the art having the benefit of this disclosure.
The embodiments described herein may be used in various designs of mutual capacitance sensing arrays of the capacitance sensing system, or in self-capacitance sensing arrays. In one embodiment, the capacitance sensing system detects multiple sense elements that are activated in the array, and can analyze a signal pattern on the neighboring sense elements to separate noise from actual signal. The embodiments described herein are not tied to a particular capacitive sensing solution and can be used as well with other sensing solutions, including optical sensing solutions, as would be appreciated by one of ordinary skill in the art having the benefit of this disclosure.
In one embodiment, the peaks can be selected as all possible peaks having a weight of eight. In another embodiment, the peaks can be selected as the peaks having a weight above a threshold, such as seven or even lower. In another embodiment, the peaks can be selected as the highest weight for the four schemes as describe herein. Alternatively, other selection methods can be used to select actual switches.
In a simulation to evaluate different peak weights and the failure rates, a lower peak weight tolerance than the standard peak-detection algorithm resulted in a lower failure rate from a two-finger detection standpoint. The assumption is that the two fingers are converging and there is high confidence that there are actually two touches on the screen. That is, low values of peak weight tolerance may produce a different failure in which two touches are interpreted as one. For example, the failure rates versus finger separation distance for the peak weights of 7 and 6 for the peak-detection weighting embodiments described herein were lower than the standard peak-detection failure rates versus finger separation distance where the peak weight is 8.
The exemplary computer system 1200 includes a processing device 1202 (e.g., host processor 150 or processing device 110 of
Processing device 1202 represents one or more general-purpose processing devices such as a microprocessor, central processing unit, or the like. More particularly, the processing device 1202 may be a complex instruction set computing (CISC) microprocessor, reduced instruction set computing (RISC) microprocessor, very long instruction word (VLIW) microprocessor, processor implementing other instruction sets, or processors implementing a combination of instruction sets. Processing device 1202 may also be one or more special-purpose processing devices such as an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), network processor, or the like. Processing device 1202 is configured to execute the instructions 1226 for performing the operations and steps discussed herein.
The computer system 1200 may further include a network interface device 1222. The computer system 1200 also may include a video display unit 1210 (e.g., a liquid crystal display (LCD) or a cathode ray tube (CRT)) connected to the computer system through a graphics port and graphics chipset, an alphanumeric input device 1212 (e.g., a keyboard), a cursor control device 1214 (e.g., a mouse), and a signal generation device 1220 (e.g., a speaker).
The secondary memory 1218 may include a machine-readable storage medium (or more specifically a computer-readable storage medium) 1224 on which is stored one or more sets of instructions 1226 embodying any one or more of the methodologies or functions described herein. In one embodiment, the instructions 1226 include instructions for the peak detector 120. The instructions 1226 may also reside, completely or at least partially, within the main memory 1204 and/or within the processing device 1202 during execution thereof by the computer system 1200, the main memory 1204 and the processing device 1202 also constituting machine-readable storage media.
The computer-readable storage medium 1224 may also be used to store the instructions 1226 persistently. While the computer-readable storage medium 1224 is shown in an exemplary embodiment to be a single medium, the term “computer-readable storage medium” should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more sets of instructions. The term “computer-readable storage medium” shall also be taken to include any medium that is capable of storing or encoding a set of instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the present invention. The term “computer-readable storage medium” shall accordingly be taken to include, but not be limited to, solid-state memories, and optical and magnetic media.
The instructions 1226, components and other features described herein can be implemented as discrete hardware components or integrated in the functionality of hardware components such as ASICS, FPGAs, DSPs or similar devices. In addition, the instructions 1226 can be implemented as firmware or functional circuitry within hardware devices. Further, the instructions 1226 can be implemented in any combination of hardware devices and software components.
Embodiments of the present invention, described herein, include various operations. These operations may be performed by hardware components, software, firmware, or a combination thereof. As used herein, the term “coupled to” may mean coupled directly or indirectly through one or more intervening components. Any of the signals provided over various buses described herein may be time multiplexed with other signals and provided over one or more common buses. Additionally, the interconnection between circuit components or blocks may be shown as buses or as single signal lines. Each of the buses may alternatively be one or more single signal lines and each of the single signal lines may alternatively be buses.
Certain embodiments may be implemented as a computer program product that may include instructions stored on a computer-readable medium. These instructions may be used to program a general-purpose or special-purpose processor to perform the described operations. A computer-readable medium includes any mechanism for storing or transmitting information in a form (e.g., software, processing application) readable by a machine (e.g., a computer). The computer-readable storage medium may include, but is not limited to, magnetic storage medium (e.g., floppy diskette); optical storage medium (e.g., CD-ROM); magneto-optical storage medium; read-only memory (ROM); random-access memory (RAM); erasable programmable memory (e.g., EPROM and EEPROM); flash memory, or another type of medium suitable for storing electronic instructions. The computer-readable transmission medium includes, but is not limited to, electrical, optical, acoustical, or other form of propagated signal (e.g., carrier waves, infrared signals, digital signals, or the like), or another type of medium suitable for transmitting electronic instructions.
Additionally, some embodiments may be practiced in distributed computing environments where the computer-readable medium is stored on and/or executed by more than one computer system. In addition, the information transferred between computer systems may either be pulled or pushed across the transmission medium connecting the computer systems.
Although the operations of the method(s) herein are shown and described in a particular order, the order of the operations of each method may be altered so that certain operations may be performed in an inverse order or so that certain operations may be performed, at least in part, concurrently with other operations. In another embodiment, instructions or sub-operations of distinct operations may be in an intermittent and/or alternating manner.
In the foregoing specification, the invention has been described with reference to specific exemplary embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention as set forth in the appended claims. The specification and drawings are, accordingly, to be regarded in an illustrative sense rather than a restrictive sense.
Number | Name | Date | Kind |
---|---|---|---|
5796389 | Bertram et al. | Aug 1998 | A |
5825352 | Bisset et al. | Oct 1998 | A |
7701447 | Lii et al. | Apr 2010 | B2 |
8797277 | Grygorenko | Aug 2014 | B1 |
8823664 | Kyrynyuk et al. | Sep 2014 | B2 |
20090207145 | Tsuzaki et al. | Aug 2009 | A1 |
20100073318 | Hu et al. | Mar 2010 | A1 |
20100214232 | Chan et al. | Aug 2010 | A1 |
20100265211 | Oishi et al. | Oct 2010 | A1 |
20100315372 | Ng | Dec 2010 | A1 |
20110025629 | Grivna et al. | Feb 2011 | A1 |
20110025638 | Salaverry et al. | Feb 2011 | A1 |
20110157055 | Tilley et al. | Jun 2011 | A1 |
20110163992 | Cordeiro et al. | Jul 2011 | A1 |
20110221701 | Zhang et al. | Sep 2011 | A1 |
20120200512 | Olivier | Aug 2012 | A1 |
20130106732 | Chao et al. | May 2013 | A1 |
Number | Date | Country | |
---|---|---|---|
20140035859 A1 | Feb 2014 | US |