The present technique relates to the field of electronics.
A resistive element can be used for a variety of purposes in an electronic circuit. For example, one use is as a temperature sensor, exploiting the variation in resistance with temperature. Another is as a resistive heater, where passing a current through the resistive element generates heat.
At least some examples provide an apparatus comprising:
a resistive element and a diode arranged in series;
current control circuitry configured to switch a current supplied to the resistive element and the diode between a first current I1, a second current I2 and a third current I3, where I1>I2>I3; and
measuring circuitry configured to determine a resistance R of the resistive element in dependence on a first voltage V1 across the resistive element and the diode when the first current I1 is supplied, a second voltage V2 across the resistive element and the diode when the second current I2 is supplied, and a third voltage V3 across the resistive element and the diode when the third current I3 is supplied;
wherein the measuring circuitry is configured to combine the first voltage V1, the second voltage V2 and the third voltage V3 to at least partially eliminate an error in the determined resistance R of the resistive element caused by a voltage drop across the diode
At least some examples provide a method for measuring a resistance R of a resistive element arranged in series with a diode; the method comprising:
switching a current supplied to the resistive element and the diode between a first current I1, a second current I2 and a third current I3, where I1>I2>I3; and
determining the resistance R of the resistive element in dependence on a first voltage V1 across the resistive element and the diode when the first current I1 is supplied, a second voltage V2 across the resistive element and the diode when the second current I2 is supplied, and a third voltage V3 across the resistive element and the diode when the third current I3 is supplied;
wherein the resistance R is determined by combining the first voltage V1, the second voltage V2 and the third voltage V3 to at least partially eliminate an error in the determined resistance R of the resistive element caused by a voltage drop across the diode.
At least some examples provide an apparatus comprising:
an array of resistive elements arranged in rows and columns, wherein each resistive element is individually addressable at an intersection between a corresponding row line and a corresponding column line;
current control circuitry comprising a plurality of current sources each configured to supply a variable amount of current, and switching circuitry configured to select which of the plurality of current sources is coupled to a selected column line corresponding to a selected column of resistive elements; and
timing control circuitry configured to control the current control circuitry to adjust the amount of current supplied by one of the current sources while another of the current sources is coupled to the selected column line.
At least some examples provide a method for controlling current supply for an array of resistive elements arranged in rows and columns, wherein each resistive element is individually addressable at an intersection between a corresponding row line and a corresponding column line;
the method comprising:
selecting which of a plurality of current sources is coupled to a selected column line corresponding to a selected column of resistive elements, each current source supplying a variable amount of current; and
adjusting an amount of current supplied by one of the current sources while another of the current sources is coupled to the selected column line.
Further aspects, features and advantages of the present technique will be apparent from the following description of examples, which is to be read in conjunction with the accompanying drawings, in which:
Temperature measurement can be made using a component whose resistance changes as a function of temperature. This approach is more accurate than the alternative of measuring the thermal voltage of a diode, particularly when platinum resistors are used. Although there are many different circuit topologies used for resistance measurement, they share the principle of setting a current through the unknown resistance and measuring the voltage drop across it. However, this principle ceases to function where there is an unknown voltage drop in series with the resistance, such as that caused by a diode. As diodes are often required to control the direction of current flow, particularly in matrix applications, this limits the applicability of resistive temperature sensors.
However, the inventors recognised that by using three different levels of current supplied to the resistive element and the diode, the resistance of the resistive element can be measured more accurately even in the presence of the diode. Current control circuitry may be provided to switch a current supplied to the resistive element and the diode between a first current I1, a second current I2 and a third current I3, where I1>I2>I3. Measuring circuitry is provided to determine a resistance R of the resistive element in dependence on first, second and third voltages V1, V2, V3 measured across the resistive element and the diode when the first, second and third currents are supplied respectively. The measuring circuitry combines the voltages V1, V2, V3 to at least partially eliminate an error in the determined resistance R of the resistive element caused by a voltage drop across the diode.
The ratio between the first current I1 and the second current I2 may be substantially the same as a ratio between the second current I2 and the third current I3. This exploits a logarithmic relationship between current and voltage drop in the diode, which means that when a common ratio is used for I1/I2 and I2/I3, the voltages V1, V2, V3 can be combined by addition and subtraction to fully or partially cancel out the term representing the voltage drop. In particular, the measuring circuitry may determine the resistance R of the resistive element proportional to V1−2V2+V3.
Preferably, the ratio between currents I1/I2 and the ratio between currents I2/I3 may be equal. That is, the currents may satisfy I2=yI1 and I3=y2I1, where y represents the common ratio between the currents and 1>y>0. Providing exactly the same ratio between currents I1/I2 as between currents I2/I3 can provide the most accurate measurement of the resistance R of the resistive element, because this allows more complete cancellation of the terms dependent on the diode voltage drop.
However, in practice due to the finite tolerance with which the currents I1, I2, I3 are able to be controlled by a current source, the ratios between currents I1/I2 and currents I2/I3 may not be exactly the same. Even if the ratios are not the same and so the terms depending on the diode voltage drop do not completely cancel when combining the voltages V1, V2, V3, the present technique can still provide partial elimination of the effect of the diode on the resistance measurement, so that the error in the resistance measurement may be several orders of magnitude smaller than if the resistance is simply measured by passing a single current through the resistive element and diode and dividing the voltage across the resistive element and diode by the amount of current. Hence, the ratio of the first current I1 to the second current I2 may be substantially the same as the ratio of the second current I2 to the third current I3 in the sense that I2=yI1 and I3=y(y±Δ)I1, where Δ represents the tolerance in the difference in ratios. For example, 4 may be less than 5% of y, or less than 10% of y, depending on the implementation.
There may be a range of possible circuit implementations for implementing the measuring circuit which combines the voltages V1, V2, V3 to generate an indication of the determined resistance R. For example, the voltages V1, V2, V3 measured at each of the three currents I1, I2, I3 could each be passed to an analogue-to-digital converter (ADC) to generate three digital values respectively representing the first, second and third voltages V1, V2, V3, and then the digital values could be passed to an arithmetic circuit which may calculate the resistance R according to V1−2V2+V3 as discussed above. However, this approach would require three separate analogue-to-digital conversions, each introducing quantisation noise, and so this would result in the resistance R having a greater amount of quantisation noise relative to the signal compared to the simple case of measuring resistance according to V/I in the absence of a diode. Accordingly, the ADC may need to have a greater number of bits of resolution to compensate for the increased noise, increasing circuit area and manufacturing cost.
In another example, the measuring circuitry may comprise an ADC configured to generate a digital value representing the determined resistance R of the resistive element in dependence on the first voltage V1, second voltage V2, and third voltage V3 detected during a single sampling period of the ADC. The combination of the first, second and third voltages may be performed using analogue circuitry rather than digital circuitry, to reduce the quantisation noise in the measured resistance value by using only a single A/D conversion.
For example, the measuring circuitry may comprise a filter configured to receive a pair of differential inputs indicative of the voltage across the resistive element and the diode, which generates an output signal representing an integral of the voltage represented by the differential inputs over time. For example, the filter may be a low-pass filter. While a single-ended filter could be used, it can be preferable for the filter to be a fully differential low-pass filter, so that the output signal comprises a pair of differential outputs, because this can avoid accumulation of errors due to charge injection. By using an integrating filter, the cumulative voltage detected over the period of time when the respective currents I1, I2, I3 are supplied can be determined, and the filter can generate an output signal which corresponds to the combination of the voltages V1, V2, V3.
A switch may be provided to select one of a first configuration and a second configuration in which a polarity of the pair of differential inputs of the filter is reversed compared to the first configuration. For example, the switch may be a cross-bar switch which switches between a first configuration where a first differential input of the filter is coupled to a first signal node on one side of the resistive element and diode and a second differential input of the filter is coupled to a second signal node on the other side of the resistive element and diode, and a second configuration in which the first differential input is coupled to the second signal node and the second differential input is coupled to the first signal node. By providing a switch for reversing the polarity of the differential inputs of the filter, this allows the integration of the filter to implement subtraction as well as addition, to enable the filter to combine the voltages V1, V2, V3 in the desired relation for eliminating the effect of the diode.
Timing control circuitry may be provided to control the switch to select the first configuration when the first current I1 or the third current I3 is supplied to the resistive element and the diode, and to select the second configuration when the second current I2 is supplied to the resistive element and the diode. Hence, by ensuring that the polarity of the inputs is in the opposite state for the second current compared to the first and third currents, this allows the output of the filter to correspond to the combination V1−2V2+V3 as explained above.
Also, the relative timings for which the respective currents are supplied may be varied to control the weights with which the voltages V1, V2, V3 are combined by the filter. Timing control circuitry may be provided to control the current control circuitry to supply the first current to the resistive element and the diode in a first time period of duration t, to supply the second current to the resistive element and the diode in a second time period of duration 2t, and to supply the third current to the resistive element and the diode in a third time period of duration t. By supplying the second current I2 for twice as long as the first and third currents I1, I3, this means the output of the filter corresponds to the relation V1−2V2+V3 described above.
When such a filter is used, an ADC may be provided downstream of the filter to generate a digital value representing the resistance R of the resistive element in dependence on the output signal of the filter. Gain may be applied between the filter and ADC in some examples to increase the signal level. The timing control circuitry may control the current control circuitry to switch between the first current, the second current and the third current at a greater frequency than a sampling rate of the ADC, so that one sample of the ADC corresponds to the combination of voltages V1, V2, V3 representing the measured resistance R with reduced dependency on the diode voltage drop.
First, second and third current sources may be provided to generate the first current I1, second current I2, and third current I3 respectively. Each current source may include a closed-loop feedback circuit configured to control a voltage across a reference resistive element according to a common reference voltage, wherein the reference resistive elements of the first, second and third current sources have different resistances. Using closed-loop techniques with a common reference voltage can provide more accurate control of the three currents. Hence, the ratios between the respective currents may effectively be set by the ratios between the reference resistances in the respective current sources.
In one example, the current control circuitry may comprise first, second and third switching circuits each corresponding to a respective one of the current sources. At any given time, one of the first, second and third switching circuits may couple its current source to the resistive element and the diode, while the other current sources are isolated from the resistive element and the diode. However, in order for the closed-loop control to settle, a dummy load may be provided so that current from a given current source can be steered to the dummy load when that current source is not driving the resistive element and diode. Hence, each of the first, second and third switching circuits may select whether a current from the corresponding one of the first, second and third current sources is directed to the resistive element and the diode or to the dummy load.
The technique described above can be used for any application in which it is desired to measure resistance of a resistive element in the presence of a series diode. However, it is particularly useful when the resistive element is being used as a temperature sensor so that the resistance value R is used as an indication of temperature T.
In some cases, the resistive element whose resistance is being measured may be the only resistive element. Alternatively, the apparatus may comprise multiple resistive elements, each having a diode connected in series with it, whose resistance may need to be measured. For example, an array of temperature sensors may be provided. In this case, it is possible that each resistive element may have its own current control circuit and measuring circuit, or alternatively some resistive elements may share a current control circuit and measuring circuit to reduce the amount of circuitry.
One efficient way of sharing the current control circuit and measuring circuit between resistive elements may be to provide an array of resistive elements arranged in rows and columns, wherein each resistive element is individually addressable via a corresponding row line and a corresponding column line and is arranged in series with a diode between the corresponding row line and the corresponding column line. For example, the current control circuitry may be shared between all the resistive elements in the same column, and the measuring circuitry may be shared between all the resistive elements in the same row. The present technique is particularly useful for an array of resistive elements arranged in a matrix of rows and columns, because diodes may be used in such an array to prevent parasitic paths, and so it is useful to provide a technique for more accurately measuring the resistance of the resistive element despite the presence of the diode.
Another issue when providing an array of individually addressable resistive elements arranged in rows and columns may be the control of current supplied to a given column. For example, the resistive elements could be resistive heaters which may need to be supplied with different currents in order to provide different amounts of heating at different locations of the array. To reduce the amount of control circuitry provided, a column of resistive elements may share current control circuitry for driving the resistive elements. However, if different currents need to be supplied at different rows within the column, this may require relatively fast switching between different current levels. In practice, it is difficult to provide a current source which switches its current level both accurately and fast, and so providing a single current source per column may limit one or both of the accuracy with which current can be controlled and the frequency with which currents can be changed for different rows in the column.
This problem can be addressed by providing current control circuitry comprising two or more current sources each configured to supply a variable amount of current, and switching circuitry configured to select which of the plurality of current sources is coupled to a selected column line corresponding to a selected column of resistive elements. Timing control circuitry can be provided to control the current control circuitry to adjust the amount of current supplied by one of the current sources while another of the current sources is coupled to the selected column line. Hence, by providing multiple current sources for the same column of the array, the control circuitry may alternate which current source is used to drive the array, so that each individual current source has longer to settle at a new current level after its control input has changed, so that more accurate (but slower settling) current sources can be used to provide higher accuracy of current control while still supporting higher switching frequencies.
In some cases, the current control circuitry may comprise two current sources. Alternatively, the current control circuitry may comprise three or more current sources. How many current sources are provided may depend on how long it takes a current source to settle at a new current level after an adjustment and on the desired switching frequency at which the current is to be switched for the selected column line.
The array may be provided with row select circuitry to select a selected row of resistive elements according to a row select signal switching at a given frequency. The timing control circuitry may be configured to switch between the plurality of current sources at said given frequency. During a period of the row select signal when a given row of resistive elements is selected by the row select circuitry, the current control circuitry may select a first of the current sources to supply current to a target resistive element in the given row of the selected column, and control a second of the current sources to adjust an amount of current supplied by the second of the current sources to correspond to a target current for a resistive element in a following row of the selected column. Hence, the current to be supplied to the next row in the column can be adjusted and settle during the period when the previous row is being driven by another current source.
Note that which direction of the array is regarded as a “row” and which direction is regarded as a “column” is essentially arbitrary—these terms are not being used to imply any absolute direction in which the array is oriented. Instead, “column” is simply being used to refer to the direction in which the resistive elements share the same current control line, with a “row” running in the orthogonal direction to a column.
In some implementations, each column may have a separate instance of the current control circuitry, so that each column is associated with two or more current sources controlled by the control circuitry. Alternatively, multiple columns could share the same current control circuitry and the associated current sources.
As well as controlling switching between the respective current sources, the switching circuitry may also be controlled by the timing circuitry to repeatedly switch the same current source in and out of the same column line over a period of time, before switching away to a different current source. For instance, the timing control circuitry may perform pulse width modulation of a switching signal for selecting whether a given one of the current sources is coupled to the selected column line. Hence, during a period when a given one of the plurality of current sources is designated for coupling to the selected column line, the timing control circuitry may perform pulse width modulation to select what fraction of said period said given one of the plurality of current sources is actually coupled to the selected column line by the current control circuitry. This can be useful because in some cases the current sources themselves may not provide as fine a degree of control of the amount of power delivered to a given resistive element as is desired for a given application. To provide finer control of the power delivered, pulse width modulation can be used to vary the total amount of time for which current is delivered to the resistive element.
This current control technique is particularly useful for an array in which each resistive element is arranged in series with a diode between the corresponding row line and the corresponding column line. For example the diodes may be provided to prevent formation of parasitic paths. When the diodes are provided, driving of the resistive elements in a given column with a current source may be preferred over a voltage source, since with voltage control the presence of the diode would introduce a temperature-dependent error into any desired setting for driving the resistive element. However, current sources are more difficult to switch fast and accurately as discussed above, and so the technique of providing multiple alternating current sources per column can help to increase switching rates without sacrificing accuracy.
In one example, each current source may comprise a closed-loop feedback circuit configured to control a voltage across a reference resistive element according to a reference voltage representing an amount of current to be supplied by that current source. Closed-loop control techniques provide a high degree of accuracy with which the current can be controlled to a given level, but are relatively slow to switch between different currents, so the technique discussed above enables such closed-loop current sources to be used with the resistive element array.
The current control circuitry may comprise a plurality of switching circuits each configured to selectively couple a corresponding one of the plurality of current sources to the selected column line, wherein each of the plurality of switching circuits is configured to select whether a current from the corresponding one of the plurality of current sources is directed to the selected column line or to a dummy load. By providing a dummy load for the switch to steer current into at times when the corresponding current source is not driving the column line, this allows current to flow during the settling period to enable the adjustment of the current level in time for the next time that current source is coupled to the column line.
This technique could be used in any array where current needs to be passed through a resistive element. However, it is particularly useful where the resistive elements comprise resistive heaters. For example, the array of resistive heaters may be for applying heat to a surface or liquid in a controlled pattern, with different temperatures being applied at different locations in the surface or the liquid.
A method of accurately measuring the resistance of the temperature sensor in the presence of an unknown voltage drop caused by a diode is described below. Although the magnitude of the voltage drop is not known, the logarithmic relationship between current and voltage drop is a general characteristic of all semiconductor devices. This property may be exploited to isolate the voltage drop across the resistor only, by measuring the combined voltage drop at multiple currents. A matrix of resistive temperature sensors can be accurately read using this technique. In one embodiment, a modified amplitude modulation approach can be used to reduce the specification of the analogue to digital converter used to convert the measured resistance to a digital binary value.
However, as shown in the left part of
However, the diode voltage introduces an error when attempting to measure resistance using a conventional circuit topology as shown in
V
S
=R
T
I+V
D
Thus, it is not possible to estimate RT from VS without an accurate knowledge of VD.
The magnitude of the uncertainty depends on the relative size of the diode drop and the drop across the resistor. The diode drop may be of the order of several hundred millivolts, whilst the absolute size of voltage drop that can be imposed across the resistor is limited to a few Volts at most by the need to limit power dissipation in the temperature sensor. Temperature measurement with precision of fractions of a degree would typically therefore require measurement of the resistor voltage with precision of fractions of a millivolt. To make matters worse, the diode voltage is itself temperature dependent:
where k is Boltzmann constant (1.38×10−23 JK−1), q is the electronic charge (1.6×10−19 C.) and T is the absolute temperature (° K). The saturation current, IS, is a device specific term that has its own temperature dependence, as well as long term drift.
The measurement can be made independent of the diode voltage drop by alternately imposing three different currents, I1, I2, and I3 using respective current sources 12, 14, 16 as shown in
where I2=yI1, I3=y2I1, and 1>y>0.
The current sources 12, 14, 16 and switching circuitry 18 for selecting which of the current sources is connected to the resistive element 4, 10 may collectively be considered as current control circuitry. While
Differential measurements can be taken between the voltages generated at I1 and I2, and I2 and I3 respectively:
which eliminates the effect of the saturation current IS. As the ratio between the currents I1 and I2 is the same as the ratio between currents I2 and I3,
and so subtracting the differential voltages ΔVS1,2 and ΔVS2,3 produces a value proportional to RT and independent of the diode:
ΔVS=ΔVS1,2−ΔVS2,3=V1−2V2+V3=RTI1(1−y)2
Therefore, by applying the three currents having the relation discussed above, and measuring V1−2V2+V3, the resulting value is proportional to the resistance RT of the temperature sensor 4, and hence to temperature T.
In practice, the diode voltage will not completely cancel out due to the finite tolerance to which the current ratio can be held, and because a real diode does not perfectly match the model used here (Ebers-Moll) across its entire current range. Hence, the effect of the diode may only be partially eliminated. Nevertheless, any resulting imperfection will be orders of magnitude smaller than a single ended or differential diode drop relative to the desired signal. This enables the resistance measurement to be made accurately with moderate voltage drops and therefore low power dissipation in the sensor itself.
One effect of this technique is that the resolution to which ΔVS should be measured is increased by comparison to the simple single-ended case. This is because of two effects:
These effects result in an increased number of bits of resolution, given by
It is therefore advantageous to avoid values of y close to unity (similar currents) in order to avoid a large increase in the necessary resolution, although widely varying currents will decrease the degree to which the diode drop will cancel out due to non-ideal behaviour of the diode. Hence, in some embodiments, it may be preferable for y to be “near the middle” of the range 0 to 1. For example, if 0.25<y<0.75, then this may provide a better balance between the resolution required and the extent to which the diode voltage drop is eliminated.
One way to improve this situation and to reduce the resulting specification of any analogue to digital converter is to use a custom form of amplitude modulation as shown in
With this arrangement, if the currents I1, I2, I3 are switched at a frequency greater than the desired measurement bandwidth (sampling rate of the ADC), then a differential demodulator may be used to both perform the differencing necessary to remove the diode drop, and to mix the measurement information down to DC, so that the resistance RT can be measured within a single sampling period of the ADC, with only a single A/D conversion, to reduce the amount of quantisation noise.
In order to provide the desired relation of RT as discussed above, the switching waveforms for the current sources 12, 14, 16 and switch 22 are arranged as shown in
Hence, the current I2 is imposed for twice as long as either I1 or I3, and the switch 22 has the opposite polarity when current I2 compared to when current I1 or I3 is supplied. The filter may be designed to provide sufficient rejection of the switching frequencies of I1/3 and I2. The output of the filter is therefore the desired resistor drop eliminating (or partially eliminating) the effect of the diode. Although the output of the low pass filter is smaller than the signal from the simple single-ended case, the dynamic range has been reduced. Gain can therefore be applied, and an analogue to digital converter can be used with a resolution no greater than would be require for a simple measurement without the diode.
One possible circuit implementation of this scheme is shown in
Hence, each current source 12, 14, 16 comprises a closed-loop feedback circuit 32 and a switching circuit 34. Each closed-loop feedback circuit 32 comprises a differential amplifier 33 and transistor 35 to maintain the voltage across a reference resistor 36 at a common reference voltage VR which is the same for all three of the current sources 12, 14, 16. The reference resistor 36 in each current source 12, 14, 16 has a different resistance R1, R2, R3 so that the ratios between the reference resistances define the ratios between the currents as discussed above. Each switching circuit 34 includes a pair of differential transistors 37, which may be FETs or bipolar transistors (
In one example, the common ratio y between the currents is 0.5, and so I1=4I3 and I2=2I3. As shown in
As shown in
The technique discussed below provides a circuit topology that enables a large matrix of resistive heaters to be current driven, resulting in accurate control of the power delivered to each heater element. This is achieved by combining a pair of active current sources with a fast switching array to create a compound current source. This circuit is capable of delivering current to one element of the resistive matrix whilst preparing itself to deliver current to the next element, resulting in very fast switching times whilst maintaining accurate current control. This scheme can be combined with pulse-width-modulation approaches in order to provide very precise control of the delivered power.
In one particular embodiment, the compound current source can be implemented using closed-loop current sources constructed by FETs and op-amps, combined with fast differential-pair switches. Dummy loads can be used to enable each current source to fully settle before it is switched into a matrix element.
In order to create a large matrix of heaters it is often most practical to share electrical connections between multiple devices. The most common scheme is matrix addressing, where a single device is selected by connecting an external circuit to its unique combination of row and column. Although this drastically reduces the number of necessary connections, series diodes are required to prevent current flowing through parasitic paths as mentioned above. If the heaters are driven by simple voltage control (or pulse-width-modulation of a fixed voltage) then the diode voltage drop introduces a temperature-dependent error into any desired power setting. This can become highly significant for miniaturised heaters, where the diode voltage drop can be comparable to the desired average voltage drop across the heater element. Replacing each column switch to ground with a current source 68 improves the accuracy, because the power in the resistive elements is then independent of the diode characteristics. However, these current sources have to be capable of quickly changing the current drive in order for an individual column source to deliver different power levels to each element in that column, as shown in
Instead of using a single current source for each column, a pair of current sources 70, 72 per column can be combined with a fast switching array as shown in
Although the invention could be implemented using a variety of current sources, a benefit is that closed-loop techniques, which settle slowly but offer high accuracy, can be used. Hence, a dummy path is provided for current to flow during the settling period. This can be achieved using a differential pair, which results in a fast switching speed. Although FETs can be used to create these switches, avoiding the base current errors of bipolars, it is advantageous to use transistors that create an effective cascode (i.e. bipolars or FETs with a high transconductance). That is because the differential pair holds the voltage at the output of the closed-loop current source constant, increasing the effective output impedance of the compound current source.
Alternatively, other embodiments may still use two switching waveforms per column, one for each current source 70, 72. One advantage of this is that pulse width modulation can be used as shown in
Although illustrative embodiments of the invention have been described in detail herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various changes and modifications can be effected therein by one skilled in the art without departing from the scope and spirit of the invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
1618398.0 | Nov 2016 | GB | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/GB2017/052972 | 10/4/2017 | WO | 00 |