The present invention relates in general to the field of digitization methods and circuits, and more in particular to methods and circuits for digitizing a differential output of a sensor circuit or a bridge circuit that has two excitation nodes (also referred to as “input nodes”) and two readout nodes (also referred to as “output nodes”). The present invention also relates to integrated circuits comprising such a sensor or bridge and digitization circuit.
Many different types of ADC are available, having different characteristics in terms of conversion speed, power consumption, accuracy, footprint (e.g. Si area), etc.
There is always room for improvements or alternatives.
It is an object of embodiments of the present invention to provide methods and circuits for providing a digital value indicative of a physical quantity to be measured by a sensor circuit or a bridge circuit that has two excitation nodes (or “input nodes”) and at least one readout node (or “output node”), e.g. two output nodes, or three output nodes.
It is also an object of embodiments of the present invention to provide an integrated circuit comprising such a sensor circuit or bridge circuit and such an evaluation or processing circuit.
It is an object of particular embodiments of the present invention to provide such an integrated sensor device with error detection capabilities.
These and other objectives are accomplished by embodiments of the present invention.
According to a first aspect, the present invention provides a method of providing a digital value (e.g. Dout) indicative of a physical quantity to be measured by a sensor or a bridge circuit that has two excitation nodes (e.g. E1, E2) and at least one output node (e.g. RO1, RO2), e.g. two readout nodes, the method comprising the steps of: a) applying a time-varying biasing signal (e.g. Vbias) e.g. a biasing voltage or a biasing current to the excitation nodes (e.g. E1, E2), causing the at least one output node (e.g. RO1, RO2) to provide at least one time-varying output signal (e.g. Vp, Vn), e.g. an output voltage or an output current; c) determining at least one time value (e.g. T1) or at least one count value (e.g. N1) or at least one index value (e.g. index1) related to a first event (e.g. event1) at which the at least one readout signal (e.g. Vp) passes at least one threshold signal (e.g. Vt); d) determining a digital value (e.g. Dout) indicative of the physical quantity to be measured based on said at least one time value (e.g. T1) or said at least one count value (e.g. N1) or said at least one index value (e.g. index 1).
Methods according to the first aspect may also be formulated as follows: a method of providing a digital value (e.g. Dout) indicative of a physical quantity to be measured by a sensor circuit or a bridge circuit that has two excitation nodes (e.g. E1, E2) and at least one output node (e.g. RO1, RO2), e.g. two readout nodes, the method comprising the steps of: a) applying a time-varying biasing signal (e.g. Vbias) e.g. a biasing voltage or a biasing current, e.g. having a predefined or a configurable waveform, to the excitation nodes (e.g. E1, E2), causing the at least one output node (e.g. RO1, RO2) to provide at least one time-varying output signal (e.g. Vp, Vn), e.g. an output voltage or an output current; b) using (e.g. considering and/or generating) at least one threshold signal (Vt) having a predefined value or a configurable value or a predefined or a configurable waveform; c) determining at least one time value (e.g. T1) or at least one count value (e.g. N1) or at least one index value (e.g. index1) related to a first event (e.g. event1) at which the at least one readout signal (e.g. Vp) passes the at least one threshold signal (e.g. Vt); d) determining a digital value (e.g. Dout) indicative of the physical quantity to be measured based on said at least one time value (e.g. T1) or said at least one count value (e.g. N1) or said at least one index value (e.g. index1).
Step d) may take into account, explicitly or implicitly, the waveform of the biasing signal and/or the value of or the waveform of the threshold signal, e.g. by means of a first and/or second reference number and/or by means of one or more parameters.
Step d) may comprise: using a predefined lookup table, or using one or more predefined mathematical formula. If, for example, only one predefined (i.e. known) biasing waveform can be applied in step a), and if only one threshold value or threshold signal can be applied in step b), (e.g. repeatedly the same threshold value), then there is a 1-to-1 relation between the digital value and T1, or between the digital value and N1, or between the digital value and Index1, and specifics of the waveform of the biasing signal and/or the threshold signal are not required in step d). Indeed, they may be taken into account in the values of the look-up table, or in parameter-values or coefficients of the predefined mathematical function(s).
However, if one out of at least two different biasing waveforms can be applied in step a), and/or if one out of at least two threshold values or threshold signals can be applied in step b), then step d) may need to know which of these biasing waveforms and/or which of these threshold values or signals was actually used, but again, the characteristics of the waveform itself, or the threshold value itself is not required, and one or more reference(s), e.g. one ore more digital number indicating which of the predefined biasing waveforms and/or threshold values or threshold waveforms was used, is sufficient.
The predefined lookup-table may be a predefined table determined during design or during simulation, or can be measured during calibration, and stored in a non-volatile memory, e.g. of the sensor device that contains said sensor circuit, and preferably also the circuit that generates the biasing waveform and the threshold signal, e.g. without any selection parameter (if only one particular biasing waveform and only one particular threshold signal can be generated), or based on one selection parameter for the biasing waveform (e.g. if the biasing waveform can be selected from a plurality of predefined waveforms) and/or based on a selection parameter for the threshold signal (e.g. if the threshold waveform can be selected from a plurality of predefined waveforms) and/or based on one or more threshold values (e.g. a first value for Vt1 and a second value for Vt2).
The expression “using a predefined lookup table” may include performing linear interpolation.
The predefined mathematical formula may be a polynomial expression in one variable, e.g. to convert a single time value (T1) or a single count value (N1) or a single index value (index1) into said physical quantity, and this formula is applicable for a particular waveform of Vbias and a particular threshold value or a particular threshold function.
In an embodiment, the biasing signal is selected from a first group of a limited set of possible candidate biasing signals, and the threshold signal is selected from a second group of a limited set of possible values or threshold signals, and step d) takes into account which candidate of the first group, and which candidate of the second group was used.
In an embodiment, the biasing signal is a single predefined waveform, and the threshold signal is a constant value for a given measurement period, but may change for different measurement periods. In this case, a two-dimensional look-up table may be used in step d), or a mathematical formula in two variables (e.g. a first variable corresponding to the measured time or count or index, and a second variable or parameter corresponding to the threshold value that was applied).
In preferred embodiments, the steps a) to d) are performed at lease twice, e.g. repeatedly, e.g. periodically.
In an embodiment, step b) comprises: using a single threshold signal (e.g. Vt) having a predefined value or a configurable value or a predefined waveform or a configurable waveform; and step c) comprises: determining a single time value (e.g. T1) or a single count value (e.g. N1) or a single index value (e.g. index1) related to a single event (e.g. event1) at which the at least one output signal (e.g. Vp or Vn) passes said single threshold signal (e.g. Vt); and step d) comprises: determining said digital value (e.g. Dout) based on said single time value (e.g. T1) or count value (e.g. N1) or index value (e.g. index1).
As mentioned above, step d) may take into account (e.g. a reference to or parameters of) the waveform of the biasing signal (Vbias) used in step a), and/or may take into account the value or (e.g. a reference to or parameters of) the waveform of the threshold signal used in step b).
In an embodiment, Dout is a function of T1 and the biasing waveform and the threshold.
In an embodiment, Dout is a function of N1 and the biasing waveform and the threshold.
In an embodiment, Dout is a function of index1 and the biasing waveform and the threshold.
In an embodiment, only one predefined biasing waveform is used in step a), and only one predefined threshold value is used in step b), and Dout is determined as a function of T1 or N1 or Index1 in step d).
In an embodiment, Dout is determined as the result of a look-up table using T1 or N1 as an index, optionally with interpolation. The look-up table may take into account specifics of the biasing waveform and of the threshold.
In an embodiment, Dout is determined as the result of a polynomial expression of a single variable T1 or N1 or index1. The coefficients of the polynomial expression can take into account specifics of the biasing waveform and of the threshold.
In an embodiment, the sensor circuit or the bridge circuit has two output nodes (e.g. RO1, RO2); and step a) causes the two output nodes (e.g. RO1, RO2) to provide a first time-varying output signal (e.g. Vp) and a second time-varying output signal (e.g. Vn); and step b) comprises: using (e.g. generating) a first threshold signal (e.g. Vt, Vt1) having a first predefined or a first configurable value or a first predefined waveform, and using (e.g. generating) a second threshold signal (e.g. Vt, Vt2) equal to, or different from the first threshold signal, having a second predefined value or a second configurable value or a second predefined waveform; and the method further comprises step e) of generating a time-varying common-mode signal (e.g. Vcm) e.g. as R*Vbias or as (Vp+Vn)/2, where R is a predefined ratio, and Vbias is the biasing signal (e.g. biasing voltage); and wherein step c) comprises: determining a first time value (e.g. T1) or a first count value (e.g. N1) or a first index value (e.g. index1) related to a first event (e.g. event1) at which the first output signal (e.g. v1, Vp) passes the first threshold signal (e.g. Vt1); and determining a second time value (e.g. T2) or a second count value (e.g. N2) or a second index value (e.g. index2) related to a second event (e.g. event2) at which the common-mode signal (e.g. Vcm) passes the second threshold signal (e.g. Vt, Vt2); and wherein step d) comprises: determining said digital value (e.g. Dout) based on said first and second time value (e.g. T1, T2) or based on said first and second count value (e.g. N1, N2) or based on said first and second index value (e.g. index1, index2), or based on a difference (e.g. ΔT) between the first and second time value, or based on a difference (e.g. ΔN) between said first and second count value, or based on a difference (e.g. Δindex) between said first and said second index value.
In an embodiment, the common-mode signal, e.g. common mode voltage (e.g. Vcm) is generated as an average of the two readout voltages (e.g. Vp, Vn), or by adding the two readout voltages and dividing the sum signal by two.
In an embodiment, the common-mode signal, e.g. common mode voltage (e.g. Vcm) is generated as a predefined ratio of the biasing voltage that is applied in step a), or as a predefined ratio of a supply signal, (e.g. a supply voltage or a supply current).
As mentioned above, step d) may take into account the waveform of the biasing signal (Vbias) used in step a), and/or may take into account the value(s) or the waveform(s) of the threshold signal(s) used in step b).
In an embodiment, step b) comprises: using (e.g. generating) a first threshold signal (e.g. Vt, Vt1) having a first predefined or a first configurable value or a first predefined waveform, and using (e.g. generating) a second threshold signal (e.g. Vt, Vt2) equal to, or different from the first threshold signal, having a second predefined value or a second configurable value or a second predefined waveform; and step c) comprises: determining a first time value (e.g. T1) or a first count value (e.g. N1) or a first index value (e.g. index1) related to a first event (e.g. event1) at which the first output signal (e.g. v1, Vp) passes the first threshold signal (e.g. Vt, Vt1); and using a predefined second time value (e.g. T2ref) or a predefined second count value (e.g. N2ref) or a second index value (e.g. index2ref) related to a second event (e.g. event2) at which a common-mode signal (e.g. Vcm) e.g. as R*Vbias or as (Vp+Vn)/2, where R is a predefined ratio, and Vbias is the biasing signal (e.g. biasing voltage) would pass the second threshold signal (e.g. Vt, Vt2); and wherein step d) comprises: determining said digital value (e.g. Dout) based on said first and second time value (e.g. T1, T2ref) or based on said first and second count value (e.g. N1, N2ref) or based on said first and second index value (e.g. index1, index2ref), or based on a difference (e.g. ΔT) between the first and second time value, or based on a difference (e.g. ΔN) between said first and second count value, or based on a difference (e.g. Δindex) between said first and said second index value.
As mentioned above, step d) may take into account the waveform of the biasing signal (Vbias) used in step a), and/or may take into account the value(s) or the waveform(s) of the threshold signal(s) used in step b).
In an embodiment, the at least one threshold signal or threshold value (e.g. Vt; Vtp, Vtn) has a predefined voltage level or a predefined value.
In an embodiment, the at least one threshold signal (e.g. Vt; Vtp, Vtn) has a configurable voltage level or a configurable value.
In an embodiment, the at least one threshold signal or value (e.g. Vt) is dynamically adjustable between two measurements but is kept stable during a single measurement (or digitization step), i.e. during a time period T-ramp of
In an embodiment, the at least one threshold signal is generated by means of a digital-to-analog convertor (DAC).
In an embodiment, the at least one threshold signal is generated as a PWM-signal (e.g. using a PWM-module) followed by a low-pass filter (LPF).
In an embodiment, the at least one threshold signal (e.g. Vt; Vtp, Vtn) is equal to a predefined ratio of a maximum biasing signal or as a predefined ratio of the supply signal (e.g. supply voltage). The predefined ratio may be defined using a voltage divider comprising at least two resistors connected in series, or in any other suitable way. In an embodiment, the value of threshold signal is a predefined portion or fraction of Vbias or of the supply voltage VSS, e.g. 50%. The value of this portion can be defined by the resistor values of the at least two resistors connected in series.
In an embodiment, the sensor circuit or the bridge circuit has two output nodes (e.g. RO1, RO2); and step b) comprises: using (e.g. generating) a first threshold signal (e.g. Vt, Vt1) having a first predefined or a first configurable value or a first predefined waveform, and using (e.g. generating) a second threshold signal (e.g. Vt, Vt2) equal to, or different from the first threshold signal, having a second predefined value or a second configurable value or a second predefined waveform; and step a) causes the two output nodes (e.g. RO1, RO2) to provide a first time-varying output signal (e.g. Vp) and a second time-varying output signal (e.g. Vn); and step c) comprises: determining a first time value (e.g. T1) or a first count value (e.g. N1) or a first index value (e.g. index1) related to a first event (e.g. event1) at which the first output-signal (e.g. Vp) passes the first threshold signal (e.g. Vt, Vt1); and determining a second time value (e.g. T2) or a second count value (e.g. N2) or a second index value (e.g. index2) related to a second event (e.g. event2) at which the second output-signal (e.g. Vn) passes the second threshold signal (e.g. Vt, Vt2); and step d) comprises: determining said digital value (e.g. Dout) based on said first and second time value (e.g. T1, T2) or based on said first and second count value (e.g. N1, N2) or based on said first and second index value (e.g. index1, index2), or based on a difference (e.g. ΔT) between the first and second time value, or based on a difference (e.g. ΔN) between said first and second count value, or based on a difference (e.g. Δindex) between said first and said second index value.
As mentioned above, step d) may take into account the waveform of the biasing signal (Vbias) used in step a), and/or may take into account the value(s) or the waveform(s) of the threshold signal(s) used in step b).
In an embodiment, the method further comprises: determining a first threshold value (e.g. Val1) and a second threshold value (e.g. Val2), and applying these values to at least one digital-to-analog convertor to generate the first and second threshold signal (e.g. Vt1, Vt2), and dynamically adjusting these values (e.g. Val1, Val2) in a control loop such that the first event substantially coincides with the second event, or such that a difference between the first and the second time value (e.g. T1, T2) or a difference between the first and the second count value (e.g. N1, N2) is substantially equal to a predefined value; and step d) comprises: considering the first and the second threshold value (e.g. Val1, Val2) as a first and second index value, and determining said digital value (e.g. Dout) based on said first and second (e.g. index1, index2) or based on a difference (e.g. Δindex) between the first and second index.
In this embodiment, step d) may take into account, explicitly or implicitly, the waveform of the biasing signal (Vbias) used in step a) if different biasing waveforms are used, but does not need to do so if only a single biasing waveform is used, e.g. in every period.
Step d) may take into account the predefined difference value (or offset) between T1 and T2, or the predefined difference value between N1 and N2 of the control loop, if this difference value is configurable, but in preferred embodiments, this difference (of offset) is not configurable.
In embodiments where the biasing waveform is a single waveform, and the predefined difference value of the control loop is fixed (e.g. hardcoded), the digital value “Dout” can be determined solely based on the value Δindex, e.g. using a look-up table that contains values determined during a calibration procedure, or derived therefrom, or using one or more mathematical formulas with predefined parameters and/or coefficients, which may be determined during a calibration procedure, codifying substantially the same information as the look-up table.
In an embodiment, the digital value “Dout” is determined solely based on the value of index1 (i.e. the value Val1), or solely based on the value of index2 (i.e. the value Val2).
In an embodiment, the control loop is configured to dynamically adjusts the value Val1 such that the first event (at which Vp crosses Vt1) always occurs substantially at a first predefined moment in time (e.g. T1target), and such that the second event (at which Vn crosses Vn1) always occurs substantially at a second predefined moment in time (e.g. T2target), where T1target and T2target have a predefined relation with respect to the period Tperiod, e.g. T1target=50% of Tperiod, and T2target=60% of Tperiod, but of course, other percentages can also be used.
The method may also comprise a step of: i) providing a sensor or bridge circuit having two excitation nodes (e.g. E1, E2) and at least one output node (e.g. RO1, RO2), e.g. a Hall element, a horizontal Hall element, a vertical Hall element, or a Wheatstone bridge, or a resistor bridge comprising at least one or at least two legs, each leg comprising at least two resistors, e.g. piezo-electric resistors, or magneto-resistive resistors, e.g. XMR, GMR, TMR, AMR.
The method may further comprise: providing one or more of the following: a timer, a counter operating at a predefined clock frequency (e.g. fCLK), a biasing circuit (e.g. a variable voltage source or a variable current source), one or more comparators, an analog-to-digital convertor (ADC), a digital-to-analog convertor (DAC), a PWM circuit followed by a low-pass filter, a look-up-table with an index.
The method may also comprise the steps of: providing at least one comparator, e.g. one comparator or two comparators; and providing at least one threshold voltage (e.g. Vt) to a first input of the at least one comparator; and providing at least one out voltage (e.g. Vp, Vn) to a second input of the at least one comparator. In this case, the first event can be detecting e.g. by monitoring when an output level of the comparator changes state.
The method may also comprise the steps of: providing at least one analog-to-digital convertor (ADC); and step a) may further comprise: repeatedly digitizing said at least one output voltage or a differential voltage formed by both output voltages using said ADC; and step b) may further comprise: repeatedly comparing said plurality of digital values with at least one threshold value (e.g. by comparison means, e.g. by a programmable controller).
In an embodiment, at least step b) and c) are performed by a programmable controller, e.g. by a programmable digital processor. This controller may or may not be integrated in the same semiconductor substrate as the sensor circuit or bridge circuit.
In a preferred embodiment, step c) comprises: detecting when the readout-voltage or the common-mode voltage passes the relevant threshold voltage by generating an interrupt signal when an output level of the at least one comparator changes. Using an interrupt avoids the use of polling routines and is more power efficient.
In an embodiment, the biasing signal of step a) has a waveform with a linearly increasing or a linearly decreasing portion; (also referred to as “ramp”. The ramp may have a configurable slope and/or a configurable offset).
In an embodiment, the biasing signal of step a) has a waveform with an exponential portion; (e.g. as can be generated by an RC circuit)
In an embodiment, the biasing signal of step a) has a sinusoidal waveform.
In an embodiment, the method further comprises a step of: measuring a temperature, and further comprising the step of: adjusting the at least one threshold voltage based on the measured temperature, or adjusting at least one of: the first time value (e.g. T1), the second time value (e.g. T2), the first count value (e.g. N1), the second count value (e.g. N2), the first index value (e.g. index1), the second index value (e.g. index2), the time difference (e.g. ΔT), the count difference (e.g. ΔN), the index difference (e.g. Δindex), the digital value (e.g. Dout) based on the measured temperature.
In an embodiment, the sensor is or comprises at least one Hall element; (e.g. a horizontal Hall element, or a vertical Hall element).
In an embodiment, the bridge circuit is or comprises at least one Wheatstone bridge. The Wheatstone bridge may comprise four resistors, including one or more MR elements (e.g. AMR, TMR, GMR, XMR). The Wheatstone bridge may comprise four resistors, including one or more piezo-resistive elements.
In an embodiment, the bridge circuit comprises multiple legs, and wherein each leg comprises at least two resistors.
In an embodiment, the bridge circuit comprises multiple legs, and wherein each leg comprises at least two resistors.
According to a second aspect, the present invention also provides a circuit (e.g. a “sense and digitization circuit) for providing a digital value (e.g. Dout) indicative of a physical quantity to be measured by a sensor or a bridge circuit that has two excitation nodes (e.g. E1, E2) and at least one readout node (e.g. RO1, RO2), the circuit comprising: a biasing circuit; (preferably this biasing signal is applied to all the sensors simultaneously); a threshold generator for generating at least one threshold signal or value; at least one of the following: a timer, a counter, a lookup-table with a DAC; comparison means (for comparing the at least one readout voltage (e.g. Vp) or a signal or value derived therefrom and the at least one threshold signal or value; a controller configured for performing a method according to any of the first aspect.
In embodiments where the sensor or bridge circuit has two readout-nodes, this “circuit” may also be referred to as “a circuit for digitizing the differential output signal of said sensor or bridge circuit”.
It is noted that the threshold signal may be an analog signal (e.g. a threshold voltage), or
According to a third aspect, the present invention also provides an integrated sensor device comprising: at least one sensor or bridge circuit that has two excitation nodes (e.g. E1, E2) and at least one readout node (e.g. RO1, RO2); at least one circuit according to the second aspect, operatively connected to the excitation nodes and the at least one readout node of said at least one sensor or bridge circuit.
In an embodiment, the integrated sensor device is a pressure sensor device, and comprises at least one Wheatstone bridge comprising a plurality of piezo-resistive elements.
In an embodiment, the integrated sensor device is a magnetic sensor device, and comprises at least one Wheatstone bridge comprising a plurality of magneto-resistive elements (e.g. AMR, GMR, XMR, TMR).
In an embodiment, the integrated sensor device is a magnetic sensor device, and comprises at least one Horizontal Hall element, and/or at least one vertical Hall element.
In an embodiment, the integrated sensor device comprises a plurality of at least two sensor or bridge circuits.
In an embodiment, the integrated sensor device is a linear or an angular position sensor device, a proximity sensor, a current sensor, or a torque sensor. In this case, the circuit may be further configured for outputting the digital value, or a value derived therefrom, e.g. a linear or an angular position, a current value, a torque value.
In an embodiment, the integrated sensor device further comprises one or two comparators or three for each sensor or bridge circuit (e.g. one for v1 or vp, one for v2 or vn, one for Vcm); wherein an output of each comparator is connected to a respective input of the controller.
Preferably the inputs of the controller are configured to generate an interrupt for the controller, and preferably the controller has an interrupt routine for storing a time value or a counter value when the interrupt occurs.
In an embodiment, only one of the readout nodes is used, e.g. because the second time value or count value or index value is based on a reference time or a reference count, or because the common-mode signal is derived from the biasing signal. In this case, a single comparator per sensor or per bridge circuit may be used.
In an embodiment, both readout nodes is used, e.g. because the second time value or count value or index value is based on a second event wherein the second readout signal or value passes a threshold. In this case, two comparators per sensor or per bridge circuit may be used.
In an embodiment, the circuit (e.g. “sense and digitization circuit”) is configured for providing a first digital value (e.g. Dout1); and the integrated sensor device further comprises an analog-to-digital convertor (e.g. ADC) configured for digitizing one or both of the readout voltages (e.g. Vp, Vn) or for digitizing a differential voltage (e.g. Vdiff) formed by both readout nodes (e.g. RO1, RO2), and for providing a second digital value (e.g. Dout2); and the sensor device is further configured for providing the first and the second digital value (e.g. Dout1, Dout2) for allowing an external controller to perform a consistency test, or being further configured for performing a consistency test of the first and second digital value (e.g. Dout1, Dout2), and to provide at least one of the first and second digital value or a digital value derived therefrom and an error signal.
In other words, this integrated sensor device is configured for performing at least the steps (i) and (ii) of the method illustrated in
According to a fourth aspect, the present invention also provides a method of providing a digital value (e.g. Dout) indicative of a physical quantity to be measured by a sensor or a bridge circuit that has two excitation nodes (e.g. E1, E2) and at least one output node (e.g. RO1, RO2), e.g. two readout nodes, the method comprising the steps of: a) applying a biasing signal (e.g. Vbias) e.g. a biasing voltage or a biasing current to the excitation nodes (e.g. E1, E2), causing the at least one output node (e.g. RO1, RO2) to provide at least one output signal (e.g. Vp, Vn), e.g. an output voltage or an output current; and applying a threshold signal (e.g. Vt), at least one of the biasing signal and the threshold signal being a time-varying signal; b) determining at least one time value (e.g. T1) or at least one count value (e.g. N1) or at least one index value (e.g. index1) related to a first event (e.g. event1) at which the at least one readout signal (e.g. Vp) passes at least one threshold signal (e.g. Vt); c) determining a digital value (e.g. Dout) indicative of the physical quantity to be measured based on said at least one time value (e.g. T1) or said at least one count value (e.g. N1) or said at least one index value (e.g. index1).
In an embodiment, the method comprises: applying a time-varying biasing signal and a time-varying threshold signal.
In an embodiment, the method comprises: applying a constant biasing signal and a time-varying threshold signal.
According to a fifth aspect, the present invention also provides a method of providing a digital value (e.g. Dout) indicative of a physical quantity to be measured by a sensor or a bridge circuit that has two excitation nodes (e.g. E1, E2) and at least one output node (e.g. RO1, RO2), e.g. two readout nodes, the method comprising the steps of: a) applying a time-varying biasing signal (e.g. Vbias) e.g. a biasing voltage or a biasing current to the excitation nodes (e.g. E1, E2), causing the at least one output node (e.g. RO1, RO2) to provide at least one time-varying output signal (e.g. Vp, Vn), e.g. an output voltage or an output current; b) determining at least one time value (e.g. T1) or at least one count value (e.g. N1) or at least one index value (e.g. index1) related to a first event (e.g. event1) at which the at least one readout signal (e.g. Vp) passes at least one threshold signal (e.g. Vt); c) determining a digital value (e.g. Dout) indicative of the physical quantity to be measured based on said at least one time value (e.g. T1) or said at least one count value (e.g. N1) or said at least one index value (e.g. index1).
In an embodiment, step b) comprises: determining a first time value (e.g. T1) or a first count value (e.g. N1) or a first index value (e.g. index1) related to a first event (event1) at which the first output-signal (e.g. Vp) passes a first threshold signal (e.g. Vt, Vt1); and determining a second time value (e.g. T2) or a second count value (e.g. N2) or a second index value (e.g. index2) related to a second event (e.g. event2) at which the second output-signal (e.g. Vn) passes a second threshold signal (e.g. Vt, Vt2), equal to, or different from the first threshold signal; and step c) comprises: determining a digital value (e.g. Dout) indicative of a physical quantity to be measured by the sensor or bridge circuit based on said first and second time value (e.g. T1, T2) or based on said first and second count value (e.g. N1, N2) or based on said first and second index value (e.g. index1, index2), e.g. based on a difference (ΔT) between the first and second time value, or based on a difference (ΔN) between the first and second count value, or based on a difference (Δindex) between the first and second index value, optionally taking into account the waveform of the biasing signal and/or the value or waveform of the at least one threshold signal.
Particular and preferred aspects of the invention are set out in the accompanying independent and dependent claims. Features from the dependent claims may be combined with features of the independent claims and with features of other dependent claims as appropriate and not merely as explicitly set out in the claims. These and other aspects of the invention will be apparent from and elucidated with reference to the embodiment(s) described hereinafter.
The drawings are only schematic and are non-limiting. In the drawings, the size of some of the elements may be exaggerated and not drawn on scale for illustrative purposes. Any reference signs in the claims shall not be construed as limiting the scope. In the different drawings, same or similar reference signs may refer to same or analogous elements.
The present invention will be described with respect to particular embodiments and with reference to certain drawings but the invention is not limited thereto but only by the claims. The drawings described are only schematic and are non-limiting. In the drawings, the size of some of the elements may be exaggerated and not drawn on scale for illustrative purposes. The dimensions and the relative dimensions do not correspond to actual reductions to practice of the invention.
Furthermore, the terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a sequence, either temporally, spatially, in ranking or in any other manner. It is to be understood that the terms so used are interchangeable under appropriate circumstances and that the embodiments of the invention described herein are capable of operation in other sequences than described or illustrated herein.
Moreover, the terms top, under and the like in the description and the claims are used for descriptive purposes and not necessarily for describing relative positions. It is to be understood that the terms so used are interchangeable under appropriate circumstances and that the embodiments of the invention described herein are capable of operation in other orientations than described or illustrated herein.
It is to be noticed that the term “comprising”, used in the claims, should not be interpreted as being restricted to the means listed thereafter; it does not exclude other elements or steps. It is thus to be interpreted as specifying the presence of the stated features, integers, steps or components as referred to, but does not preclude the presence or addition of one or more other features, integers, steps or components, or groups thereof. Thus, the scope of the expression “a device comprising means A and B” should not be limited to devices consisting only of components A and B. It means that with respect to the present invention, the only relevant components of the device are A and B.
Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment, but may. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner, as would be apparent to one of ordinary skill in the art from this disclosure, in one or more embodiments.
Similarly, it should be appreciated that in the description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Furthermore, while some embodiments described herein include some but not other features included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention, and form different embodiments, as would be understood by those in the art. For example, in the following claims, any of the claimed embodiments can be used in any combination.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In other instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
In this document, the expression “count value” or “counter value” mean the same. The counter may be configured to increment by 1, or to decrement by 1, but the present invention is not limited thereto.
The present invention relates in general to methods and circuits for providing a digital value (e.g. Dout) indicative of a physical quantity (e.g. a magnetic field value, or a pressure value) to be measured by a sensor circuit, and more specifically, to methods and circuits for digitizing an output signal (e.g. a differential output signal vdiff) of a sensor circuit or a bridge circuit of the type that has two excitation nodes (also referred to as “input nodes”) and at least one (e.g. two) readout node (also referred to as “output nodes”).
In a variant, the digitization circuit 420 does not provide a differential biasing voltage formed by Vbias+ and Vbias−, but provides a “single-ended” biasing voltage Vbias to the first input node E1, while the second input node E2 is connected to a reference voltage (typically referred to as Vss or Gnd).
In another or a further variant, the digitization circuit 420 provides a biasing current rather than a biasing voltage. This biasing current may be provided by a “current source”.
The graph of
In an embodiment, the signal Vem is derived directly from Vbias, e.g. by means of a voltage divider comprising two resistors connected in series. The value of Vem may be a predefined portion or fraction of Vbias, e.g. 50%. The value of this portion can be defined by the resistor values.
In certain embodiments of the present invention, the value of the threshold voltage Vt is in principle constant, but is temperature compensated.
As can be seen in the example of
Whereas in the prior art, a stationary biasing voltage equal to Vmax would be applied to the first input node E1 of the sensor or the bridge, and the signals Vn and Vp would be routed to an amplifier and the differential output voltage would be digitized (e.g. as illustrated in
Dout=f1(T1, T2, waveform of biasing signal, Vt) [1],
or as:
Dout=f2(T2−T1, waveform of biasing signal, Vt) [2],
or as:
Dout=f3(N1, N2, waveform of biasing signal, Vt) [3],
or as:
Dout=f4(N2−N1, waveform of biasing signal, Vt) [4],
where T1 is the time of event1, and T2 is the time of event2,
where (T2−T1)=ΔT is the time difference between the first and the second event, or as:
where N1 is a first count value related to event1, and N2 is a second count value related to event2,
where (N2−N1)=ΔN is the count difference between the first and the second event,
wherein the Vbias waveform may be represented by a set of parameters such as e.g. Vmin, Tstart, Vmax, Tend, or by a set of parameters Vmin, Vmax, slope;
Dout=f5(index1, index2, Vt) [5],
or as:
Dout=f6(index2−index1, Vt) [6]
In certain embodiments, the waveform of the biasing signal Vbias is fixed, (e.g. hardcoded in software, or generated in a predetermined manner by a hardware-circuit), and also the value of the threshold-voltage Vt is fixed (e.g. a predefined voltage level). In such a case, there is a one-to-one relation between the magnitude of the physical quantity to be measured (e.g. magnetic field value or pressure value) and the timing of the first event at which Vp crosses Vt, and the timing of the second event at which Vn crosses Vt. This relation can for example be determined during a calibration test, and the results may be stored in a look-up table. One could say that the values of the look-up table implicitly take into account specifics of the biasing signal and the threshold signal. It is noted that the waveform of Vbias and/or of the threshold signal Vt need not be known. With this a lookup table, the digital output value can then be determined as:
Dout=LookupTable7[T2−T1] [7],
or as
Dout=LookupTable8[N2−N1] [8],
or as
Dout=LookupTable9[index2−index1] [9]
The values of the look-up table may be stored in a non-volatile memory of the sensor device (see e.g.
It is noted that (T2−T1) can also be written as ΔT, thus the lookup-table can be a one-dimensional table. Likewise (N2−N1)=ΔN, (Index2−Index1)=ΔIndex.
It is also possible to express Dout as a polynomial expression of the single value (T2−T1)=ΔT, or of the single value (N2−N1)=ΔN, or of the single value (index2−index1)=ΔIndex, using a number of coefficients which may be determined during a calibration procedure, and may be stored in a non-volatile memory of the sensor device. One could say that the values of the coefficients implicitly take into account specifics of the biasing signal and the threshold signal. It is noted that the waveform of Vbias and/or of the threshold signal Vt need not be known. With polynomial the digital output value can then be determined as:
Dout=Polynomial10(T2−T1) [10],
or as
Dout=Polynomial11(N2−N1) [11],
or as
Dout=Polynomial12(index2−index1) [12]
It is noted that (T2−T1)=ΔT is a single value, thus Polynomial10 is a function of a single variable ΔT. Likewise for Polynomial11 and Polynomial12.
The coefficients of these polynomials may be determined during a calibration test, using the same biasing signal Vbias and the same threshold signal Vt as will be used during actual use.
It is of course also possible to express Dout as a polynomial expression of two variables (T1, T2) or (N1, N2) or (Index1, Index2) using a number of coefficients, where the values of the coefficients take into account specifics of the biasing signal and the threshold signal. This can be written as:
Dout=Polynomial13(T1, T2) [13],
or as
Dout=Polynomial14(N1, N2) [14],
or as
Dout=Polynomial15(index1, index2) [15]
So far it is described how
Indeed, if the waveform of Vbias as a function of time is known, (e.g. a predefined ramp waveform), then also the waveform of the common mode voltage Vcm corresponding to the average of Vp and Vn is known (explicitly or implicitly), which is also substantially equal to 50% of Vbias. And if the value of the threshold signal Vt (e.g. a predefined constant voltage level, or a predefined portion of Vmax) or if the waveform of Vt as a function of time is known, then also the time Tcm at which the waveform Vem passes Vt is known (explicitly or explicitly). Instead of measuring T1 of event1 (when Vp passes Vt) and measuring T2 of event2 (when Vn passes Vt), it is also possible to measure only T1, because the time T2 at which Vn will pass Vt is related to the time between T1 and Tcm. In other words, (Tcm−T1) and (T2−Tcm) are related to each other.
Thus, if the relation between Vem and Vbias is known, and if the relation between Vt and Vmax (i.e. the maximum value of Vbias) is known, then the value of Vdiff and thus of the physical quantity can be determined as a function of a single time T1. This can be written mathematically as:
Dout=f16(T1, waveform of biasing signal, Vt) [16]
Dout=f17(N1, waveform of biasing signal, Vt) [17]
wherein the Vbias waveform may be represented by a set of parameters such as e.g. Vmin, Tstart, Vmax, Tend, or by a set of parameters Vmin, Vmax, slope;
or if the biasing signal is generated using a DAC and an indexed table (e.g. stored in a non-volatile memory):
Dout=f18(index1, Vt) [18]
As already mentioned above, in practice the biasing signal Vbias may have a predefined waveform (e.g. a linearly increasing ramp), and the threshold signal may also have a predefined waveform (e.g. a linearly decreasing function, or a predefined constant value), and this biasing signal and threshold signal is repeatedly used for each measurement period. In such a case, there is a one-to-one correspondence between the physical quantity to be measured and the (single) time value T1, or single count value N1, or single index value Index1 related to the first event; this relation can be determined during a calibration test, and this relation can be stored in a non-volatile memory, e.g. in the form of a look-up table, or in the form of a polynomial expression, or in any other suitable way.
When using a look-up table that takes into account specifics of the biasing signal and the threshold signal, the digital output value can be determined as:
Dout=LookupTable19[T1] [19],
or as
Dout=LookupTable20[N1] [20],
or as
Dout=LookupTable21[index1] [21]
It is also possible to express Dout as a polynomial expression of the single value (T1) or of the single count value (N1) or of the single index value (index1) using a number of coefficients, where the values of the coefficients take into account specifics of the biasing signal and the threshold signal. This can be written as:
Dout=Polynomial22(T1) [22],
or as
Dout=Polynomial23(N1) [23],
or as
Dout=Polynomial24(index1) [24]
A method of determining a digital value indicative of a magnitude of a physical quantity to be measured (e.g. a magnetic field strength, a pressure) based on these principle is shown in
It is noted that
The skilled person having the benefit of the present disclosure will also understand that the above described measurement principle (of applying a time-varying signal Vbias, and using a constant or a time-varying threshold signal Vt, and measuring a time T1 or a count N1 of a first event at which a node voltage passes the threshold signal Vt, in order to obtain a digital value for an external quantity to be measured) can also be applied for any individual node of the circuit of
In another or a further variant of
In another or a further variant, (e.g. as will be described further in
It is also possible to use one of several possible biasing signals, and one of several possible threshold signals. In this case, in order to determine the digital output value, two additional parameters are needed: a first one to indicate the appropriate biasing signal, and a second one to indicate the appropriate threshold signals.
These and other variants of the method will be described and illustrated further, with reference to
In the example of
In the example of
In certain embodiments, the first event may be detected using a first comparator having as a reference input the threshold voltage Vt, and having as a signal input the signal Vp; and the second event may be detected using a second comparator having as a reference input the threshold voltage Vt, and having as a signal input the signal Vn.
In an embodiment where the sensor circuit has only one output node (e.g. a resistor circuit having two resistors in series), the first event may be detected using a comparator, using the output voltage of the sensor circuit as an input signal for the comparator, and using the threshold voltage Vt as a reference signal for the comparator.
In the example of
The same methods and/or formulas as mentioned above can be used.
Dout=f25(T1, T2ref, waveform of biasing signal, Vt) [25]
Dout=f26(T2ref−T1, waveform of biasing signal, Vt) [26]
Dout=f27(N1, N2ref, waveform of biasing signal, Vt) [27]
Dout=f28(N2ref−N1, waveform of biasing signal, Vt) [28]
wherein the Vbias waveform may be represented by a set of parameters such as e.g. Vmin, Tstart, Vmax, Tend, or by a set of parameters Vmin, Vmax, slope;
or if the biasing signal is generated using a DAC and an indexed table (e.g. stored in a non-volatile memory):
Dout=f29(index1, index2, Vt) [29],
or as:
Dout=f30(index2−index1, Vt) [30]
Or in case the biasing signal and/or the threshold signal have a predefined, e.g. built-in waveform, the specific shapes of these waveforms are not absolutely required for determining the output value, for the same reasons as described above, and the relationship between the physical quantity to be measured (e.g. a magnetic value of a pressure value) and the moment(s) when the output signal(s) of the sensor circuit cross the threshold signal(s) Vt can be determined by means of a calibration test, and be stored in a non-volatile memory, e.g. in the form of a look-up table or a polynomial expression. During actual use of the sensor device, the digital output value can then be determined as:
Dout=LookupTable26[T2ref−T1] [31],
or as
Dout=LookupTable27[N2ref−N1] [32],
or as
Dout=LookupTable28[index2−index1] [33]
It is also possible to express Dout as a polynomial expression of the single value (T2ref−T1) or of the single value (N2ref−N1) using a number of coefficients, where the values of the coefficients take into account specifics of the biasing signal and the threshold signal. This can be written as:
Dout=Polynomial34(T2ref−T1) [34],
or as
Dout=Polynomial35(N2ref−N1) [35]
Dout=Polynomial36(index2−index1) [36]
It is also possible to express Dout as a polynomial expression of two variables (T1, T2) or (N1, N2) or (Index1, Index2) using a number of coefficients, where the values of the coefficients take into account specifics of the biasing signal and the threshold signal. This can be written as:
Dout=Polynomial37(T1, T2) [37],
or as
Dout=Polynomial38(N1, N2) [38],
or as
Dout=Polynomial39(index1, index2) [29]
A method of determining a digital value based on these principles is shown in
The following formulas can be used to determine the value of Dout:
Dout=f40(T1, T2, waveform of biasing signal, Vt) [40],
or as:
Dout=f41(T2−T1, waveform of biasing signal, Vt) [41],
or as:
Dout=f42(N1, N2, waveform of biasing signal, Vt) [42],
or as:
Dout=f43(N2−N1, waveform of biasing signal, Vt) [43],
wherein the Vbias waveform may be represented by a set of parameters such as e.g. Vmin, Tstart, Vmax, Tend, or by a set of parameters Vmin, Vmax, slope;
or if the biasing signal is generated using a DAC and an indexed table (e.g. stored in a non-volatile memory):
Dout=f44(index1, index2, Vt) [44],
or as:
Dout=f45(index2−index1, Vt) [45]
In an embodiment where the biasing signal and the threshold signal have a predefined waveform or value, the specific shape of the biasing signal and the threshold signal does not need to be taken into account in the output function, but the digital output value can be determined as:
Dout=LookupTable46 [T2−T1] [46],
or as
Dout=LookupTable47[N2−N1] [47],
or as
Dout=LookupTable48 [index2−index1] [48]
It is also possible to express Dout as a polynomial expression of the single value (T2−T1) or of the single value (N2−N1) or of the single value (index2−index1) using a number of coefficients, where the values of the coefficients take into account specifics of the biasing signal and the threshold signal. This can be written as:
Dout=Polynomial49(T2−T1) [49],
or as
Dout=Polynomial50 (N2−N1) [50]
Dout=Polynomial51(index2−index1) [51]
It is also possible to express Dout as a polynomial expression of two variables (T1, T2) or (N1, N2) or (Index1, Index2) using a number of coefficients, where the values of the coefficients take into account specifics of the biasing signal and the threshold signal. This can be written as:
Dout=Polynomial52(T1, T2) [52],
or as
Dout=Polynomial53(N1, N2) [53],
or as
Dout=Polynomial54(index 1, index2) [54]
A method of determining a digital value indicative of the physical quantity to be measured, and/or indicative of the differential output signal Vdiff that would occur over the output nodes v1, v2 of the sensor or bridge circuit when the biasing voltage Vbias would reach a predefined value Vmax using these principles, is shown in
In an embodiment, the signal Vcm is derived from Vp and Vn, e.g. by averaging these signals. The measured time of T2 or count N2 can be compared with a predetermined time or count value, and if the measured time deviates too much, an error can be signalled.
A method of determining a digital value indicative of the physical quantity to be measured, and/or indicative of the differential output signal Vdiff that would occur over the output nodes v1, v2 of the sensor or bridge circuit when the biasing voltage Vbias would be a predefined value Vmax using this principle, is described in
The two reference voltages may have predefined (e.g. constant) voltage levels, or may be dynamically determined and set (e.g. at the start of each new time period). In the former case only a single look-up table or polynomial expression is required to determine the digital output value. In the latter case, a plurality of look-up tables or a multi-dimensional look-up table, or a plurality of polynomial expressions, or a polynomial with additional parameters may be required, to take into account which threshold signals were applied during the measurement.
In a variant of
In another variant of
In an embodiment, the threshold value Val1 (or Val1[k]) is dynamically updated such that the measured value of T1 or N1, at which Vp(t) crosses Vtp[k], is approximately equal to a first predefined target value T1target or N1target; and the threshold value Val2 (or Val2[k]) is dynamically updated such that the measured value of T2 or N2, at which Vn(t) crosses Vtn[k], is approximately equal to a second predefined target value T2target or N2target, equal to, larger than, or smaller than T1target or N1target.
In the example shown in
In an embodiment, the threshold values Val1 and Val2 are dynamically adjusted such that the measured (T2−T1)=ΔT is substantially equal to a predefined target value ΔTtarget.
Interestingly, if such a control loop is used, the digital value Dout for the physical quantity to be measured can be determined as a function of the values Val1 and Val2, or as a function of (Val1−Val2), once the control loop is actively tracking (or “locked”). As mentioned above, the predefined function can be implemented as a look-up table or as a polynomial function, the values or coefficients of which can be determined by performing a calibration test, and may be stored in a non-volatile memory, from which they can be retrieved during actual use of the sensor device.
For sensors circuits having two output signals Vp and Vn, the digital value of the physical quantity to be measured can be determined as a function of (Val1−Val2).
For sensors circuits having two output signals Vp and Vn which have a predefined relation with respect to each other (as is the case e.g. for Hall elements and a Wheatstone bridge with MR elements), the digital value of the physical quantity to be measured can also be determined as a function of only Val1, or as a function of only Val2 (because their average is substantially equal to the value of the common mode signal Vcm at time T1target). This is also true if T1target is not equal to T2target (e.g. as illustrated in
In the specific example shown in
It is noted that the method with the “control loop” also works for sensor circuits having only one one output signal Vp. In this case, the control loop will be configured to dynamically adjust the threshold value Vt such that the time T1 or count N1 of the first event occurs at a predefined moment in time T1target. And the digital value Dout of the physical quantity to be measured can also be derived solely from the (dynamically adjusted) value Val1 corresponding to the threshold signal Vt, e.g. using a look-up table or a polynomial function, having values or coefficients which are determined during a calibration, and which are stored in a non-volatile memory, as described above.
Preferably a single predefined waveform of the biasing signal is used, but the present invention is not limited hereto. If there are multiple predefined waveforms of the biasing signal possible, then for each of these biasing signals a look-up table or polynomial expression can be determined (e.g. by simulation or by calibration) that codifies the correspondence between the threshold value Val1 and the quantity to the measured, and during actual use of the device, the appropriate table or polynomial needs to be selected, e.g. using an additional parameter indicating which predefined biasing signal is used.
The embodiments with a tracking loop, e.g. as illustrated in
In a variant of
In another or a further variant of
In another or further variant of
In all of the embodiments illustrated in
In
An underlying principle of the present invention is to convert timing information (or counter information, or index information) into a digital value. This timing information or counter information or index information is related to a magnitude of the physical quantity to be measured.
The method may further comprise a step of: i) providing a sensor or bridge circuit having two excitation nodes (E1, E2) and at least one output node (RO1, RO2), such as e.g. a Hall element, a horizontal Hall element, a vertical Hall element, or a Wheatstone bridge, or a resistor circuit comprising one or more legs, each leg comprising two or more resistors (e.g. piezo-resistors, magneto-resistors, XMR, TMR, AMR, GMR resistors).
The method may further comprise providing one or more of the following: a timer, a counter operating at a predefined clock frequency (fCLK), a biasing circuit, one comparator or two comparators or more than two comparators, an analog-to-digital convertor (ADC), a digital-to-analog convertor (DAC), a PWM circuit (pulse-width-modulation) optionally followed by a low-pass filter, etc.
The method may also comprise the steps of providing at least one comparator, e.g. one comparator or two comparators; and providing at least one threshold voltage (Vt) to a first input of the at least one comparator; and providing at least one readout voltage (e.g. v1 or v2) to a second input of the at least one comparator. In such an embodiment, the first event can be detected e.g. by monitoring when an output level of the comparator changes state. The latter may be implemented e.g. using a polling technique or can be implemented efficiently using an interrupt of a digital processor.
The method may also comprise the steps of: providing at least one analog-to-digital convertor (ADC); and step a) may further comprise: repeatedly digitizing said at least one output voltage or a differential voltage formed by both output voltages using said ADC; and step b) may further comprise: repeatedly comparing said plurality of digital values with at least one threshold value (e.g. by comparison means, e.g. by a programmable controller).
The method may comprise a further step to convert the digital value Dout into a current value, a torque value, a linear or angular position value, or another physical quantity, for example using a look-up table, or using mathematical formulas, or a combination of these.
In certain embodiments of the method 1000 of
The detection of the first event may be performed using a first comparator, where the first threshold voltage (Vt1) is applied to a first input of the first comparator, and the first output voltage (Vp) is applied to the second input of the first comparator, and the detection of the second event may be performed using a second comparator, where the second threshold voltage (Vt2) is applied to a first input of the second comparator, and the second output voltage (Vp) is applied to the second input of the second comparator.
An example of this method is illustrated in
As already mentioned above, the time value T2 or the count value N2 related to this second event when Vcm crosses the threshold signal is in fact already known beforehand (for a given waveform of the biasing signal and a given threshold signal), and hence measuring this value is not really required, but when measured, it can e.g. be used for error detection.
An example of this embodiment wherein the second threshold signal Vt2 is equal to the first threshold signal Vt1, is illustrated in
Step iii) may comprise: detecting an error during the first time period, e.g. by detecting that one or more of the first output signal (e.g. Vp), the second output signal (e.g. Vn), the common-mode signal (e.g. Vcm, if generated) does not pass the threshold signal (e.g. Vt). Alternatively or additionally, step iii) may comprise: detecting an inconsistency between the first digital value (Dout1) and the second digital value (Dout2), e.g. using a predefined criterion which may depend e.g. on the resolution of the ADC, the accuracy of the timing circuit, etc.
In an embodiment, the three steps i) to iii) of the method 1400 are performed by a sensor device 1730 comprising said sensor or bridge circuit 1740. In this case, the sensor device 1730 may output a digital value (e.g. one of the digital values Dout1, Dout2, or an average of the two values, or a weighted average of the two values) as an indication of the physical quantity to be measured, and/or may output a validity signal indicative of an error being detected.
In an embodiment, the steps i) and ii) are performed by a sensor device 1730 comprising said sensor or bridge circuit 1740, and step iii) is performed by an external processor (not shown), outside of the sensor device. In this case, the sensor device would output the two digital values Dout1, Dout2, and the external processor would perform a consistency check of these values. An outcome of this consistency check can then be used as a validity signal.
While not explicitly shown, the sensor device may also contain at least one amplifier, e.g. a differential amplifier configured for amplifying a differential voltage over the output nodes of the sensor or bridge circuit.
The “comparison means” may include one or more “comparators” (e.g. in case the comparison is performed in the analog domain), or the comparison may be performed in software, e.g. as an executable instruction performed by the digital processor 1526. As an example, if the detection of event1 and/or event2 is performed in the analog domain, a single comparator per sensor (or per bridge) may be sufficient to perform the method of
In case one or more analog comparators are used, an output of the/each comparator may be connected to a/separate input(s) of the processor 1526, and the processor may be configured to generate an interrupt when one of these inputs changes state (e.g. rising and/or falling edge, depending on the implementation), and the processor may have an interrupt service routine to determine and further process (e.g. temporarily store) a timer value or count value.
In case of multiple sensors (or bridge circuits) and in case the detection of the event(s) is performed in the analog domain using analog comparators, each of the sensors (or bridges) may provide one or two or more output signals to a corresponding comparator or to a corresponding set of two comparators. (more than two output signals may be provided e.g. in case of a sensor structure as illustrated in
It is an advantage that a single processor with for example four inputs can easily determine four different time values or four different count values indicative of four physical quantities (e.g. four magnetic field components) measured by four Hall elements, in a single time period (e.g. having a time duration T_ramp as illustrated in
Many variants of the circuit 1520 shown in
In a variant of
The integrated sensor device 1530 may be implemented on a single semiconductor substrate comprising (inter alia) the at least one sensor or bridge circuit and the digital processor 1526, but that is not absolutely required, and in another embodiment, the at least one sensor or bridge circuit 1540 is/are implemented on a first semiconductor substrate, and the digital processor 1526 is implemented on a second semiconductor substrate, and the first and second semiconductor substrate are interconnected and embedded in a single packaged device.
The circuit 1620 of
Possible variations described for
In an embodiment, the sensor device 1730 is further configured for detecting an error related to the formation of the first digital value Dout1, e.g. by detecting that the first and/or second event does not occur without the envisioned time span.
In an embodiment, the sensor device 1730 is further configured for performing a consistency test of the first and second digital value Dout1, Dout2, and to provide at least one of the first and second digital value or a digital value derived therefrom and an error signal.
In an embodiment, the sensor device 1730 is further configured for providing the first and the second digital value Dout1, Dout2, e.g. as output signals to an external controller (not shown), for allowing the external controller to perform a consistency test.
Such integrated sensor device 1730 is better suited for applications requiring functional safety, e.g. for use in automotive or robotic applications, because of its error detection capabilities.
It is noted that the integrated sensor device shown in
In a variant of
In another variant of
Number | Date | Country | Kind |
---|---|---|---|
23187677.2 | Jul 2023 | EP | regional |