This application claims priority to European Patent Application No. 23220385.1, filed on Dec. 27, 2023, the disclosures of which are incorporated by reference herein their entireties
In one aspect the present invention relates to an analog circuit to process capacitively coupled input signals. In another aspect the present invention relates to an electrostatic position indicator, such as an electronic pen or pencil, comprising an electrode configured to receive an input signal by capacitive coupling with a touch sensitive display of an electronic device.
Typical electrostatic signal receiver architectures used in currently available stylus or electronic pen products are known for instance from US 2018/0095495 A1. This document describes a system with edge detection performed by a straightforward analog topology using analog RC high pass filters and voltage comparators with adaptive voltage levels. Document EP 3 968 132 A1 describes a system with edge detection performed by a complex switched capacitor topology derived from the so-called sigma delta architecture.
Prior art systems for electrostatic signal reception do not allow for continuous and simultaneous control of the gain and bandwidth of the front stages of the receiver, which front stages typically comprise a preamplifier and a filter.
Here, a simultaneous control is not supported because, normally, two degrees of freedom are required to control the gain and bandwidth of the front stages independently.
Also, a continuous control is not supported because low noise amplifier stages require capacitive feedback. Currently available implementations of floating variable capacitors with continuous control are not practical or feasible.
Also, continuous control of gain or bandwidth is not possible in prior art systems because, in those designs, both quantities are selected or decided by firmware.
Consequently, the use of discrete control brings signal disruption during adjustments to the gain or bandwidth while the use a firmware results in limited speed of the feedback system, preventing appropriate reaction to fast signal fading.
Generally, and when performing analog edge detection, that is, extracting edge time information, the analog input signal is converted into two digital output streams where a rising edge on the analog input triggers a pulse on the positive digital output and wherein a falling edge on the analog input triggers a pulse on the negative digital output, and the delay from an edge on an analog input to the start of the respective pulse on a digital output is stable with time.
Such digital data streams are typically processed with a matched filter calculating values of correlation between the received timing sequence and the expected (template) timing pattern over a sliding time window.
A key problem to address in such architecture is the fact that analog edge detection techniques can only provide low error rate and stable delay (latency) if the analog input signal amplitude is maintained in a certain dynamic range. Therefore, appropriate signal voltage amplification has to be provided.
Another problem to address is the presence of low frequency interference. A standard technique to suppress such interfering signals is placing a high pass filter with programmable corner frequency before the edge detection stage. The properties of the digital streams generated by the edge detection block can be used to determine if the input signal amplitude is below, above or within the optimum dynamic range for detection.
Specifically, for weak input signals near the minimum detection amplitude, the output pulses of the edge detection stage are very short and the combined duty cycle is near zero. Poor receive performance can be expected under these conditions as the edge detection delay, i.e. the latency, tends to vary with time.
Reliable edge detection with stable delay or latency is typically obtained for moderate input amplitudes where the output pulse duration is a fraction of the time spacing between the input signal edges, and consequently, the output duty cycle is neither close to zero nor one.
Rather strong input signals result in very long output pulses that span almost the entire time interval between the related opposite edges of the input signal, thus leading to an output duty cycle of almost one. Even though such output may still allow for a reliable detection, it typically indicates an overdrive or clipping condition that most system designs try to avoid.
The same principles and shortcomings also apply if discrete time implementations are used, e.g., a switched capacitor topology derived from a sigma delta architecture. Here, the output signals are clocked and can only change at discrete time points.
With such system and principles known so far, the control loop is rather slow and cannot handle fast signal fading. Moreover, a gain adjustment or a corner frequency adjustment may result in operating point disruptions.
In one aspect, there is provided an analog circuit. The analog circuit comprises a signal input to provide an input signal via a capacitive coupling. The signal input may be capacitively coupled to an electrode of a position indicator, such as a pen or pencil configured for use with an electronic display, e.g., with a touch sensitive electronic display of a tablet computer or smartphone.
The analog circuit further comprises an edge detection stage, which is operable to detect rising and falling edges of the input signal, which is provided at the signal input. The analog circuit further comprises an amplifier stage with continuously variable gain and bandwidth between the signal input and the edge detection stage. The amplifier stage with continuously variable gain and bandwidth is operable to amplify the input signal provided by the signal input. An amplifier stage with continuously variable gain and bandwidth may provide a single and continuous control quantity for a front stage of the analog circuit, which means that a single degree of freedom is simultaneously used to control both gain and bandwidth of the amplifier stage with continuously variable gain and bandwidth. This may also have a side effect on a high pass corner frequency and an input referred noise, however, with no negative impact on system performance.
By way of an amplifier stage with continuously variable gain and bandwidth between the signal input and the edge detection stage, there can be provided a rather fast and continuous gain and bandwidth control for the signal input provided to the edge detection stage.
According to a further example, the amplifier stage with continuously variable gain and bandwidth is a voltage controllable amplifier stage with continuously variable gain and bandwidth. The amplifier stage with continuously variable gain and bandwidth is controllable by a loop control voltage, which is derivable from at least one output of the edge detection stage. In this way, there may be provided a feedback loop for the edge detection stage.
The loop control voltage is derivable from at least one or several outputs of the edge detection stage. Depending on the output of the edge detection stage the loop control voltage is generated and used as a control signal for the voltage controllable amplifier stage with continuously variable gain and bandwidth. In this way there can be provided a rather fast control loop, which operates continuously.
According to a further example the analog circuit comprises a differential integrator stage connected to at least one output of the edge detection stage. The differential integrator stage is operable to derive the loop control voltage from at least one output or from several outputs of the edge detection stage. The differential integrator stage may be particularly operable to process an input signal derivable from a first output of the edge detection stage and from a second output of the edge detection stage.
According to a further example the differential integrator stage comprises an operational amplifier with a first integrator input, a second integrator input and an integrator output. The first integrator input is connected to a reference voltage. The second integrator input is coupled to at least one output of the edge detection stage.
According to a further example, the integrator output is connected to the second integrator input via a first local feedback branch. Insofar, the operational amplifier of the differential integrator stage may be configured as a negative feedback loop. In some examples, the reference voltage may be connected to the non-inverting input of the operational amplifier and the second integrator input is an inverting input of the operational amplifier.
According to a further example, the first local feedback branch of the differential integrator stage comprises an integration capacitor.
Typically, the output of the operational amplifier is connected to a control input of the amplifier stage with continuously variable gain and bandwidth. The loop control voltage for the variable gain variable bandwidth amplifier stage may be provided at the output of the operational amplifier of the differential integrator stage.
According to a further example, the analog circuit, specifically the differential integrator stage, further comprises a second local feedback branch parallel to the first local feedback branch. The second local feedback branch may comprise a feedback resistor. By way of a feedback resistor the differential integrator stage can be implemented as a lossy integrator stage.
Use or implementation of a lossy integrator in the differential integrator stage and hence in the gain and bandwidth control loop offers a fast loop reaction to variations of signal strength at the expense of smaller static gain of the entire loop. This means that the loop can accommodate larger variation of the resulting digital activity as the input signal strength moves between minimum and maximum. The integrator type and the optimum combination of the related design parameters are application dependent and have to be determined on a case-by-case basis to suit both the full dynamic range and the amplitude ramp speed of the input signal provided at the signal input.
According to a further example, the analog circuit comprises a logic gate, e.g., the analog circuit comprises one of a logic OR gate and logic NOR gate. The logic gate has a first gate input connected to a first output of the edge detection stage. The logic gate further has a second gate input connected to a second output of the edge detection stage. According to a further example the one of the logic gate, i.e. one of the OR gate and the NOR gate comprises a gate output connected to the second integrator input of the operational amplifier.
According to a further example, the analog circuit further comprises an integration resistor between the gate output of the logic OR gate or logic NOR gate and the second integrator input of the operational amplifier. This way and with the first local feedback branch comprising the integration capacitor, an integration time constant of the differential integrator stage can be determined by the product of the integration resistance of the integration resistor and the integration capacitance of the integration capacitor. It can be designed to obtain a desired tradeoff between the feedback loop speed and the loop control voltage ripple.
According to a further example, the amplifier stage with continuously variable gain and bandwidth comprises an amplifier with an amplifier input connected to the signal input and an amplifier output connected to the edge detection stage. The amplifier stage with continuously variable gain and bandwidth further comprises a first amplifier branch. The first amplifier branch comprises a feedback capacitor parallel with the amplifier input and the amplifier output.
The amplifier stage with continuously variable gain and bandwidth further comprises a second amplifier branch comprising a feedback resistance parallel to the first local feedback branch and/or parallel with the amplifier input and the amplifier output.
The feedback resistance may be variable. It may be variable by the loop control voltage as provided by the differential integrator stage. By varying the feedback resistance the signal transfer properties of the amplifier stage with continuously variable gain and bandwidth can be modified. Generation and modification of the control feedback resistance may be provided by a combination of a fixed resistor and a transistor operated in a triode region as a controlled resistance. Unlike controlled linear capacitors, such a combination is easy to implement in CMOS technology.
According to a further example, the feedback resistance is controllable by a loop control voltage. Typically, the loop control voltage is derived from at least one output of the edge detection stage.
Furthermore, and according to another example, the second amplifier branch is connected to the integrator output. The feedback resistance is controllable by the loop control voltage provided at the integrator output. In this way there can be provided an effective feedback loop for the amplifier stage with continuously variable gain and bandwidth.
According to another aspect, the present invention further relates to a position indicator. The position indicator may be implemented as a pencil, e.g. as an electrostatic pen or pencil configured to capacitively interact with an electronic display, e.g., with a touch sensitive electronic display of a mobile electronic device, such as a tablet computer or a smart phone.
The position indicator comprises an electrode configured to receive an input signal by capacitive coupling, e.g. by capacitive coupling to a capacitive area of a touch sensitive display. The position indicator further comprises an analog circuit as described above, wherein the signal input of the analog circuit is connected to the electrode of the position indicator.
In the following numerous examples of the invention will be described in greater detail by making reference to the drawings, in which:
The analog circuit 1 as shown in
The edge detection circuit 10 with its two digital outputs VPOS and VNEG is connected to a correlator 12, that provides a data output to be processed by a digital logic of the pen or pencil.
The analog circuit 1 further comprises a differential integrator stage 20, which is connected to both outputs VPOS and VNEG of the edge detection stage 10. The differential integrator stage 20 is connected to a control input of the amplifier stage with continuously variable gain and bandwidth 30. In the illustrated examples the differential integrator stage 20 comprises an operational amplifier 23 comprising a first integrator input 21 connected to a reference voltage VREF.
The operational amplifier 23 further comprises a second integrator input 22, which is connected to a logic gate 27. Specifically, the second integrator input 22 is connected to an output of the logic gate 27. First and second inputs of the logic gate 27 are connected to first and second outputs VPOS and VNEG of the edge detection stage 10, respectively. The first integrator input 21 may be a non-inverting input of the operational amplifier 23. The second input 22 of the operational amplifier 23 may be an inverting input. The output 24 of the operational amplifier 23 may be connected via a control line 29 to a control input of the amplifier stage with continuously variable gain and bandwidth 30. This way, there can be provided a voltage-controlled negative feedback loop.
The operational amplifier 23 is further provided with a first local feedback branch 25 connecting the integrator output 24 with the second integrator input 22, the latter of which may be implemented as the inverting input of the operational amplifier 23. The first local feedback branch 25 is further provided with an integration capacitor CINT.
The local feedback branch 25 is connected to a node 26, which node 26 is connected to the second integrator input 22. Between the node 26 and an output 28 of the logic gate 27 there is provided an integration resistor RINT. In variant of the differential integrator stage 20 as shown in
In contrast to a lossless design as shown in
The amplifier stage with continuously variable gain and bandwidth 30 is voltage controllable, e.g. via a voltage control VCTL signal obtained at the output 24 of the operational amplifier 23. The integrator output 24 is connected to a control input of the amplifier stage with continuously variable gain and bandwidth 30 via a control line 29.
The amplifier stage with continuously variable gain and bandwidth 30 comprises an amplifier 33 with an amplifier input 31 and an amplifier output 32. The amplifier input 31 and the amplifier output 32 are connected by a first amplifier branch 34 in parallel with the amplifier 33. The amplifier input 31 and the amplifier output 32 are further connected via a second amplifier branch 35 in parallel to the first amplifier branch 34. The first amplifier branch 34 comprises a feedback capacitor CFB. The second amplifier branch 35 is provided with a variable feedback resistor RFB. The resistance of the variable feedback resistor RFB can be controlled by the loop control voltage VCTL as provided via the control line 29.
In
The source of the transistor PAMP is connected to a biasing branch 40. Between the transistors NAMP and PAMP, specifically between the drain of the transistor PAMP and the drain of the transistor NAMP there is provided the amplifier output 32 as indicated in
The amplifier input 31 as indicated in
The second local feedback branch 35 is provided with a NMOS transistor NFB in series with a fixed feedback resistor RFB. The second local feedback branch 35 terminates at one end with a further input node 38 and terminates at an opposite end with a further output node 39. The further input node 38 is connected to the input node 36. The further output node 39 is connected to the output node 37. This way, the first local feedback branch 34 is parallel to the second local feedback branch 35. The further output node 39 is connected to the drain of the transistor NAMP and the drain of the transistor PAMP.
A source of the transistor NFB is connected to the further input node 38 and a drain of the transistor NFB is connected to the resistor RFB. The loop control voltage VCTL and hence the feedback line 29 is connected to the gate of the transistor NFB.
In this way, the overall resistance of the second local feedback branch 35 can be continuously regulated and controlled by the loop control voltage VCTL, which is provided by the differential integrator stage 20.
With the example of
With the alterative example of
Both examples as illustrated in
The biasing branch 40 of the amplifier stage 30 comprises a voltage supply input VSUP and a bias current input IBIAS. The voltage supply input VSUP is connected to a node 41 and the bias current input IBIAS is connected to another node 42. The two nodes 41, 42 are connected by an input transistor PIN, e.g., implemented as a PMOS transistor. The source of the input transistor PIN is connected to the node 41. The drain of the input transistor PIN is connected to the node 42.
The biasing branch 40 further comprises an output transistor POUT, e.g., implemented as a PMOS transistor. The gate of the input transistor PIN and the gate of the output transistor POUT are mutually connected. Between the gate of the input transistor PIN and the gate of the output transistor POUT there is provided a node 43. The node 43 is connected to one side of a bias capacitor CBIAS. Another side of the bias capacitor CBIAS is connected to the node 41. The node 43 is further connected to the node 42.
A drain of the output transistor POUT is connected to a further node 44, which is connected to the source of the transistor PAMP. The node 44 is also connected to ground via another capacitor CTOP. The transistor POUT of the bias branch 40 is in series with the transistor PAMP and further with the transistor NAMP. In this way, the bias branch 40 is operable to provide a suitable bias current for the amplifier stage with continuously variable gain and bandwidth 30.
In operation, the differential integrator stage 20, specifically its operational amplifier 23 steers its output VCTL to obtain a virtual zero, or a zero differential voltage between its non-inverting input 21 and inverting input 22. Accordingly, and when a digital activity on the two outputs of the edge detection stage 10 and hence on the digital streams VPOS and VNEG is too low or comparatively low, the differential integrator stage 20 steers the loop control voltage VCTL to increase the gain of the amplifier stage with continuously variable gain and bandwidth 30, e.g. acting as a front stage for the edge detection stage 10.
Conversely, and when the digital activity is too high or comparatively large, the differential integrator stage 20 is operable to reduce the gain of the front stage, i.e. the gain of the amplifier stage with continuously variable gain and bandwidth 30.
In both cases, the functionality of the differential integrator stage 20 provides that the loop control voltage VCTL continues to increase or decrease until the combined duty cycle of the output of the edge detection stage 10 approaches or equals a target set by the reference voltage VREF.
The integration time constant is determined by the product of the integration resistance RINT and the integration capacitance CINT and can be designed to obtain the desired tradeoff between feedback loop speed and loop control voltage ripple.
The signal transfer properties of the amplifier stage with continuously variable gain and bandwidth 30 or front gain stage are controlled by varying a local feedback resistance, i.e. the resistivity of the feedback resistor RFB as indicated in
In situation with a comparatively low or weak input signal at VSIG the gain control mechanism uses a maximum value or a comparatively high value of local feedback resistance to maximize the gain. Consequently, the effect of the local feedback resistance is minimized, and the local feedback in the gain amplifier stage 30 or front stage becomes capacitive via CIN and CFB. Therefore, the input noise of the gain stage is not degraded and the minimum detectable signal performance is maintained.
In other situation, and with a comparatively strong input signal at VSIG, the gain control mechanism uses a low value of local feedback resistance to minimize the gain. This increases the bottom corner frequency of the variable gain variable bandwidth amplifier stage 30 stage. Here, and in this configuration, the variable gain variable bandwidth amplifier stage 30 may act as a high-pass filter.
More precisely, the amplifier stage 30 always acts as a bandpass where the bottom corner frequency is given by the combination of the local feedback resistance RFB and the feedback capacitance CFB while the top corner frequency is given by a loading effect at the output of the variable gain variable bandwidth amplifier 30 and is primarily determined by the load capacitance and available power. The variable gain variable bandwidth amplifier stage 30 design for the reception of square wave patterns is generally wideband and the value of the top corner frequency need not be considered here. What is of main interest is the high pass effect related to the variable bottom corner frequency of the variable gain variable bandwidth amplifier 30.
This may provide improved suppression of a low frequency interference, whilst there is no adverse effect on edge detection.
Conversely,
The proposed invention supports continuous and simultaneous control of the gain and bottom corner frequency of the variable gain variable bandwidth amplifier stage 30 and hence of the front end stages, bringing fast adjustments during input signal fading without signal disruption due to discrete changes to the gain or corner frequency while retaining low noise operation during weak signal reception on one side and low frequency interference suppression during strong signal reception on the other.
Number | Date | Country | Kind |
---|---|---|---|
23220385.1 | Dec 2023 | EP | regional |