Not Applicable.
Not Applicable.
This invention relates generally to electronic circuits, and, more particularly, to an electronic circuit that can rapidly identify an angle of a direction of a sensed parameter sensed by a plurality of measuring devices.
As is known, sensing elements are used in a variety of applications to sense characteristics of an environment. Sensing elements include, but are not limited to, pressure sensing elements, temperature sensing elements, light sensing elements, acoustic sensing elements, and magnetic field sensing elements.
A magnetic field sensor can include one or more magnetic field sensing elements and also other electronics.
Magnetic field sensors can be used in a variety of applications. In one application, a magnetic field sensor can be used to detect a direction of a magnetic field. In another application, a magnetic field sensor can be used to sense an electrical current. One type of current sensor uses a Hall effect magnetic field sensing element in proximity to a current-carrying conductor.
Planar Hall elements and vertical Hall elements are known types of magnetic field sensing elements that can be used in magnetic field sensors. A planar Hall element tends to be responsive to magnetic field perpendicular to a surface of a substrate on which the planar Hall element is formed. A vertical Hall element tends to be responsive to magnetic field parallel to a surface of a substrate on which the vertical Hall element is formed.
Other types of magnetic field sensing elements are known. For example, a so-called “circular vertical Hall” (CVH) sensing element, which includes a plurality of vertical magnetic field sensing elements, is known and described in PCT Patent Application No. PCT/EP2008/056517, entitled “Magnetic Field Sensor for Measuring Direction of a Magnetic Field in a Plane,” filed May 28, 2008, and published in the English language as PCT Publication No. WO 2008/145662, which application and publication thereof are incorporated by reference herein in their entirety. The CVH sensing element is a circular arrangement of vertical Hall elements arranged over a common circular implant region in a substrate. The CVH sensing element can be used to sense a direction (and optionally a strength) of a magnetic field in a plane of the substrate.
Conventionally, all of the output signals from the plurality of vertical Hall elements within the CVH sensing element are needed in order to determine a direction of a magnetic field. Also conventionally, output signals from the vertical Hall elements of a CVH sensing element are generated sequentially, resulting in a substantial amount of time necessary to generate all of the output signals from the CVH sensing element. Thus, determination of the direction of the magnetic field can take a substantial amount of time.
Various parameters characterize the performance of sensing elements (and sensors that use sensing elements) in general, and magnetic field sensing elements (and magnetic field sensors) in particular. Taking a magnetic field sensing element as an example, these parameters include sensitivity, which is a change in an output signal of a magnetic field sensing element in response to a change of magnetic field experienced by the magnetic sensing element, and linearity, which is a degree to which the output signal of the magnetic field sensing element varies in direct proportion to the magnetic field. These parameters also include an offset, which is characterized by an output signal from the magnetic field sensing element not representative of a zero magnetic field when the magnetic field sensing element experiences a zero magnetic field. Other types of sensing elements can also have an offset of a respective output signal that is not representative of a zero sensed characteristic when the sensing element experiences the zero sensed characteristic.
Another parameter that can characterize the performance of a sensor (e.g., magnetic field sensor) is the speed with which output signals from associated sensing elements (e.g., magnetic field sensing elements) can be sampled.
Magnetic field sensors can be used to identify a direction of a magnetic field. For example, in one application, a magnetic field sensor can be used to identify a rotation speed of a target object upon which a magnet is disposed. The magnetic field sensor may have a limit as to how rapidly the magnetic field sensor can identify the direction of the magnetic field, and thus, may have a limit as to how rapidly the target object can rotate and be properly sensed by the magnetic field sensor. Particularly for magnetic field sensors that use a plurality of magnetic field sensing elements (e.g., a CVH sensing element), which are scanned sequentially, the limitation of the magnetic field sensor may be unacceptable.
Thus, it would be desirable to provide a magnetic field sensor that can more rapidly identify a direction of a magnetic field. More generally, it would be desirable to provide a circuit that can more rapidly identify an angle of a direction of a sensed parameter sensed by a plurality of measuring devices.
The present invention provides a magnetic field sensor that can more rapidly identify a direction of a magnetic field. This is particularly useful for magnetic field sensor embodiments that employ a plurality of magnetic field sensing elements.
More generally, the present invention provides a circuit that can more rapidly identify an angle of a direction of a sensed parameter sensed by the plurality of sensing elements. In some embodiments, the sensed parameter is a magnetic field and the sensing elements are magnetic field sensors. However, in other embodiments, the sensing elements are another type of sensing element, for example, acoustic sensing elements, and the sensed parameter is another type of sensed parameter, for example, and acoustic sound pressure.
In accordance with one aspect of the present invention, an electronic circuit includes a plurality of measuring devices to generate a corresponding plurality measuring device signals. Each one of the plurality of measuring device signals has a respective magnitude related to an angle of a direction of a sensed parameter. The electronic circuit also includes a preprocessing circuit coupled to receive a signal representative of the plurality of measuring device signals, coupled to receive an index value identifying a selection of one or more measuring devices from among the plurality of measuring devices, and configured to generate either a first preprocessed output signal representative of a selected one or more of the plurality of measuring device signals selected in accordance with the index value or a second preprocessed output signal representative of a sum of a selected set of signals representative of the plurality of measuring device signals selected in accordance with the index value. The electronic circuit also includes a post processing circuit coupled to receive the first or the second preprocessed output signal and configured to relate a crossing of a predetermined value of the first or the second preprocessed output signal to the index value. The crossing of the predetermined value is representative of the angle of the direction of the sensed parameter. The post processing circuit includes an analog-to-digital converter coupled to receive a signal representative of the first or the second preprocessed output signal and configured to generate a digital converted signal. The digital converted signal corresponds to the index value.
In some embodiments of the circuit, the plurality of measuring devices corresponds to a plurality of magnetic field sensing elements and the sensed parameter corresponds to a magnetic field.
In accordance with another aspect of the present invention, a method of processing a plurality of measuring device signals generated by a plurality of measuring devices includes receiving a signal representative of the plurality measuring device signals. Each one of the plurality of measuring device signals has a respective magnitude related to an angle of a direction of a sensed parameter. The method also includes receiving an index value identifying a selection of one or more measuring devices from among the plurality of measuring devices. The method also includes generating either a first preprocessed output signal representative of a selected one or more of the plurality of measuring device signals selected in accordance with the index value or a second preprocessed output signal representative of a sum of a selected set of signals representative of the plurality of measuring device signals selected in accordance with the index value. The method also includes relating a crossing of a predetermined value of the first or the second preprocessed output signal to the index value. The crossing of a predetermined value is representative of the angle of the direction of the sensed parameter. The relating includes converting a signal representative of the first or the second preprocessed output signal with an analog-to-digital converter to generate a digital converted signal. The digital converted signal corresponds to the index value. The relating also includes feeding back the index value to the step of receiving the index value.
In some embodiments of the method, the plurality of measuring devices corresponds to a plurality of magnetic field sensing elements and the sensed parameter corresponds to a magnetic field.
The foregoing features of the invention, as well as the invention itself may be more fully understood from the following detailed description of the drawings, in which:
Before describing the present invention, some introductory concepts and terminology are explained. As used herein, the term “sensing element” is used to describe a variety of types of electronic elements that can sense a characteristic of the environment. For example, sensing elements include, but are not limited to, pressure sensing elements, temperature sensing elements, motion sensing elements, light sensing elements, acoustic sensing elements, and magnetic field sensing elements.
As used herein, the term “sensor” is used to describe a circuit or assembly that includes a sensing element and other components. In particular, as used herein, the term “magnetic field sensor” is used to describe a circuit or assembly that includes a magnetic field sensing element and electronics coupled to the magnetic field sensing element.
As used herein, the term “measuring device” is used to describe either a sensing element or a sensor. For example, a magnetic field measuring device can be either a magnetic field sensing element or a magnetic field sensor. A measuring device is any device that can measure a parameter of the environment.
As used herein, the term “magnetic field sensing element” is used to describe a variety of electronic elements that can sense a magnetic field. The magnetic field sensing elements can be, but are not limited to, Hall effect elements, magnetoresistance elements, or magnetotransistors. As is known, there are different types of Hall effect elements, for example, a planar Hall element, a vertical Hall element, and a circular Hall element. As is also known, there are different types of magnetoresistance elements, for example, a giant magnetoresistance (GMR) element, an anisotropic magnetoresistance element (AMR), a tunneling magnetoresistance (TMR) element, an Indium antimonide (InSb) sensor, and a magnetic tunnel junction (MTJ).
As is known, some of the above-described magnetic field sensing elements tend to have an axis of maximum sensitivity parallel to a substrate that supports the magnetic field sensing element, and others of the above-described magnetic field sensing elements tend to have an axis of maximum sensitivity perpendicular to a substrate that supports the magnetic field sensing element. In particular, planar Hall elements tend to have axes of sensitivity perpendicular to a substrate, while magnetoresistance elements and vertical Hall elements (including circular vertical Hall (CVH) sensing elements) tend to have axes of sensitivity parallel to a substrate.
Magnetic field sensors are used in a variety of applications, including, but not limited to, an angle sensor that senses an angle of a direction of a magnetic field, a current sensor that senses a magnetic field generated by a current carried by a current-carrying conductor, a magnetic switch that senses the proximity of a ferromagnetic object, a rotation detector that senses passing ferromagnetic articles, for example, magnetic domains of a ring magnet, and a magnetic field sensor that senses a magnetic field density of a magnetic field.
While a circular vertical Hall (CVH) magnetic field sensing element, which has a plurality of vertical Hall magnetic field sensing elements, is described in examples below, it should be appreciated that the same or similar techniques and circuits apply to any type of sensing elements and to any type of sensors, i.e., to any type of measuring devices.
Referring to
A particular vertical Hall element (e.g., 12a) within the CVH sensing element 12, which, for example, can have five adjacent contacts, can share some, for example, four, of the five contacts with a next vertical Hall element (e.g., 12b). Thus, a next vertical Hall element can be shifted by one contact from a prior vertical Hall element. For such shifts by one contact, it will be understood that the number of vertical Hall elements is equal to the number of vertical Hall element contacts, e.g., 32. However, it will also be understood that a next vertical Hall element can be shifted by more than one contact from the prior vertical Hall element, in which case, there are fewer vertical Hall elements than there are vertical Hall element contacts in the CVH sensing element.
A center of a vertical Hall element 0 is positioned along an x-axis 20 and a center of vertical Hall element 8 is positioned along a y-axis 22. In the exemplary CVH 12, there are thirty-two vertical Hall elements and thirty-two vertical Hall element contacts. However, a CVH can have more than or fewer than thirty-two vertical Hall elements and more than or fewer than thirty-two vertical Hall element contacts.
In some applications, a circular magnet 14 having a south side 14a and a north side 14b can be disposed over the CVH 12. The circular magnet 14 tends to generate a magnetic field 16 having a direction from the north side 14a to the south side 14b, here shown to be pointed to a direction of about forty-five degrees relative to x-axis 20. Other magnets having other shapes and configurations are possible.
In some applications, the circular magnet 14 is mechanically coupled to a rotating object (a target object), for example, an automobile crank shaft or an automobile camshaft, and is subject to rotation relative to the CVH sensing element 12. With this arrangement, the CVH sensing element 12 in combination with an electronic circuit described below can generate a signal related to the angle of rotation of the magnet 14.
Referring now to
While the sensing elements 30a-30h are shown to be arranged in a circle, in some embodiments, the sensing elements 30a-30h can be arranged in another configuration, for example, in a line. Where the sensing elements 30a-30h are magnetic field sensing elements, such a linear arrangement can be used, for example, to detect a linear position of a ferromagnetic object. Where the sensing elements 30a-30h are acoustic sensors, such a linear arrangement can be used, for example, to characterize a position of a sound wave along a line.
Referring now to
The graph 50 includes a signal 52 representative of output signal levels from the plurality of vertical Hall elements of the CVH taken sequentially with the magnetic field of
Referring briefly to
In
A sine wave 54 is provided to more clearly show the ideal behavior of the signal 52. The signal 52 has variations due to vertical Hall element offsets, which tend to somewhat randomly cause element output signals to be too high or too low relative to the sine wave 54, in accordance with offset errors for each element. The offset signal errors are undesirable. In some embodiments, the offset errors can be reduced by “chopping” each vertical Hall element. Chopping will be understood to be a process by which vertical Hall element contacts of each vertical Hall element are driven in different configurations and signals are received from different ones of the vertical Hall element contacts of each vertical Hall element to generate a plurality of output signals from each vertical Hall element. The plurality of signals can be arithmetically processed (e.g., summed or otherwise averaged) resulting in a signal with less offset.
Full operation of the CVH sensing element 12 of
As will be understood from PCT Patent Application No. PCT/EP2008/056517, groups of contacts of each vertical Hall element can be used in a multiplexed or chopped arrangement to generate chopped output signals from each vertical Hall element. Thereafter, or in parallel (i.e., at the same time), a new group of adjacent vertical Hall element contacts can be selected (i.e., a new vertical Hall element), which can be offset by one or more elements from the prior group. The new group can be used in the multiplexed or chopped arrangement to generate another chopped output signal from the next group, and so on.
Each step of the signal 52 can be representative of a chopped output signal from one respective group of vertical Hall element contacts, i.e., from one respective vertical Hall element. However, in other embodiments, no chopping is performed and each step of the signal 52 is representative of an unchopped output signal from one respective group of vertical Hall element contacts, i.e., from one respective vertical Hall element. Thus, the graph 52 is representative of a CVH output signal with or without the above-described grouping and chopping of vertical Hall elements.
It will be understood that, using techniques described above in PCT Patent Application No. PCT/EP2008/056517, a phase of the signal 52 (e.g., a phase of the signal 54) can be found and can be used to identify the pointing direction of the magnetic field 16 of
Referring now to
In operation, as will become apparent from discussion below, for a stationary, non-rotating magnetic field, the circuit 60 tends to generate a magnetic field sensing element signal 62a having samples from one vertical Hall element within the CVH sensing element 62, corresponding samples within the preprocessed signal 64a, and one index value within the index value signal 66a, all without continually scanning all of the plurality of vertical Hall elements within the CVH sensing element 62. The value of the index value signal 66a is indicative of a pointing direction of the sensed magnetic field. However, the index value signal 66a may alternate between two or more values due, for example, to noise or to the method for updating k used in the post processing circuit. A faster detection of the angle of the magnetic field results than that which would be achieved by generating all of the vertical Hall element samples of
In operation, for a rotating magnetic field, the circuit 60 tends to generate a magnetic field sensing element signal 62a having sequential samples from sequential vertical Hall elements within the CVH sensing element 62, corresponding sequential samples within the preprocessed signal 64a, and sequential index values within the index value signal 66a, but all without continually scanning all of the plurality of vertical Hall elements within the CVH sensing element.
Referring now to
The preprocessing circuit can also include a switch control circuit coupled to receive the clock signal 80a and configured to generate switch control signals 84a. A switching circuit 74 can be coupled to receive the switch control signals 84a, coupled to receive an index value signal 92b, and configured to select, in accordance with one or more index values of the index value signal 92b, one or more corresponding ones of vertical Hall elements 73 of a CVH sensing element 72 for processing.
In some embodiments, there are thirty two possible values of the index value signal 92a and there are thirty-two vertical Hall elements within the CVH sensing element 72. However, in other embodiments, there can be more than or fewer than thirty two of each. In some embodiments, the number of possible values of the index value signal 92a is less than the number of vertical Hall elements.
In some embodiments, the preprocessing circuit also includes another switching circuit 76 also coupled to receive the switch control signals 84a. The switching circuit 76 can perform the above-describe chopping of the vertical Hall elements within the CVH sensing element 72.
Essentially, the clock signal 80a operates the switch control circuit 84 with a higher frequency clock than the divided clock operates a post processing circuit 92 for embodiments that use chopping. If chopping is not used, the switching circuit 76 and the divider 82 can be omitted, in which case, the switch control circuit 84 and the post processing circuit 92 can operate with the same clock signal at the same rate.
The preprocessing circuit also includes a drive source 78, for example, two current sources, used to drive the one or more vertical Hall elements selected by the index value signal 92a. A combination of current sources and voltage sources can be used in the drive source, driving a single Hall element or multiple Hall elements simultaneously.
As described above in conjunction with
Referring now to
The circuit 102 includes a combining circuit 104 coupled to receive magnetic field sensing element signal samples 112 from a plurality of magnetic field sensing elements of the CVH sensing element 72 (either in parallel or sequentially) via the switching circuits 74, 76 and configured to generate the index value signal 92a having one or more index values. A similar combining circuit is shown and described in U.S. patent application Ser. No. 13/035,257, entitled “Circuit and Method for Processing Signals Generated by a Plurality of Sensors,” filed on Feb. 25, 2011.
In some embodiments, the magnetic field sensing element signal samples 112 from the plurality of magnetic field sensing elements of the CVH sensing element 72 are generated at the same time, i.e., in parallel. Such an arrangement is shown and described in U.S. patent application Ser. No. 13/035,243, entitled “Circular Vertical Hall Magnetic Field Sensing Element and Method with a Plurality of Continuous Output Signals,” filed on Feb. 25, 2011. However, in other embodiments, the magnetic field sensing element signal samples 112 from the plurality of magnetic field sensing elements of the CVH sensing element 72 are generated sequentially, as describe, for example, in PCT Patent Application No. PCT/EP2008/056517.
The post processing circuit 108 is coupled to receive a preprocessed signal 104a from the combining circuit 104
The combining circuit 104 can also be coupled to receive bn(k) control signals 106a generated by a bn(k) control signal generator 106. The bn(k) control signal generator 106 is coupled to receive an index value signal 108b generated by the post processing circuit 108.
The post processing circuit 108 is also configured to generate an x-y angle signal 108a that can be the same as or similar to the x-y angle signal 92a of
Operation of the circuit 102 is more fully described below. However, let it suffice here to say that the combining circuit 104 takes in a plurality of signal samples in the magnetic field sensing element signal samples 112, and combines them in order to generate one (or more) sample in the preprocessed output signal 104a.
Referring now to
Referring now to
Referring briefly to
For embodiments also described above, for which the CVH output signals 112 of
The switching circuits 136a-136N generate respective switched signals z0(k) to zN−1(k) (e.g., 32 switched signals). A summing circuit 134 is coupled to receive the switched signals, z0(k) to zN−1(k), and configured to generate a combined signal 134a, which can be the same as or similar to the preprocessed signal 104a of
In operation, at any particular time, some of the control signals, b0(k) to bN−1(k), are in a high state and others are in a low state. The switching circuits 136a-136N are responsive to respective states of the control signals, b0(k) to bN−1(k), such that, in response to one particular state of a respective control signal, a respective one of the CVH output signals, x0 to xN−1, is inverted as it passes through the respective switching circuit, and in response to the other different state of the control signal, the CVH output signal is not inverted. Outputs signals, z0(k) to zN−1(k), result, which can be differential signals as shown, or which, in other embodiments, can be signal-ended signals.
It will be appreciated that the combined signal 134a, E(k), is essentially a sum of signals, i.e., a sum of some of the CVH output signals, x0 to xN−1, that are inverted along with some of the CVH output signals, x0 to xN−1, that are not inverted.
In operation, the control signals, b0(k) to bN−1(k), change state from time to time. Changes of the control signals, b0(k) to bN−1(k), are more fully described below in conjunction with
Referring now to
As described above, the Hall element positions, N positions, represented by the horizontal axes, can have steps of one vertical Hall element (i.e., one vertical Hall element contact) or steps of more than one vertical Hall element (i.e., more than one vertical Hall element contact). Furthermore, the positions can be indicative of positions of respective groups of Hall elements when used in a chopped arrangement.
Each one of the graphs represents the control signals, b0(k) to bN−1(k), taken at a different time. For example, the graph 152 shows that, at a first time (or increment 0) of the indexing variable, k, the control signals from b0(0) to bN/2-1(0) are low and the control signals from bN/2(0) to bN−1(0) are high.
The subscript index is representative of the position, n, of the vertical Hall element (or group of vertical Hall element contacts) around the CVH sensing element, and there are N such positions from 0 to N−1. The index, k, is representative of a time increment associated with a change of the control signals, b0(k) to bN−1(k).
At the 0th increment of the index, k, the control signal b0(0) is low and is the control signal received by the switching circuit 136a of
The graphs 154-158 are representative of one particular embodiment, for which, at each increment of the time index, k, the control signals b0(k) to bN−1(k) shift by one vertical Hall element position (i.e., by one vertical Hall element contact). Thus, referring to the graph 154, at the 0th increment of the index, k, the control signal b0(1) is now high and is the control signal received by the switching circuit 136a of
Similarly, referring to the graph 156, at the N/2 increment of the index, k, the control signal b0(N/2−1) is high and is the control signal received by the switching circuit 136a of
Finally, referring to the graph 158, at the N−1 increment of the index, k, the control signal b0(N−1) is now low, causing the switching circuit 136a to not invert, resulting in z0(N−1)=x0(N−1). At the N/2 vertical Hall element position, the control signal, bN/2(N−1), is now high, causing a respective one of the switching circuits of
While half of the control signals b0(k) to bN/2−1(k) at any increment of the index, k, are shown to be high and the other half to be low, in other embodiments, other proportions of high and low control signals can be used. This can include proportions all the way down to one control signal being in one state and all of the other control signals being in another state. However, a best signal to noise ratio is obtained when the proportion is one-half.
As used herein, the phrase “approximately half” refers to a range of about forty percent to about sixty percent.
Referring now to
For reference only, a sine wave 204 is shown, which is like the sine wave 54 of
A signal 206 is representative of the switched element signals (e.g., z0(4) to zN−1(4)) from each one of thirty-two vertical Hall element positions within the CVH sensing element, before the signals are combined, for example, by the summing circuit 134 of
It will be apparent that if all of the magnitudes (steps) of the signal 206 were summed, e.g., by the summing circuit 134 of
Referring now to
For reference only, a sine wave 224 is shown, which is like the sine wave 54 of
A signal 222 is representative of the switched element signals (e.g., z0(28) to zN−1(28)) from each one of thirty-two vertical Hall element positions within the CVH sensing element, before the signals are combined, for example, by the summing circuit 134 of
It will be apparent that if all of the magnitudes (steps) of the signal 222 were summed, e.g., by the summing circuit 134 of
Referring now to
For reference only, a sine wave 244 is shown.
Comparing the signal 242 with the signals 206, 222 of
It will be noted that the offset errors in the signals 52, 206, 222 of
Referring briefly to
Referring again to
The magnitude of the signal 242 is shown to be larger than the magnitude of the signal 52 of
where:
θIN=magnetic field angle in plane of CVH sensing element;
k=bn control signal index; and
A=a constant related to total number of vertical Hall element positions used in the CVH sensing element.
It will be appreciated that the higher amplitude of the signal 242 results in an improved signal to noise ratio.
It will be appreciated from the above equation that θIN=45° or π/4, k=4.5 gives E(θIN,k)=0, thus the exact location for the zero crossing of E(θIN,k) will be between positions 4 and 5. It will also be appreciated from the above equation that θIN=45° or π/4, k=28.5 gives E(θIN,k)=2GN/π, or the maximum of E(θIN,k), thus the exact location for the maximum of E(θIN,k) will be between positions 28 and 29. Also note that any angle can be determined from the value of k that results in the first zero crossing of E(θIN,k), which is when the argument of the cosine function is π/2 or 90°. This is determined from the equation:
The signal 242 (i.e., the preprocessed signal 104a of
While the circuits and methods described herein are shown by example of vertical Hall elements within a CVH sensing element, as described above, it should be appreciated that the same techniques can be used to process signals from a plurality of any type of sensing element. In some embodiments, the circuits and methods can be used to identify a largest signal from among the plurality of sensing elements. The same benefits of reduced offset signal variations and increased amplitude and processing speed will apply to any type of sensing elements, and not only to magnetic field sensing elements. For example, the same techniques could be applied to a plurality of acoustic sensing elements used to sense an acoustic signal.
It should also be apparent that the same benefits can be achieved in relation to any type of measuring devices, i.e., any type of sensing elements or sensors. For example, the same techniques could be applied to a plurality of magnetic field sensors, each having a magnetic field sensing element and associated processing circuitry.
As described above in conjunction with
Referring now to
As described above in conjunction with
The preprocessing circuit 262a and the post-processing circuit 262b are coupled in an arrangement similar to a sigma delta modulator. The post-processing circuit can include, for example, an analog filter 268 (integrator) coupled to receive the preprocessed signal 266a, and configured to generate an integrated signal 268a. The post processing circuit 262b can also include an analog-to-digital converter 270 coupled to receive the integrated signal 268a and configured to generate a converted signal 270a, which corresponds to the index value signal 270a received by the preprocessing circuit 262, and which corresponds to an angle output signal 270a (i.e., an x-y angle signal), which can be representative of an angle of a sensed parameter, e.g., an angle of a magnetic field.
In some embodiments, the index value signal 270a has M digital bits. However, in some alternate embodiments, the analog-to-digital converter 270 is a comparator, which is a simple form of analog-to-digital converter. In these embodiments, it will be understood that the index value signal 270a has only one digital bit. Where the analog-to-digital converter 270 is provided instead as a comparator, it may be desirable to average the resulting index value signal before presenting the index value signal to the CVH front end circuit 262a in order to increase resolution. As used herein, the term “analog-to-digital converter” includes a comparator and also any multi-bit analog-to-digital converter.
In some embodiments, the analog filter 268 is a single integrator, which would make the circuit 260 be like a first order sigma-delta converter. However, any number of integrators can be used, thus, the circuit 260 can be like a sigma-delta converter having an order greater than one.
Operation of the circuit 260 is described below in conjunction with
Referring now to
From discussion below, it will be understood that the circuit 260 of
From inspection of the data points, it will be understood that vertical Hall elements number 12 and number 28 are most sensitive to magnetic field (or, in accordance with FIGS. 5 and 7-10, partial inversions and summations with index values 12 and 28). Thus, vertical Hall elements 12 and 28, or rather, lines drawn between vertical Hall element contacts of vertical Hall elements 12 and 28 are nearly perpendicular to the sensed magnetic field. Similarly, vertical Hall elements 4 and 20 are nearly parallel to the magnetic field and produce nearly zero output. In other words, the sensed magnetic field has a pointing direction at forty-five degrees relative to magnetic field sensing element number zero.
The circuit, for example, the circuit 260 of
The zero crossings in the data points of
To explain the above ambiguity, suppose that the integrated signal 268a of
Although it appears that the above example converges, convergence to the same final value of the index value signal 270a does not occur from every starting point. This is shown and described in conjunction with
While stationary magnetic fields are described above, it should be understood that, for a rotating magnetic field, a phase of the sinusoid on which the data points lie will tend to rotate in phase. Accordingly, the circuit 260 of
Referring now to
Thus while the circuit 260 of
Referring now to
Unlike the post processing circuit 262b of
The preprocessing circuit 322a and the post-processing circuit 322b are coupled to an arrangement similar to a sigma delta modulator. The post-processing circuit can include, for example, an analog filter 328 (integrator, here shown as a switched capacitor integrator) coupled to receive a preprocessed signal 326a, and configured to generate an integrated signal 328a. The post processing circuit 322b can also include an analog-to-digital converter 332 coupled to receive the integrated signal 328a and configured to generate a converted signal 332a.
Unlike the post processing circuit 262b of
In some embodiments, the circuit 320 can also include another filter circuit, for example, a decimation filter circuit 336, coupled to receive the index value signal 334a and configured to generate a filtered output signal 336a. The filter 336 can be used to average the outputs to provide more resolution than the number of choices for the index value, k, which is determined by the nature of CVH sensing element. A decimation filter may be preferred because output samples are generally not needed as fast as the update rate for the index value, k, and the filter 336 can be much simpler if it is a decimation filter.
The modulo circuit 334 can also be configured to generate a so-called “over-range signal” 334b. An adder circuit 336, which can also be formed from switched capacitors, can be coupled to receive the over-range signal 334 and configured to generate a step signal 322 that is summed into the switched capacitor filter circuit 328.
In some embodiments, the index value signal 334a has M+1 bits (compared with the M bits of the index value signal 270a of
The range of the analog-to-digital converter 332 is larger than the range of the analog-to-digital converter 270 of
In some embodiments, the analog filter 328 contains a single integrator, which would make the circuit 320 be like a first order sigma-delta converter. However, any number of integrators can be used, thus, the circuit 320 can be like a signal-delta converter having an order greater than one.
Operation of the modulo circuit can be understood from Table 1 below.
Adding or subtracting Vref from the filtered signal 328a does not change the resulting value, k, of the index value signal 334a, but the adding or subtracting does cause the integrated signal 328a to avoid growing without bound.
Overall operation of the circuit 320 is described below in conjunction with
Referring now to
As described above in conjunction with
From discussion above and below, it will be understood that the circuit 320 of
From inspection of the data points, like in the graphs of
The circuit, for example, the circuit 320 of
The data points of
To explain the above improved behavior, suppose that the integrated signal 328a of
Referring now to
The graphs 370 includes a signal 372 representative of the index value signal 334a of
The graph 370 also includes a signal 374 representative of the filtered output signal 336a of
Referring now to
The x-axis magnetic field sensor 392 is configured to generate a magnetic field signal 392a responsive to a component of a magnetic field in an x direction. The y-axis magnetic field sensor 402 is configured to generate a magnetic field signal 402a responsive to a component of the magnetic field in a y direction orthogonal to the x direction.
The x channel includes an amplifier 394 coupled to receive the magnetic field signal 392a and configured to generate an amplified signal 394a. The x channel also includes a filter circuit 396 coupled to receive the amplified signal 394a and configured to generate a filtered signal 396a. The x channel also includes an analog-to-digital converter 398 coupled to receive the filtered signal 396a and configured to generate a converted signal 398a, which is a digital signal having any number of bits.
Similarly, the y channel includes an amplifier 404 coupled to receive the magnetic field signal 402a and configured to generate an amplified signal 404a. The y channel also includes a filter circuit 406 coupled to receive the amplified signal 404a and configured to generate a filtered signal 406a. The y channel also includes an analog-to-digital converter 408 coupled to receive the filtered signal 406a and configured to generate a converted signal 408a, which is a digital signal having any number of bits.
An arctangent circuit 400 is coupled to receive the two converted signals 398a, 408a and configured to generate an arctangent of the two converted signals as an output signal 400a representative of a pointing direction of the magnetic field in the x-y plane in which the x sensor and a y sensor 392, 402, respectively, are sensitive.
A graph 410 has a vector representative of the converted signal 398a. A graph 412 has a vector representative of the converted signal 408a. A graph 414 has a vector representative of the arctangent of the converted signals 398a, 408a.
Referring now to
The x-axis magnetic field sensor 424 is configured to generate a magnetic field signal 424a responsive to a component of a magnetic field in an x direction. The y-axis magnetic field sensor 428 is configured to generate a magnetic field signal 428a responsive to a component of the magnetic field in a y direction orthogonal to the x direction.
The circuit 420 includes a switching circuit having switches 426, 430. The switching circuit is coupled to receive the magnetic field signal 424a and an inverted version of the magnetic field signal 428a. The switches 426, 430 operate alternately, resulting in a signal 432, which is like the preprocessed signal 64a of
The circuit 420 also includes a filter circuit 434 coupled to receive the signal 432 and configured to generate an integrated signal 434a. A comparator 436 is coupled to receive the integrated signal 434a and configured to generate a comparison signal 438. The switches 426, 430 are coupled to receive the comparison signal 438. The comparison signal 438 is like the index value signal 66a of
It can be observed that a circuit portion 422 is like a circuit portion 262 of
An arctangent circuit 446 is coupled to receive the signals 440a, 442a and configured to generate an arctangent of the two signals as an output signal 446a representative of a pointing direction of the magnetic field in an x-y plane in which the x sensor and a y sensor 424, 428 respectively, are sensitive.
Is should be recognized that the circuit 420 is operable to select values from the signal 438 so that, over time, an average of the signal 432 is zero. The arctangent of the number of zeroes divided by the number of ones is representative of the input angle, provided the angle remains between 0 and 90 degrees. Other switching arrangements and other similar circuits can be used to resolve angles from ninety to three hundred sixty degrees.
A graph 448 has a vector representative of a value of the signal 440a. A graph 450 has a vector representative of a value of the signal 442a. A graph 452 has a vector representative of the arctangent of the signals 398a, 408a.
It will be understood that the circuits 390, 420 of
The circuit 420 of
While the circuits 390, 420 show magnetic field sensing elements, the circuits 390, 420 can be used with any type of sensing elements or with any type of measuring devices that have directional responses. While circuits and techniques are described above that use circuit topologies that are described to be similar to a sigma-delta converter, it should be understood that other circuit topologies can be used, each or which can generate and index value signal similar to the index value signals described in conjunction with
All references cited herein are hereby incorporated herein by reference in their entirety.
Having described preferred embodiments, which serve to illustrate various concepts, structures and techniques, which are the subject of this patent, it will now become apparent to those of ordinary skill in the art that other embodiments incorporating these concepts, structures and techniques may be used. Accordingly, it is submitted that that scope of the patent should not be limited to the described embodiments but rather should be limited only by the spirit and scope of the following claims.