TOUCH CONTROLLER WITH IMPROVED DIAGNOSTICS CALIBRATION AND COMMUNICATIONS SUPPORT
A touch controller with improved diagnostics calibration and communication support includes a data capture register configured to sample data from one or a plurality of touch panel sense channels at an output of an analog to digital (A/D) converter. The sampled data is bit packed, and a demodulation waveform is captured, correlated with the sampled data. The contents of the data capture register, including the sampled data and the demodulation waveform, are transferred to a memory configured to create one or more records from the transferred contents. A processor can be used to extract the one or more records captured in the memory to display to a user for diagnostics or calibration.
Latest Apple Patents:
- Control resource set information in physical broadcast channel
- Multimedia broadcast and multicast service (MBMS) transmission and reception in connected state during wireless communications
- Methods and apparatus for inter-UE coordinated resource allocation in wireless communication
- Control resource set selection for channel state information reference signal-based radio link monitoring
- Physical downlink control channel (PDCCH) blind decoding in fifth generation (5G) new radio (NR) systems
This relates generally to touch sensor panels, and in particular, to touch controllers with improved diagnostics calibration and communications support.
BACKGROUNDMany types of input devices are presently available for performing operations in a computing system, such as buttons or keys, mice, trackballs, joysticks, touch sensor panels, touch screens and the like. Touch screens, in particular, are becoming increasingly popular because of their ease and versatility of operation as well as their declining price. Touch screens can include a touch sensor panel, which can be a clear panel with a touch-sensitive surface, and a display device such as a liquid crystal display (LCD) that can be positioned partially or fully behind the panel so that the touch-sensitive surface can cover at least a portion of the viewable area of the display device. Touch screens can allow a user to perform various functions by touching the touch sensor panel using a finger, stylus or other object at a location dictated by a user interface (UI) being displayed by the display device. In general, touch screens can recognize a touch event and the position of the touch event on the touch sensor panel, and the computing system can then interpret the touch event in accordance with the display appearing at the time of the touch event, and thereafter can perform one or more actions based on the touch event.
Mutual capacitance touch sensor panels can be formed from a matrix of drive and sense lines of a substantially transparent conductive material such as Indium Tin Oxide (ITO), often arranged in rows and columns in horizontal and vertical directions on a substantially transparent substrate. Drive signals can be transmitted through the drive lines, which can result in the formation of static mutual capacitance at the crossover points (sensing pixels) of the drive lines and the sense lines. The static mutual capacitance, and any changes to the static mutual capacitance due to a touch event, can be determined from sense signals that can be generated in the sense lines due to the drive signals.
SUMMARYThis relates to a touch controller with improved diagnostics calibration and communications support. According to various examples, a touch controller can include a capture register configured to sample data from one or a plurality of touch panel sense channels at an output of an analog to digital (A/D) converter. A direct memory access (DMA) register can be configured to bit pack the sampled data and capture a demodulation waveform correlated with the sampled data. The contents of the DMA register, including the sampled data and the demodulation waveform, can be transferred to a data tightly coupled memory (DTCM) configured to create one or more records from transferred contents. Various examples can further include a local and/or host processor configured to extract the one or more records captured in the DTCM or the DMA register. By capturing raw touch data prior to demodulation and making this data available, enhanced diagnostics support can be provided. With the captured data, problem areas can be identified, noise, gain and clipping measurements can be obtained, and the phase relationship between the demodulation waveform and the captured touch data can be determined. In fact, from the captured data, the demodulation result register can be re-created in its entirety.
In particular, according to various examples, the local processor of the touch controller can calibrate a gain of the one or a plurality of sense channels, based on at least part of the one or more records captured in the DTCM. In addition, a relative phase shift between the sampled waveform data from the sense channels and the demodulation waveform can be determined. By this determination, a phase of the one or a plurality of sense channels can be calibrated, based on at least part of the one or more records captured in the DTCM.
Furthermore, the touch controller may include advanced communications support enabling the touch controller to communicate with a plurality of touch controllers through the touch interface. The transmit section of the touch controller can be used to transmit data modulated onto the touch stimulus signal. Similarly, the receive section of a touch controller can be used to receive modulated data through the touch interface.
The present disclosure, in accordance with one or more various examples, is described in detail with reference to the following figures. The drawings are provided for purposes of illustration only and merely depict exemplary examples of the disclosure. These drawings are provided to facilitate the reader's understanding of the disclosure and should not be considered limiting of the breadth, scope, or applicability of the disclosure. It should be noted that for clarity and ease of illustration these drawings are not necessarily made to scale.
In the following description of examples, reference is made to the accompanying drawings which form a part hereof, and in which it is shown by way of illustration specific examples that can be practiced. It is to be understood that other examples can be used and structural changes can be made without departing from the scope of the disclosed examples.
This relates to a touch controller with improved diagnostics, calibration and commutations support. According to various examples, the touch controller can include a data capture register configured to sample data from one or a plurality of touch panel sense channels prior to demodulation (e.g., at an output of an analog to digital (A/D) converter). A direct memory access controller (DMAC), for example, can be configured to bit pack the sampled data and capture a demodulation waveform correlated with the sampled data. The contents of the DMA register, including the sampled data and the demodulation waveform, can be transferred to a data tightly coupled memory (DTCM), for example, using a local bus, where the DTCM can be configured to create one or more records from the transferred contents. Examples can include a host or local processor configured to extract the one or more records captured in the DTCM or DMA register, in order for a user to display the records, for example. Of course various forms of memory (e.g., cache) can be utilized; however a DMAC and DTCM are described herein for exemplary purposes.
By capturing raw touch data prior to demodulation and making this data available, enhanced diagnostics support can be provided. According to various examples, the host processor or the local processor of the touch controller can calibrate a gain of the one or a plurality of sense channels, based on at least part of the one or more records captured in the DTCM. In addition, a relative phase shift between the sampled waveform data from the sense channels and the demodulation waveform can be determined. Using this determination, the phase adjustment of the one or a plurality of sense channels can be calibrated, based on at least part of the one or more records captured in the DTCM. With the captured data, problem areas can be identified, and noise, amplitude and phase measurements can be obtained. In fact, the demodulation result can be re-created in its entirety.
It should be understood that the various examples are applicable to both mutual and self-capacitance sensor panels, single and multi-touch sensor panels, and other sensors in which multiple simultaneous stimulation signals are used to generate a composite sense signal. Furthermore, it should be understood that various examples are also applicable to various touch sensor panel configurations, such as configurations in which the drive and sense lines are formed in non-orthogonal arrangements, on the back of a cover glass, on the same side of a single substrate, or integrated with display circuitry.
Charge pump 115 can be used to generate the supply voltage for the transmit section. Stimulation signals 116 (Vstim) can have amplitudes higher than the maximum voltage the ASIC process can tolerate by cascoding transistors. Therefore, using charge pump 115, the stimulus voltage can be higher (e.g. 6V) than the voltage level a single transistor can handle (e.g. 3.6 V). Although
Touch sensor panel 124 can include a capacitive sensing medium having a plurality of drive lines and a plurality of sense lines. The drive and sense lines can be formed from a transparent conductive medium such as Indium Tin Oxide (ITO) or Antimony Tin Oxide (ATO), although other transparent and non-transparent materials such as copper can also be used. In some examples, the drive and sense lines can be perpendicular to each other, although in other examples other non-Cartesian orientations are possible. For example, in a polar coordinate system, the sensing lines can be concentric circles and the driving lines can be radially extending lines (or vice versa). It should be understood, therefore, that the terms “drive lines” and “sense lines” as used herein are intended to encompass not only orthogonal grids, but the intersecting traces of other geometric configurations having first and second dimensions (e.g. the concentric and radial lines of a polar-coordinate arrangement). The drive and sense lines can be formed on, for example, a single side of a substantially transparent substrate.
At the “intersections” of the traces, where the drive and sense lines can pass adjacent to or above and below (cross) each other (but without making direct electrical contact with each other), the drive and sense lines can essentially form two electrodes (although more than two traces could intersect as well). Each intersection of drive and sense lines can represent a capacitive sensing node and can be viewed as picture element (pixel) 126, which can be particularly useful when touch sensor panel 124 is viewed as capturing an “image” of touch. (In other words, after touch controller 106 has determined whether a touch event has been detected at each touch sensor in the touch sensor panel, the pattern of touch sensors in the multi-touch panel at which a touch event occurred can be viewed as an “image” of touch (e.g. a pattern of fingers touching the panel).) The capacitance between drive and sense electrodes can appear as a stray capacitance when the given row is held at direct current (DC) voltage levels and as a mutual signal capacitance Csig when the given row is stimulated with an alternating current (AC) signal. The presence of a finger or other object near or on the touch sensor panel can be detected by measuring changes to a signal charge Qsig present at the pixels being touched, which is a function of Csig.
Computing system 100 can also include host processor 128 for receiving outputs from processor subsystems 102 and performing actions based on the outputs that can include, but are not limited to, moving an object such as a cursor or pointer, scrolling or panning, adjusting control settings, opening a file or document, viewing a menu, making a selection, executing instructions, operating a peripheral device connected to the host device, answering a telephone call, placing a telephone call, terminating a telephone call, changing the volume or audio settings, storing information related to telephone communications such as addresses, frequently dialed numbers, received calls, missed calls, logging onto a computer or a computer network, permitting authorized individuals access to restricted areas of the computer or computer network, loading a user profile associated with a user's preferred arrangement of the computer desktop, permitting access to web content, launching a particular program, encrypting or decoding a message, and/or the like. Host processor 128 can also perform additional functions that may not be related to panel processing, and can be coupled to program storage 132 and display device 130 such as an LCD display for providing a UI to a user of the device. In some examples, host processor 128 can be a separate component from touch controller 106, as shown. In other examples, host processor 128 can be included as part of touch controller 106. In still other examples, the functions of host processor 128 can be performed by processor subsystem 102 and/or distributed among other components of touch controller 106. Display device 130 together with touch sensor panel 124, when located partially or entirely under the touch sensor panel, can form touch screen 118.
Note that one or more of the functions described above can be performed, for example, by firmware stored in memory (e.g., one of the peripherals) and executed by processor subsystem 102, or stored in program storage 132 and executed by host processor 128. The firmware can also be stored and/or transported within any computer-readable storage medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. In the context of this document, a “computer-readable storage medium” can be any medium that can contain or store the program for use by or in connection with the instruction execution system, apparatus, or device. The computer readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, a portable computer diskette (magnetic), a random access memory (RAM) (magnetic), a read-only memory (ROM) (magnetic), an erasable programmable read-only memory (EPROM) (magnetic), a portable optical disc such a CD, CD-R, CD-RW, DVD, DVD-R, or DVD-RW, or flash memory such as compact flash cards, secured digital cards, USB memory devices, memory sticks, and the like.
The firmware can also be propagated within any transport medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. In the context of this document, a “transport medium” can be any medium that can communicate, propagate or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The transport readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic or infrared wired or wireless propagation medium.
In some cases, the sense signal can be adjusted by offset compensator 309 prior to being input to pre-amplifier 401. Adjusting the offset of the digital signal can reduce the dynamic range of some stimulation signals generated from highly variable stimulation matrices. In particular, some highly variable stimulation matrices can result in sense signals having a dynamic range greater than the dynamic input range of pre-amplifier 401, that is, the maximum signal magnitude that the amplifier can accept before the charge amplifier saturates. For example, in the case that the stimulation matrix is a Hadamard matrix, in one of the steps in the scan all of the channels are driven with stimulation signals having the same phase, and it is possible that all of the resulting component sense signals would add up to generate a composite sense signal with an amplitude that saturates pre-amplifier 401. In this case, offset compensation would be used to subtract sufficient charge from the input charge as to prevent the charge amplifier from saturating. Offset compensation during a scan can be performed on-the-fly, that is, different offset compensation can be applied during different steps of the scan.
In another example example, saturation of pre-amplifier 401 can be mitigated by adjusting, for example, the capacitive or resistive feedback of the amplifier. In this case, individual sense channels could be adjusted, but the adjustment would remain the same for each step in a scan. This approach can be acceptable in the case that the stimulation matrix being used causes the same or similar imbalances of signals in the channels throughout the scan, and the amount of adjustment is not too great, e.g., up to a factor of 2. For example, using a circulant matrix as the stimulation matrix causes a fixed imbalance across all steps.
The processing of a sense signal to obtain a value for Qsig_total is described below in reference to processing a single component of the sense signal of one sense channel (resulting from the stimulation of one of the channel's pixels) to obtain a single Qsig component of Qsig_total for that sense channel. However, it is understood that the analysis applies to all component signals, and that an actual Qsig_total result can be understood as simply a superposition of the individual Qsig results of the other component signals.
When a stimulation signal, Vstim, is applied to the drive line of a pixel, the AC portion of the stimulation signal, Vstim_AC(t), can be coupled through to the sense line, generating a signal charge Qsig(t) that tracks Vstim_AC(t) with an amplitude proportional to the signal capacitance Csig of the pixel. Qsig(t) can be expressed as:
Qsig(t)=Csig×Vstim_AC(t) (1)
A feedback capacitance, for example, in the feedback path of pre-amplifier 401 can convert the injected signal charge into an output voltage relative to the reference voltage of VREF of the charge amplifier
Substituting for Qsig(t) using equation (1) yields:
Thus, pre-amplifier 401 outputs a signal whose amplitude is the stimulus amplitude Vamp_out(t) scaled by the gain (Csig/Cf) of the charge amplifier. In more general terms, sensor panel 124 adds an amplitude modulation to the drive signal, the amplitude modulation carrying information about something to be sensed, e.g. a finger, etc.
The output of pre-amplifier 401 can be fed into AAF 403. AAF 403 can attenuate noise components above the nyquist sampling limit of the ADC sufficiently to prevent those components from aliasing back into the operating frequency range of touch controller 106. Furthermore, AAF 403 can attenuate any noise outside the frequency operating range of touch controller 106 and therefore can help to improve the Signal-to-Noise ratio. It also can be important to properly select the sampling clock FCLK_DAC of the TX DAC. Generating a signal of frequency FSTM at the TX DAC clock rate will can introduce images in the spectrum of the TX DAC output signal at n*FCLK_DAC+/−FSTM whereas N=1, 2 . . . , to infinity. The images can appear in the composite signal entering the receive channel. Upon sampling the composite signal with the ADC in the receive channel, those images can be folded around the sampling frequency FCLK_ADC at which the ADC samples the composite touch signal. The output of the ADC therefore can have the following frequency components: N*(FCLK_DAC+/−FCLK_ADC)+/−FSTM. If the DAC and ADC clock rate FCLK_DAC and FCLK_ADC, respectively, are the same frequency, these images appear in the pass-band. In the above example, one possible frequency component would be (FCLK_DAC−FCLK_ADC)+FSTM=FSTM and therefore would appear as an undesirable in band component which would lead to reduced SNR and therefore reduced touch performance. Therefore, it can be beneficial to select a TX DAC sampling frequency FCLK_DAC that is different from the ADC sampling rate. This can prevent the images from folding back into the pass-band. In one example, FCLK_DAC can be twice of the ADC clock rate FCLK_ADC. The two clock sources can be correlated, i.e. based on the same master clock. It can be beneficial to make the DAC sampling clock higher in frequency than the ADC sampling clock as DACs can consume less power than the power consumed by all ADCs combined for the same increase in sampling clock frequency.
The output of AAF 403 can be converted by ADC 405 into a digital signal, which can be sent from sense channel 307 to digital demodulation section 313. Digital demodulation section 313 can demodulate the digital signal received from sense channel 307 using a homodyne mixing process in which the signal is multiplied with a demodulation signal of the same frequency. In order to increase the efficiency of the mixing process, it can be desirable to adjust the phase of the sense channel output signal to match the phase of the demodulation signal. Stimulating a pixel of sensor panel 124 with Vstim+ and processing the resulting sense signal as described above would result in the following output from sense channel 307:
where:
-
- V0=the amplitude of the AC portion of Vstim=2.25V
- θ=the relative phase delay between the signal output of ADC 405 and the demodulation signal for a given sense channel
For stimulation with Vstim−, the resulting output from ADC 405 would be:
The relative phase delay θ can be an aggregate of delays caused by various elements of the system, such as the geometry of the signal paths, the operation of the output buffers, etc. In general, the various delays in the system can be separated into two categories, delays that apply equally to all drive lines of a sense channel, referred to as global delays herein, and delays that vary among the drive lines of the sense channel, referred to as individual line delays herein. In other words, global delays can affect all component signals of the composite sense signal equally, while individual line delays can result in different amounts of delay for different component signals. The relative phase delay can be represented in terms of φDCL:
φ=φDCL+φ(R) (6)
where:
-
- φDCL=the sum of all global phase delays (referred to herein as the composite global phase delay) affecting a sense channel
- φ(R)=the individual line delay associated with drive line R of a sense channel
Substituting equation (6) into equations (4) and (5) yields:
Since the global phase delays affect all of the component signals of the sense signal equally, once the composite global phase delay φDCL has been determined for a channel, the global portion of the phase delay of sense channel output signal can be removed by programmable delay 407, yielding:
as the signals corresponding to Vstim+ and Vstim−, respectively, that are input into mixer 409.
Since the individual line delays are different for different signal components of the sense signal, the individual line delays cannot be removed from the sense signal simply by using a single phase adjustment to the composite sense signal, such as the phase adjustment made by programmable delay 407. However, the individual line delays can be accounted for by the compensated phase matrix {tilde over (M)}comp−1, which is described in more detail below.
The phase-adjusted signal can be sent from programmable delay 407 to mixer 409. Mixer 409 can multiply the phase-adjusted signal with a demodulation signal,
Vdemod=sin(ωt), (11)
which can be generated by RX NCO 319 based on a master oscillator 415. It is noted that the mixing can be performed using digital signals. This can provide higher resolution than in some previous designs, which can result in improved suppression of noise.
The resulting demodulated signal output from mixer 409 can be represented as:
The mixer output can be integrated by integrator 411, yielding:
Since the integrator has essentially a low pass response, the high frequency component cos(2ωt+180°±φ(R)) can be eliminated leaving only the DC component. Scaling of the results in integrator 411 by a factor of 2Cf results in output signals:
Vint
Vint
from integrator 411. In each step S in a scan of sensor panel 124, drive lines 204 can be driven with either Vstim+ or Vstim− drive signals based on the MUX_SEL values in stim matrix 407 for that step, each stimulation signal generating a component output (16) or (17) of integrator 411 for each sense channel. Thus, for a channel C, the output of integrator 411 can be a linear combination of corresponding components (16) and (17):
The right hand side of equation (18) includes V0 equal to the amplitude, Vstim, of the stimulation signals and WC(R,S) equal to the components of the compensated phase matrix {tilde over (M)}C
The Qsig_totC values output by a channel's integrator 411 can be posted to result memory 315, forming a Qsig_totC vector:
that is used in a decoding operation to determine the Csig values for that channel. An example vector decode operation according to various examples will now be described. Referring to
from decode matrix RAM 321. Vector operator 317 then performs vector multiplication of the Qsig_totC vector and the decode matrix
according to equation (9) to obtain the CsigC vector for channel C:
The CsigC vector can be posted to result RAM 323, where it can be read by other systems, such as processor subsystem 102, host processor 128, etc., for sensing touch by comparing the CsigC vector components with known, static (no touch) values for Csig, for example.
In addition to the sampled sense channel outputs, a demodulation waveform from mixer 409, corresponding to the sample sense channel outputs, can sent to DMAC 500, over local bus 349, for example. As described herein, the phase-adjusted signal sent from programmable delay 407 can be sent to mixer 409. Mixer 409 can multiply the phase-adjusted signal with a demodulation signal (see Equation (11)), which can be generated by RX NCO 319 based on a master oscillator, for example (not shown in
The packed bits in DMAC 500 can be sent to DTCM 510, which can create records, where each record can include a sample of a predetermined number of sense channel outputs (e.g., 10 outputs) and a correlating demodulation waveform from mixer 409. DTCM 510 can include a start register (not shown) such that when the start bit stored in DMAC 500 appears in the start register, DTCM 510 begins creating the records. A user can input the start bit in order to obtain records for diagnostic purposes, for example. Alternatively, a start bit can be preprogrammed to be input to the start register at predetermined times (e.g., when a new stimulation frequency is employed or after a preset time period). According to an example, every time A/D converter 405 produces a new value, for example, a record can be produced. Nint records can be collected, where Nint can be a programmable number (e.g., any integer from 0 to 2047) of records captured during one integration period. For example, if there are 800 A/D converter 405 clock cycles in one integration period, 800 records can be captured (i.e., Nint=800) in DTCM 510.
A processor interface from the DMAC 500 and/or DTCM 510 can be included to a separate host computer 128 via processor interface 347, for example (see
In addition, using the waveform data of the sense channel outputs, local processor 520 can determine an amplitude thereof, thereby determining the gain at sense channel 307. For example processor 520 can be communicatively coupled to a min/max register (not shown), which can automatically calculate an amplitude of the waveform data. A user can use the gain data to adjust the gain of sense channel 307 (at pre-amplifier 401), or processor 520 can dynamically calibrate the gain, based on preprogrammed parameters.
Moreover, the waveform data of the sense channel outputs can be used to determined noise levels at sense channel 307. Appropriate filtering (e.g., bandpass filtering) can be manually or automatically initiated to dynamically attenuate noise in sense channel 307, if the determined noise at sense channel 307 is greater than a predetermined threshold, for instance.
According to various examples, records can be saved in memory 510 for future diagnostics purposes, for example. Processor 520 and memory 510 can be physically connected to sense channel 307 and/or digital demodulation section 313, or can be remote. Of course, the presently disclosed examples are not limited to any particular type of memory, and DMAC 500 and DTCM 510 are described herein for exemplary purposes. One of ordinary skill in the art would realize that various types of memory can be employed without departing from the scope of the present disclosure.
Furthermore, advanced communications for the touch controller 106 can be realized.
Here, fSTM(x) can be the stimulus frequency for data value x; fDAC
Therefore each data value can have its own stimulus frequency. The synthesized waveform can be passed on from phase accumulator 701 to the TX DAC, which converts it into a analog waveform of the form:
Here φOFF(x) can be the phase offset; φ(x) can be the desired phase and N can be the data resolution, equivalent with the total number of phase-offsets.
The stimulus waveform for a PSK modulated signal therefore can have the form:
Here NRESULT can be the result after an integration over NINT integration cycles; NFSK and ND can be amplitudes of the FSK modulated data and the demodulation waveform, respectively; ωFSK and ωSTM can be the frequencies (in radians) of the FSK and stimulus signal, respectively; and WD can be the demodulation window. The circuit in
The demodulated result can be expressed as:
Here NRESULT can be the result after an integration over NINT integration cycles; NPSK and ND can be amplitudes of the PSK modulated data and the demodulation waveform, respectively; ωPSK and ωSTM can be the frequencies (in radians) of the PSK and stimulus signal, respectively; WD can be the demodulation window; and φ is the phase shift between the PSK modulated signal and the demodulation signal. Since ωPSK=ωFSK NRESULT becomes a function of cos(φ) as shown in equation (14), and φ is a function of the PSK modulated data from the transmitting device.
Decoded data can be captured in a data register 830 at a clock rate DATA_CLK which can be the decimated version of the stimulus frequency.
Referring to
Similarly, DCL table 1106 can contain a phase record, using phase data captured using a waveform, as shown in
From operation 1302, the process can continue to operation 1304 where an ADC 405 output is obtained, and is compared to AMP_MIN at operation 1306. If ADC_RESULT is less than AMP_MIN (initially zero), then AMP_MIN can be set to ADC_RESULT at operation 1308, and another ADC_RESULT can be obtained. If ADC_RESULT is not less than AMP_MIN, then it can be determined if ADC_RESULT is greater than AMP_MAX (initially zero), at operation 1310. If ADC_RESULT is greater than AMP_MAX, the AMP_MAX can be set to AMP_RESULT at operation 1312, and another ADC_RESULT can be obtained at operation 1304. The above process can be repeated until the scan is complete.
If the scan is complete in step 1314, then AMP_REG can be set to MAX_REG−MIN_REG, and AMP_AVG can be set to MIN_REG+MAX_REG, at operation 1316. AMP_REG can contain the peak-to-peak amplitude AMP_PP of the captured waveform across the scan duration.
At operation 1318, it can be determined whether the auto-calibration function is being implemented. If not, then the process can end. If auto-calibration is desired, then AMP_REG can be compared to target amplitude AMP_TARG, at operation 1320. If the two are unequal, then the gain of the sense channel 307 (e.g., the gain of pre-amplifier 401) can be adjusted, using processor 520, for example, at operation 1322. If it is determined that AMP_REG=AMP_TARG, then the process can end.
From operation 1400, the process can continue to operation 1410, where the sampled data can be bit packed in DMA 500. According to an example described herein, each sense channel output is 10 bits. Therefore, if 10 sense channel outputs are sampled, four 32 bit registers can be required in DMA 500. However, various combinations of sense channel output sizes and numbers of sense channel outputs can be utilized.
The demodulated waveform from mixer 409 can also be input to DMA 500, at operation 1420. The demodulated waveform can be correlated with the sampled sense channel outputs that are stored in DMA 500 as well. Of course, a start bit can be stored in DMA 500, which can indicated the beginning of a scan sequence.
At operation 1430, the contents of DMA 500, including the sampled waveform data and the demodulation waveform, can be transferred to DTCM 510, to form one or more records. The transfer can be implemented using a local bus 349, for example. As described above, DTCM 510 can include a start register such that when the start bit stored in DMA 500 appears in the start register, DTCM 510 begins storing records. Nint records can be collected, where Nint is a programmable number (e.g., any integer from 0 to 2047) of records captured during one integration period.
At operation 1440, processor 520 can extract the one or more records from DTCM 510, the information in which can be used to diagnose performance issues (e.g., phase delays and/or noise) at sense channel 307. Using HTTP protocol, for example, a user can display the records on any remote workstation, using host processor 520. The one or more records can be stored in memory 530 to create historical performance data of sense channel 307, for example. In addition, the demodulation result register (see 315 in
In addition, processor 520 can perform auto-calibration for various parameters affecting sense channel 307, such as phase shifting and noise filtering. For example, by comparing the waveform data of the sense channel outputs with the demodulation waveform from mixer 409, host processor 520 can determine the relevant phase shift, which can be automatically calibrated using programmable delays. Also, a min/max register can be employed to determine a maximum amplitude, in order to determine a gain of sense channel 307, which can be automatically calibrated at pre-amplifier 401, by host processor 520.
While various examples have been described above, it should be understood that they have been presented by way of example only, and not by way of limitation. Likewise, the various diagrams may depict an example architectural or other configuration for the disclosure, which is done to aid in understanding the features and functionality that can be included in the disclosure. The disclosure is not restricted to the illustrated example architectures or configurations, but can be implemented using a variety of alternative architectures and configurations. Additionally, although the disclosure is described above in terms of various exemplary examples and implementations, it should be understood that the various features and functionality described in one or more of the individual examples are not limited in their applicability to the particular example with which they are described. They instead can be applied alone or in some combination, to one or more of the other examples of the disclosure, whether or not such examples are described, and whether or not such features are presented as being a part of a described example. Thus the breadth and scope of the present disclosure should not be limited by any of the above-described exemplary examples.
Claims
1. A system for transmitting data between touch enabled devices, comprising:
- a first touch enabled device configured to encode data and transmit the data in modulated form to a second touch enabled device using a touch mechanism of the first touch enabled device.
2. The system of claim 1, wherein the touch mechanism is an opaque or transparent sensor panel.
3. The system of claim 1, wherein the touch mechanism is based on at least one of optical, acoustical and inductive effects.
4. A system for receiving data transmitted from one or more touch enabled devices, comprising:
- a receiving touch enabled device configured to decode data received from a transmitting touch enabled device and receive the data in modulated form using a touch mechanism of the receiving touch enabled device.
5. The system of claim 4, wherein the touch mechanism is an opaque or transparent sensor panel.
6. The system of claim 4, wherein the touch mechanism is based on at least one of optical, acoustical and inductive effects.
7. The system of claim 4, wherein the decoded data can be stored in a data register.
8. The system of claim 7, wherein the stored data can be retrieved for diagnostics or calibration.
9. The system of claim 7, further comprising:
- logic configured to change at least one of a gain or a phase of one or more channels in the second touch enabled device based on the stored data.
10. A system for transmitting data between devices, comprising:
- a non-touch enabled device comprising a touch controller configured to encode data and transmit the data in modulated form to a touch enabled device through a dedicated communications channel by at least one of capacitive, inductive, optical and acoustic means.
11. A system for receiving data transmitted from one or more devices, comprising:
- a non-touch enabled device comprising a touch controller configured to decode data received from a touch enabled device and receive the data in modulated form through a dedicated communications channel by at least one of capacitive, inductive, optical and acoustic means.
12. A system for enabling communication between multiple touch enabled devices through respective touch mechanisms, where the respective touch mechanisms are coupled either capacitively, inductively, acoustically or optically.
13. The system of claim 12, wherein at least one of the touch enabled devices includes a reconfigurable demodulation section serving as a discriminator for detecting at least one of frequency modulation (FM) and frequency shift keyed (FSK) modulated data.
14. The system of claim 12, wherein at least one of the touch enabled devices includes a reconfigurable demodulation section serving as a homodyne detector to detect phase shift keyed (PSK) modulated data.
15. The system of claim 12, wherein at least one of the touch enabled devices includes a reconfigurable demodulation section serving as an amplitude modulation (AM) detector to detect at least one of AM and amplitude shift keyed (ASK) modulated data.
16. The system of claim 12, wherein at least one of the touch enabled devices includes a transmit numerically controlled oscillator (NCO) reconfigurable to encode at least one of FSK and FM data.
17. The system of claim 12, wherein at least one of the touch enabled devices includes a transmit numerically controlled oscillator (NCO) reconfigurable to encode PSK encode data.
18. The system of claim 12, wherein at least one of the touch enabled devices includes a transmit numerically controlled oscillator (NCO) reconfigurable to encode at least one of ASK and AM data.
19. The system of claim 12, wherein at least one of the touch enabled devices includes dedicated logic to facilitate bidirectional touch communications.
20. The system of claim 12, wherein at least one of the touch enabled devices comprises a touch controller including a demodulation section serving as an intermediate frequency (IF) stage in a radio receiver.
Type: Application
Filed: Oct 7, 2013
Publication Date: Feb 20, 2014
Applicant: Apple Inc. (Cupertino, CA)
Inventors: Christoph Horst Krah (Los Altos, CA), Thomas James Wilson (Falmouth, ME)
Application Number: 14/047,808