US20210148734A1 - Absolute angle sensor with improved accurancy using error estimation - Google Patents
Absolute angle sensor with improved accurancy using error estimation Download PDFInfo
- Publication number
- US20210148734A1 US20210148734A1 US16/689,494 US201916689494A US2021148734A1 US 20210148734 A1 US20210148734 A1 US 20210148734A1 US 201916689494 A US201916689494 A US 201916689494A US 2021148734 A1 US2021148734 A1 US 2021148734A1
- Authority
- US
- United States
- Prior art keywords
- angle
- track
- sensor
- periodic
- magnetic field
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/244—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
- G01D5/24471—Error correction
- G01D5/24476—Signal processing
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/14—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
- G01D5/142—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage using Hall-effect devices
- G01D5/145—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage using Hall-effect devices influenced by the relative movement between the Hall device and magnetic fields
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/244—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
- G01D5/24471—Error correction
- G01D5/24485—Error correction using other sensors
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/244—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
- G01D5/24471—Error correction
- G01D5/2449—Error correction using hard-stored calibration data
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/244—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
- G01D5/245—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains using a variable number of pulses in a train
- G01D5/2451—Incremental encoders
- G01D5/2452—Incremental encoders incorporating two or more tracks having an (n, n+1, ...) relationship
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/244—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
- G01D5/245—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains using a variable number of pulses in a train
- G01D5/2454—Encoders incorporating incremental and absolute signals
Definitions
- sensors are used in various types of devices to measure and monitor properties of systems in a wide variety of applications.
- sensors have become common in products that rely on electronics in their operation, such as automotive and motor control systems.
- Angle sensors can be used to provide angular position information and rotational speed of a target such as a rotational shaft or other rotational member. These sensors can be used in a wide array of applications such as industrial automation, robotics, power steering, motor position sensing and various vehicle applications such as seatbelt motor systems, transmission actuators, shift-by-wire systems, electronic braking systems and throttle systems.
- angle sensors can be degraded by various factors.
- an angle sensor may be subject to errors introduced during the manufacturing process, by non-linearities within the sensor's magnetic field sensing elements, or resulting from sensitivity to temperature variations.
- individual sensor errors can sum together and propagate through the system, adversely affecting overall system accuracy and performance.
- an absolute angle sensor can include: a first periodic angle sensor configured to generate a first periodic angle signal indicative of an angle of a first magnetic field associated with a first track of a target; a second periodic angle sensor configured to generate a second periodic angle signal indicative of an angle of a second magnetic field associated with a second track of the target; an absolute angle processor responsive to the first and second periodic angle signals and configured to generate an uncorrected absolute angle signal indicative of an absolute angle of the target; and an error correction processor.
- the error correction processor may be configured to: determine an estimated error associated with the uncorrected absolute angle signal using the first and second periodic angle signals, and subtract the estimated error from the uncorrected absolute angle to generate a corrected absolute angle signal.
- the first track can have a first number of features and the second track can have a second number of features different from the first number. In some embodiments, the first number of features may be one greater than the second number of features.
- the absolute angle processor may be configured to generate the uncorrected absolute angle signal using the Nonius principle.
- the error correction processor may be configured to determine the estimated error by calculating a difference of (a) a product of the first periodic angle signal and the second number of features and (b) a product of the second periodic angle signal and the first number of features.
- the error correction processor can be configured to determine the estimated error using one or more error constants.
- the sensor may further include a memory element configured to store the one or more error constants.
- the first periodic angle sensor may include a first magnetic field sensing element configured to generate a first magnetic field signal responsive to the first track and a second magnetic field sensing element configured to generate a second magnetic field signal responsive to the first track and orthogonal to the first magnetic field signal.
- the second periodic angle sensor may include a third magnetic field sensing element configured to generate a third magnetic field signal responsive to the second track and a fourth magnetic field sensing element configured to generate a fourth magnetic field signal responsive to the second track and orthogonal to the third magnetic field signal.
- the target may be provided as a gear having a first number of gear teeth corresponding to the first track and a second different number of gear teeth corresponding to the second track.
- the target can include a first structure supporting the first track and a second structure supporting the second track, wherein the first and second structures are separate structures.
- a method can include: receiving, by an angle sensor, a first periodic angle signal indicative of an angle of a first magnetic field associated with a first track of a target; receiving, by the angle sensor, a second periodic angle signal indicative of an angle of a second magnetic field associated with a second track of the target; generating an uncorrected absolute angle signal indicative of an absolute angle of the target based on the first and second periodic angle signals; estimating an error associated with the uncorrected absolute angle signal using the first and second periodic angle signals; subtracting the estimated error from the uncorrected absolute angle to generate a corrected absolute angle signal; and providing the corrected absolute angle signal as output of the angle sensor.
- the first track can have a first number of features and the second track can have a second number of features different from the first number. In some embodiments, the first number of features may be one greater than the second number of features. In some embodiments, generating the uncorrected absolute angle signal can include using the Nonius principle.
- estimating the error associated with the uncorrected absolute angle signal can include calculating a difference of (a) a product of the first periodic angle signal and the second number of features and (b) a product of the second periodic angle signal and the first number of features. In some embodiments, estimating the error associated with the uncorrected absolute angle signal may include using one or more error constants. In some embodiments, the method can include retrieving the one or more error constants from a memory element of the angle sensor.
- the target may be provided a gear having a first number of gear teeth corresponding to the first track and a second different number of gear teeth corresponding to the second track.
- the target can include a first structure supporting the first track and a second structure supporting the second track, wherein the first and second structures are separate structures.
- an absolute angle sensor can include: means for receiving a first periodic angle signal indicative of an angle of a first magnetic field associated with a first track of a target; means for receiving a second periodic angle signal indicative of an angle of a second magnetic field associated with a second track of the target; means for generating an uncorrected absolute angle signal indicative of an absolute angle of the target based on the first and second periodic angle signals; means for estimating an error associated with the uncorrected absolute angle signal using the first and second periodic angle signals; means for subtracting the estimated error from the uncorrected absolute angle to generate a corrected absolute angle signal; and means for providing the corrected absolute angle signal as output of the angle sensor.
- module generally refers to a collection of hardware and/or software configured to perform and execute the processes, steps, or other functionality described in conjunction therewith.
- FIG. 1 is a block diagram showing a periodic angle sensor that may be used within some embodiments of the present disclosure.
- FIG. 2 is a graphical diagram illustrating a technique that can be used within the periodic angle sensor, according to some embodiments of the present disclosure.
- FIG. 3 is a block diagram showing an absolute angle sensor, according to an embodiment of the present disclosure.
- FIGS. 4A, 4B, and 4C are graphical diagrams illustrating a technique for determining absolute angle information within an absolute angle sensor, according to some embodiments of the present disclosure.
- FIGS. 5A, 5B, and 5C are graphical diagrams illustrating an error correction technique that can be used within an absolute angle sensor, according to some embodiments of the present disclosure.
- FIG. 6 is a flow diagram showing an illustrative process that may be implemented within an absolute angle sensor, according to some embodiments of the present disclosure.
- Described embodiments estimate and correct for errors associated with using the Nonius principle to determine the absolute angular or linear position of a target, resulting in improved accuracy. While embodiments of the present disclosure may be described in the context of sensors for providing angular position information, the techniques and structures sought to be protected herein may applied to sensors that provide other types of linear or angular information associated with a target, including but not limited to linear position, angular speed, and linear movement.
- an angle sensor 10 may be used to provide angular position information for a target 12 by sensing a magnetic field associated with the target.
- angle sensor 10 can include first and second magnetic field sensing elements 40 , 45 coupled to respective sensing channels 60 , 70 , and an angle calculator 50 .
- angle sensor 10 may further include a quadrature compensation processor 52 , as shown in FIG. 1 .
- Each magnetic field sensing element (or “sensing element”) 40 , 45 may be configured to detect a magnetic field associated with the target 12 .
- sensing elements 40 , 45 can detect advance and retreat of features of the target, such as domains of a ring magnet or teeth of a gear.
- the target features can be ferromagnetic and the magnetic field affected by movement of the target can be generated by a permanent magnet sometimes referred to as a back-bias magnet. Alternatively, the target features can be provided by a permanent magnet.
- Sensor 10 can provide angular position information for various types of targets 12 , including but not limited rotating targets such as a gear or magnet attached to a shaft.
- targets 12 including but not limited rotating targets such as a gear or magnet attached to a shaft.
- the structures and techniques sought to be disclosed herein can be used to provide angular position information for targets of various sizes and geometries.
- embodiments of the present disclosure may be used to calculate the absolute angle of a rotating target having two tracks with differing numbers of features (e.g., gear teeth).
- the angle sensor 10 can be used to sense the angular position of a target 12 using magnetic field sensing elements 40 , 45 to detect a magnetic field and output magnetic field signals representative of the sensed magnetic field.
- Magnetic field sensing elements 40 , 45 can be a magneto-transistor or magnetoresistance element, or a semiconductor magnetoresistance element such as an anisotropic magnetoresistance (AMR) sensing element, a giant magnetoresistance (GMR) sensing element, tunnel-magnetoresistance (TMR) sensing element, a magnetic tunnel junction (MTJ) sensing element, Indium Antimonide (InSb) or a Hall Effect element.
- the magnetic field sensing element can be arranged to form a circular vertical hall (CVH) sensing element which can include a circular body with a plurality of Hall Effect elements disposed thereon and around the circumference of the circular body.
- CVH circular vertical hall
- angle sensor 10 can have a first (or “X”) sensing channel 60 that receives and processes raw sensor output from first magnetic field sensing element 40 , and a second (or “Y”) sensing channel 70 that receives and processes raw sensor output from second magnetic field sensing element 45 .
- This raw sensor output can be magnetic field signals generated by the magnetic field sensing elements 40 , 45 .
- the magnetic field sensing elements 40 , 45 can be configured such that the respective signals 42 , 46 have a predefined phase separation (e.g., 90°).
- first sensing element 40 may generate a cosine signal 42 and second sensing element 45 may generate a sine signal 46 .
- the phase separation of signals 42 , 46 can depend the arrangement of features on the target (e.g., tooth pitch) and the orientation of the sensing elements 40 , 45 .
- Each sensing channel 60 , 70 can include a series of circuits or components that process the magnetic field signals from the respective sensing elements 40 , 45 .
- each sensing channel 60 , 70 can include an analog front end (AFE) having a filter, an amplifier, and/or other circuit element configured to attenuate or amplify amplitudes or filter frequencies.
- the AFE may receive the magnetic field signals and output modified magnetic field signals to an analog-to-digital converter (ADC) to digitize the magnetic field signals.
- ADC analog-to-digital converter
- Digital filtering circuitry and error correction circuitry included within the sensing channels 60 , 70 can receive the digitized magnetic field signals and error correct the digitized signals.
- the digital filtering circuit performs offset correction, sensitivity mismatch compensation, and non-orthogonality compensation. In some embodiments, the digital filtering circuit normalizes signals 42 , 46 to have zero offset and to have substantially identical amplitude. It should be appreciated that while FIG. 1 illustrates two magnetic field sensing elements 40 , 45 , angle sensor 10 can include more than two magnetic field sensing elements.
- quadrature compensation processor 52 may be used to compensate for the case where signals 42 , 46 are not orthogonal (i.e., not offset by 90 degrees).
- quadrature compensation processor 52 can receive digitized magnetic field signals 62 , 72 from respective sensing channels 60 , 70 and, in response, generate corresponding quadrature compensated signals 63 , 73 that are offset by 90 degrees.
- the quadrature compensated signals 63 , 73 may be received by angle calculator 50 as shown in FIG. 1 .
- quadrature compensation processor 52 may be omitted from the sensor 10 and angle processor 50 may directly receive digitized magnetic field signals 62 , 72 .
- Angle calculator 50 receives digitized magnetic field signals 62 , 72 from respective sensing channels 60 , 70 (or quadrature compensated signals 63 , 73 from processor 52 ) and uses the received signals to generate an output signal 140 .
- Output signal 140 generated by the angle calculator 50 represents aspects of the sensed magnetic field such as the angular position of target 12 .
- signal 62 or 63 may be a cosine signal
- signal 72 or 73 may be a sine signal
- angle calculator 50 can calculate an angle of target 12 as the arctangent of the cosine and sine signals.
- Angle calculator 50 can be a circuit comprising one or more logic gates, or a processor configured to compute trigonometric, exponential and logarithmic functions.
- angle calculator 50 can be provided as a coordinate rotation digital computer (CORDIC) processor configured to compute an arctangent function.
- CORDIC coordinate rotation digital computer
- output signal 140 may have a periodicity equal to the number (N) of features.
- output signal 140 may indicate N periodic changes or oscillations in angular position corresponding to the advance/retreat of the N features.
- angle sensor 10 may be referred to herein as a periodic angle sensor 10 and its output signal 140 may be referred to as a periodic angle signal 140 .
- periodic angle signal refers to a sinusoidal or other oscillating signal generated in response to a rotating target where the period of the signal is less than the period of rotation.
- the output signal from an angle sensor may be subject to various errors and inconsistencies that degrade the sensor's accuracy.
- Manufacturing or fabrication inconsistencies can include device errors associated with manufacture of the angle sensor. These factory errors can include, for example: non-linearities present within the magnetic field sensing elements (e.g., magnetic field sensing elements 40 , 45 ); sensitivity variations of the sensing elements as a result of temperature changes or aging of the device; and non-orthogonality between the sensing channels of the sensing elements (e.g., sensing channels 60 , 70 ).
- Application errors or system errors can include errors that are created when the angle sensor is used in a particular application.
- errors can be any non-linearity generated over the angle sensor output as a result of mounting the angle sensor on an application board.
- the angle sensor can be installed on an application board such that the angle sensor is placed outside of a rotation axis of a rotating target.
- the out-of-rotation-axis placement causes the angle sensor to generate a non-linear transfer function of the magnetic angle versus the device output despite being used as a linear sensor.
- application errors can be created when the angle sensor is used in an atypical manner such as when the angle sensor is used as a linear sensor thereby causing a non-linear transfer function of the angle versus the output.
- Still other types of errors are created when the angle sensor does not conform to an application's performance requirements or errors introduced by using the angle sensor in a system that operates at a certain speed, temperature, pressure or other similar parameter.
- FIG. 2 illustrates a periodic angle signal that can be generated by a periodic angle sensor, such as sensor 10 of FIG. 1 .
- X and Y signals 202 , 204 may correspond to signals generated by two magnetic field sensing elements (e.g., elements 40 and 45 of FIG. 1 ) in the presence of a moving target having a plurality of features such as gear teeth.
- the X and Y channel signals 202 , 204 can be used to calculate a periodic angle signal 206 having periodicity equal to the number of features.
- an angle sensor 300 can be used to accurately determine the absolute angular position of a target 320 using the Nonius principle and a technique for estimating and correcting associated errors.
- the illustrative sensor 300 can include a first periodic angle sensor 302 , a second periodic angle sensor 304 , an absolute angle calculator circuit (or “absolute angle calculator”) 306 , and error correction circuit (or “error corrector”) 308 .
- circuit 306 and/or circuit 308 may be implemented within a digital signal processor (DSP).
- DSP digital signal processor
- Each periodic angle sensor 302 , 304 may be the same as or similar to sensor 10 described above in the context of FIG. 1 . That is, each sensor 302 , 304 can include a pair of magnetic field sensing elements configured to generate respective cosine and sine signals, along with circuitry to calculate a magnetic field angle based on these signals. Thus, in some embodiments, sensor 300 may include at least four (4) magnetic field sensing elements. Sensors 302 , 304 can be provided as separate integrated circuits (IC) packages or as a single IC package. In some embodiments, the two pairs of magnetic field sensing elements along with circuits 306 , 308 may be provided on a signal chip.
- IC integrated circuits
- Target 320 may be a rotating structure having two tracks of features (e.g., teeth) 322 and 324 , as shown in FIG. 1 .
- tracks 322 , 324 may be located on separate rotating structures having substantially the same axis of rotation and angular velocity.
- a first track 322 may have a first number (N) of features and a second track 324 may have a second different number (M) of features.
- the features On a given track 322 , 324 , the features may be spaced approximately even along the length of the track.
- the features may be gear teeth may have a rectangular shape, such as shown in FIG. 3 , or a rounded shape.
- the features on track 322 can have substantially the same shape and size as those on track 324 .
- the values of M and N can be selected to suit a particular application and, in particular, may be based at least in part on the diameter of the target and the spacing of the sensing elements.
- First periodic angle sensor 302 may be configured to generate a first periodic angle signal 310 responsive to the first track 322
- second periodic angle sensor 304 may be configured generated a second periodic angle signal 312 responsive to the second track 324
- the two tracks 322 , 324 (or two targets) may be physically separated at a distance selected to avoid crosstalk between the two magnetic field sensing channels (e.g., between sensors 302 and 304 ).
- each periodic angle signal 310 , 312 may have a periodicity equal to the number of features on its respective sensed track 322 , 324 .
- signal 310 can have a periodicity of N
- Absolute angle calculator 306 is configured to generate an absolute angle signal 314 based on the two periodic angle signals 310 , 312 .
- Signal 314 may also be referred to as an “uncorrected absolute angle signal.”
- the absolute angular position or, in other examples, linear position
- the difference between the periodic angle information ( ⁇ a ) provided by first sensor 302 responsive to first track 322 and the periodic angle information ( ⁇ b ) provided by second sensor 304 responsive to second track 324 can be used to calculate the target's absolute angle ( ⁇ abs ) according to Nonius principle:
- ⁇ abs , ⁇ a , and ⁇ b can represent angular position in degrees (°).
- periodic angle signals 310 , 312 may include manufacturing errors and/or application errors introduced in respective periodic sensors 302 , 304 . If the absolute angle ( ⁇ abs ) is calculated from the two periodic angles ( ⁇ a , ⁇ b ), as in Eq. 1, the absolute angle signal 314 will, in the worst case, have an error that is equal to the sum of errors introduced by periodic sensors 302 , 304 .
- error corrector 308 can be configured to estimate and correct for errors in the absolute angle calculation of Eq. 1, above.
- the error of the absolute angle generated using the Nonius principle can be estimated as:
- E estimated 2 ⁇ ( [ ( ⁇ a ⁇ M - ⁇ b ⁇ N ) + C ] ⁇ ⁇ modulo ⁇ ⁇ 360 ) M + N - D ( Eq . ⁇ 2 )
- N is the number of features on the track associated with periodic angle ⁇ a
- M is the number of features on the track associated with periodic angle ⁇ b
- C and D are first and second error constants.
- M N ⁇ 1.
- the estimated error (E estimated ) from Eq. 2 may be “well matched” to the actual or intrinsic error resulting from using the Nonius principle to calculate absolute angle.
- the first error constant, C may be selected in an application-dependent manner, before, during, or after manufacture.
- C may be chosen as the value that minizines absolute angle error through application-dependent experimentation using the sensor 300 .
- the second error constant, D may likewise be selected empirically.
- D may be calculated as:
- Eq. 3 shows one example where the second error constant (or “offset”) D is calculated as a function of the first error constant C, in other embodiments D may be an chosen irrespective of C (i.e., the two error constants may be chosen independently and can each be arbitrary values).
- parameters N, M, C and/or D can be stored locally within a memory element (not shown) of the angle sensor 300 .
- a memory element not shown
- one or more of these parameters can be stored onboard the angle sensor 300 within an electronically erasable programmable read-only memory (EEPROM) or any other memory element such that the value is accessible during error correction procedures.
- EEPROM electronically erasable programmable read-only memory
- one or more of these parameters can be stored remotely in a separate memory element.
- angle sensor 300 can access the stored parameters through a physical or wireless communication connection, such as a serial cable, a USB cable, an ethernet cable, a wireless network connection or any other similar type of connection.
- Error correction circuit 308 can provide the corrected absolute angle ( ⁇ abs_corrected ) as the output signal 316 the sensor.
- Signal 316 may also be referred to as a “corrected absolute angle signal.”
- angle sensor 300 can provide absolute angular or linear position information of a target 320 with greater accuracy compared to existing sensors.
- FIGS. 4A, 4B, and 4C illustrate how the Nonius principle can be used to determine the absolute angular position of a target having a first track with nine (9) features (e.g., gear teeth) and a second track with ten (10) features.
- 9 features e.g., gear teeth
- 10 features e.g., ten
- FIG. 4A illustrates the output of a pair of magnetic sensing elements (e.g., elements 40 and 45 of FIG. 1 ) configured to generate phase-separated sinusoidal signals responsive to a rotating target with nine (9) features.
- a first curve 402 may correspond to the output of a first sensing element or first sensing channel (e.g., X channel 60 in FIG. 1 ).
- a second curve 404 may correspond to the output of a second sensing element or second sensing channel (e.g., Y channel 70 in FIG. 1 ).
- Curves 402 , 404 periodically oscillate between the values ⁇ 1 and 1 (represented by vertical axis 406 ) over a 360° rotation of the first target track. It can be seen that the number of oscillations in FIG.
- FIG. 4A equals to the number of features (9) on the first target target track being sensed.
- FIG. 4B likewise shows a plot 420 of magnetic field sensing outputs 422 , 424 with a periodicity of ten (10) over a 360° rotation of the second target track.
- a plot 440 illustrates how an absolute position of a target can be calculated from two periodic angle signals.
- a first curve 442 may correspond to the output of a periodic angle sensor (e.g., sensor 10 of FIG. 1 ) in response to a rotating target track having nine (9) features
- a second curve 444 may correspond to the output of a periodic angle sensor responsive to a target track having ten (10) features.
- curves 442 and 444 may be calculated based on the sensed magnetic field signals shown in FIGS. 4A and 4B , respectively.
- Curves 442 , 444 periodically oscillate between ⁇ 180° and 180° (represented by vertical axis 446 ) over a 360° rotation of the target (represented by horizontal axis 448 ) with first curve 442 having a periodicity of nine (9) and second curve 444 having a periodicity of ten (10).
- An absolute angle curve 450 may be calculated, for example, using Eq. 1 described above.
- FIGS. 5A, 5B, 5C illustrate how errors introduced in a periodic angle sensor can degrade the accuracy of an absolute angle calculation based on the Nonius principle, along with technique for correcting such errors.
- a first curve 502 may correspond to the output of a periodic angle sensor (e.g., sensor 10 of FIG. 1 ) in response to a target track having nine (9) features
- a second curve 504 may correspond to the output of a periodic angle sensor in response to a target track having ten (10) features
- a third curve 506 may correspond to the absolute angle calculated based on curves 502 and 504 (e.g., using Eq. 1 above).
- the resulting absolute angle curve 506 may be non-linear due to errors introduced in one or both of the periodic angle sensors.
- a first curve 522 may represent the real or intrinsic error in an absolute angle calculation (e.g., the error in curve 506 of FIG. 5A ).
- the real error 522 may periodically oscillate between zero and a maximum value (represented by vertical axis 526 ) over a 360° rotation of the target (represented by horizontal axis 528 ).
- the absolute angle error 522 may have a periodicity of eighteen (18).
- a second curve 524 may represent the estimated angle error (E estimated ) determined, for example, using Eq. 2 above.
- a plot 540 includes a first curve 542 representing the uncorrected absolute angle ( ⁇ abs ) and a second curve 554 representing the corrected absolute angle ( ⁇ abs_corrected ), which can be generated, for example, using Eq. 4 above. It can be seen in the figure that corrected angle 554 has increased linearity compared with the uncorrected angle 542 .
- FIG. 6 shows an illustrative process 600 for improving the accuracy of absolute angle sensors, according to embodiments of the present disclosure.
- Process 600 may be implemented within an angle sensor, such as within angle sensor 300 of FIG. 3 .
- process 600 may be implemented within one or more circuits or processors, such as circuits 306 and 308 in FIG. 3 .
- first and second periodic angle signals may be received from respective first and second periodic angle sensors (e.g., angle sensors 302 , 304 in FIG. 3 ).
- Each of the periodic angle signals may be generated using a pair of magnetic field sensing elements configured to generate phase-separated sinusoidal signals (e.g., sine and cosine signals) in response to a magnetic field.
- the first periodic angle signal may be responsive to a first track of a target having a first number (N) of features (e.g., gear teeth).
- the two tracks may be parts of the same target structure or may be parts of separate structures.
- an absolute angle signal may be generated based on the first and second periodic angle signals.
- the absolute angle may be calculated using the Nonius principle and, in certain embodiments, using Eq. 1 above.
- the absolute angle signal indicates the angular position of the target, e.g., between 0° and 360°.
- the signal may be non-linear due to errors introduced in the magnetic field sensing elements or respective circuitry used to calculate the first and second periodic angle signals.
- errors associated with calculating the absolute angle signal may be estimated.
- Eq. 2 may be used to estimate these errors.
- one or more error constants e.g., constant C and/or D in Eq. 2 may be retrieved from a memory element of the sensor and used as part the error estimation.
- the estimated error can be calculated as a continuous signal or as a discrete series of values.
- the estimated error signal/values may be subtracted from the absolute angle signal to generate a corrected absolute angle signal (e.g., using Eq. 4).
- the corrected signal may be provided as the sensor output.
- the disclosed magnetic field sensor embodiments can be 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 (or movement detector) that senses passing ferromagnetic articles, for example, magnetic domains of a ring magnet or a ferromagnetic target (e.g., gear teeth) where the magnetic field sensor is used in combination with a back-bias or other magnet, and a magnetic field sensor that senses a magnetic field density of a magnetic field.
- the disclosed magnetic field sensors can be used, for example, to determine phase information within vehicle engines.
- circuit and “processor” are used to describe electronic circuitry that performs a function, an operation, or a sequence of operations.
- the function, operation, or sequence of operations can be hard coded into the electronic circuit or soft coded by way of instructions held in a memory device.
- the function, operation, or sequence of operations can be performed using digital values or using analog signals.
- the circuit or processor can be embodied in an application specific integrated circuit (ASIC), which can be an analog ASIC or a digital ASIC, in a microprocessor with associated program memory and/or in a discrete electronic circuit, which can be analog or digital.
- a circuit processor can contain internal processors or modules that perform portions of the function, operation, or sequence of operations.
- a module can contain internal processors or internal modules that perform portions of the function, operation, or sequence of operations of the module.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Transmission And Conversion Of Sensor Element Output (AREA)
Abstract
Description
- As is known, sensors are used in various types of devices to measure and monitor properties of systems in a wide variety of applications. For example, sensors have become common in products that rely on electronics in their operation, such as automotive and motor control systems.
- Angle sensors can be used to provide angular position information and rotational speed of a target such as a rotational shaft or other rotational member. These sensors can be used in a wide array of applications such as industrial automation, robotics, power steering, motor position sensing and various vehicle applications such as seatbelt motor systems, transmission actuators, shift-by-wire systems, electronic braking systems and throttle systems.
- Given a target having two tracks of features—or two targets, each with a single track of features—where the number of features (i.e., the number of magnetic poles) differs, it is possible to determine the absolute angular or linear position of the target using the Nonius principle. Along the lengths of the tracks, there is a continuing shift of pole alignment between the two tracks. Each target or track provides position information with the same periodicity as the number of poles. The absolute angular position of the target can be determined based on the difference in information provided by the two tracks, according to the Nonius principle.
- The accuracy of angle sensors can be degraded by various factors. For example, an angle sensor may be subject to errors introduced during the manufacturing process, by non-linearities within the sensor's magnetic field sensing elements, or resulting from sensitivity to temperature variations. Moreover, in systems having multiple angle sensors, individual sensor errors can sum together and propagate through the system, adversely affecting overall system accuracy and performance.
- According to one aspect of the present disclosure, an absolute angle sensor can include: a first periodic angle sensor configured to generate a first periodic angle signal indicative of an angle of a first magnetic field associated with a first track of a target; a second periodic angle sensor configured to generate a second periodic angle signal indicative of an angle of a second magnetic field associated with a second track of the target; an absolute angle processor responsive to the first and second periodic angle signals and configured to generate an uncorrected absolute angle signal indicative of an absolute angle of the target; and an error correction processor. The error correction processor may be configured to: determine an estimated error associated with the uncorrected absolute angle signal using the first and second periodic angle signals, and subtract the estimated error from the uncorrected absolute angle to generate a corrected absolute angle signal.
- In some embodiments, the first track can have a first number of features and the second track can have a second number of features different from the first number. In some embodiments, the first number of features may be one greater than the second number of features. In some embodiments, the absolute angle processor may be configured to generate the uncorrected absolute angle signal using the Nonius principle. In some embodiments, the error correction processor may be configured to determine the estimated error by calculating a difference of (a) a product of the first periodic angle signal and the second number of features and (b) a product of the second periodic angle signal and the first number of features. In some embodiments, the error correction processor can be configured to determine the estimated error using one or more error constants. In some embodiments, the sensor may further include a memory element configured to store the one or more error constants.
- In some embodiments, the first periodic angle sensor may include a first magnetic field sensing element configured to generate a first magnetic field signal responsive to the first track and a second magnetic field sensing element configured to generate a second magnetic field signal responsive to the first track and orthogonal to the first magnetic field signal. In some embodiments, the second periodic angle sensor may include a third magnetic field sensing element configured to generate a third magnetic field signal responsive to the second track and a fourth magnetic field sensing element configured to generate a fourth magnetic field signal responsive to the second track and orthogonal to the third magnetic field signal.
- In some embodiments, the target may be provided as a gear having a first number of gear teeth corresponding to the first track and a second different number of gear teeth corresponding to the second track. In some embodiments, the target can include a first structure supporting the first track and a second structure supporting the second track, wherein the first and second structures are separate structures.
- According to another aspect of the present disclosure, a method can include: receiving, by an angle sensor, a first periodic angle signal indicative of an angle of a first magnetic field associated with a first track of a target; receiving, by the angle sensor, a second periodic angle signal indicative of an angle of a second magnetic field associated with a second track of the target; generating an uncorrected absolute angle signal indicative of an absolute angle of the target based on the first and second periodic angle signals; estimating an error associated with the uncorrected absolute angle signal using the first and second periodic angle signals; subtracting the estimated error from the uncorrected absolute angle to generate a corrected absolute angle signal; and providing the corrected absolute angle signal as output of the angle sensor.
- In some embodiments, the first track can have a first number of features and the second track can have a second number of features different from the first number. In some embodiments, the first number of features may be one greater than the second number of features. In some embodiments, generating the uncorrected absolute angle signal can include using the Nonius principle.
- In some embodiments, estimating the error associated with the uncorrected absolute angle signal can include calculating a difference of (a) a product of the first periodic angle signal and the second number of features and (b) a product of the second periodic angle signal and the first number of features. In some embodiments, estimating the error associated with the uncorrected absolute angle signal may include using one or more error constants. In some embodiments, the method can include retrieving the one or more error constants from a memory element of the angle sensor.
- In some embodiments, the target may be provided a gear having a first number of gear teeth corresponding to the first track and a second different number of gear teeth corresponding to the second track. In some embodiments, the target can include a first structure supporting the first track and a second structure supporting the second track, wherein the first and second structures are separate structures.
- According to another aspect of the present disclosure, an absolute angle sensor can include: means for receiving a first periodic angle signal indicative of an angle of a first magnetic field associated with a first track of a target; means for receiving a second periodic angle signal indicative of an angle of a second magnetic field associated with a second track of the target; means for generating an uncorrected absolute angle signal indicative of an absolute angle of the target based on the first and second periodic angle signals; means for estimating an error associated with the uncorrected absolute angle signal using the first and second periodic angle signals; means for subtracting the estimated error from the uncorrected absolute angle to generate a corrected absolute angle signal; and means for providing the corrected absolute angle signal as output of the angle sensor.
- Various objectives, features, and advantages of the disclosed subject matter can be more fully appreciated with reference to the following detailed description of the disclosed subject matter when considered in connection with the following drawings, in which like reference numerals identify like elements.
- As used herein, the term “module” generally refers to a collection of hardware and/or software configured to perform and execute the processes, steps, or other functionality described in conjunction therewith.
-
FIG. 1 is a block diagram showing a periodic angle sensor that may be used within some embodiments of the present disclosure. -
FIG. 2 is a graphical diagram illustrating a technique that can be used within the periodic angle sensor, according to some embodiments of the present disclosure. -
FIG. 3 is a block diagram showing an absolute angle sensor, according to an embodiment of the present disclosure. -
FIGS. 4A, 4B, and 4C are graphical diagrams illustrating a technique for determining absolute angle information within an absolute angle sensor, according to some embodiments of the present disclosure. -
FIGS. 5A, 5B, and 5C are graphical diagrams illustrating an error correction technique that can be used within an absolute angle sensor, according to some embodiments of the present disclosure. -
FIG. 6 is a flow diagram showing an illustrative process that may be implemented within an absolute angle sensor, according to some embodiments of the present disclosure. - The drawings are not necessarily to scale, or inclusive of all elements of a system, emphasis instead generally being placed upon illustrating the concepts, structures, and techniques sought to be protected herein.
- Described embodiments estimate and correct for errors associated with using the Nonius principle to determine the absolute angular or linear position of a target, resulting in improved accuracy. While embodiments of the present disclosure may be described in the context of sensors for providing angular position information, the techniques and structures sought to be protected herein may applied to sensors that provide other types of linear or angular information associated with a target, including but not limited to linear position, angular speed, and linear movement.
- Referring in
FIG. 1 , anangle sensor 10 may be used to provide angular position information for atarget 12 by sensing a magnetic field associated with the target. As shown inFIG. 1 ,angle sensor 10 can include first and second magnetic 40, 45 coupled tofield sensing elements 60, 70, and anrespective sensing channels angle calculator 50. In some embodiments,angle sensor 10 may further include aquadrature compensation processor 52, as shown inFIG. 1 . Each magnetic field sensing element (or “sensing element”) 40, 45 may be configured to detect a magnetic field associated with thetarget 12. For example, sensing 40, 45 can detect advance and retreat of features of the target, such as domains of a ring magnet or teeth of a gear. The target features can be ferromagnetic and the magnetic field affected by movement of the target can be generated by a permanent magnet sometimes referred to as a back-bias magnet. Alternatively, the target features can be provided by a permanent magnet.elements -
Sensor 10 can provide angular position information for various types oftargets 12, including but not limited rotating targets such as a gear or magnet attached to a shaft. The structures and techniques sought to be disclosed herein can be used to provide angular position information for targets of various sizes and geometries. As discussed in detail below in the context ofFIG. 3 , embodiments of the present disclosure may be used to calculate the absolute angle of a rotating target having two tracks with differing numbers of features (e.g., gear teeth). - The
angle sensor 10 can be used to sense the angular position of atarget 12 using magnetic 40, 45 to detect a magnetic field and output magnetic field signals representative of the sensed magnetic field. Magneticfield sensing elements 40, 45 can be a magneto-transistor or magnetoresistance element, or a semiconductor magnetoresistance element such as an anisotropic magnetoresistance (AMR) sensing element, a giant magnetoresistance (GMR) sensing element, tunnel-magnetoresistance (TMR) sensing element, a magnetic tunnel junction (MTJ) sensing element, Indium Antimonide (InSb) or a Hall Effect element. In some embodiments, the magnetic field sensing element can be arranged to form a circular vertical hall (CVH) sensing element which can include a circular body with a plurality of Hall Effect elements disposed thereon and around the circumference of the circular body.field sensing elements - Further referring to
FIG. 1 ,angle sensor 10 can have a first (or “X”) sensingchannel 60 that receives and processes raw sensor output from first magneticfield sensing element 40, and a second (or “Y”)sensing channel 70 that receives and processes raw sensor output from second magneticfield sensing element 45. This raw sensor output can be magnetic field signals generated by the magnetic 40, 45. Asfield sensing elements target 12 rotates, its teeth or other features advance and retreat relative to the 40, 45 and, in response, thesensing elements 40, 45 generate sinusoidal-sensing elements 42, 46. The magneticlike signals 40, 45 can be configured such that thefield sensing elements 42, 46 have a predefined phase separation (e.g., 90°). For example,respective signals first sensing element 40 may generate acosine signal 42 andsecond sensing element 45 may generate asine signal 46. The phase separation of 42, 46 can depend the arrangement of features on the target (e.g., tooth pitch) and the orientation of thesignals 40, 45.sensing elements - Each
60, 70 can include a series of circuits or components that process the magnetic field signals from thesensing channel 40, 45. For example, as shown inrespective sensing elements FIG. 1 , each sensing 60, 70 can include an analog front end (AFE) having a filter, an amplifier, and/or other circuit element configured to attenuate or amplify amplitudes or filter frequencies. The AFE may receive the magnetic field signals and output modified magnetic field signals to an analog-to-digital converter (ADC) to digitize the magnetic field signals. Digital filtering circuitry and error correction circuitry included within thechannel 60, 70 can receive the digitized magnetic field signals and error correct the digitized signals. In some instances, the digital filtering circuit performs offset correction, sensitivity mismatch compensation, and non-orthogonality compensation. In some embodiments, the digital filtering circuit normalizessensing channels 42, 46 to have zero offset and to have substantially identical amplitude. It should be appreciated that whilesignals FIG. 1 illustrates two magnetic 40, 45,field sensing elements angle sensor 10 can include more than two magnetic field sensing elements. - In some embodiments,
quadrature compensation processor 52 may be used to compensate for the case where signals 42, 46 are not orthogonal (i.e., not offset by 90 degrees). In particular,quadrature compensation processor 52 can receive digitized magnetic field signals 62, 72 from 60, 70 and, in response, generate corresponding quadrature compensated signals 63, 73 that are offset by 90 degrees. The quadrature compensated signals 63, 73 may be received byrespective sensing channels angle calculator 50 as shown inFIG. 1 . In other embodiments,quadrature compensation processor 52 may be omitted from thesensor 10 andangle processor 50 may directly receive digitized magnetic field signals 62, 72. -
Angle calculator 50 receives digitized magnetic field signals 62, 72 fromrespective sensing channels 60, 70 (or quadrature compensated signals 63, 73 from processor 52) and uses the received signals to generate anoutput signal 140.Output signal 140 generated by theangle calculator 50 represents aspects of the sensed magnetic field such as the angular position oftarget 12. In some embodiments, signal 62 or 63 may be a cosine signal, signal 72 or 73 may be a sine signal, andangle calculator 50 can calculate an angle oftarget 12 as the arctangent of the cosine and sine signals.Angle calculator 50 can be a circuit comprising one or more logic gates, or a processor configured to compute trigonometric, exponential and logarithmic functions. In certain embodiments,angle calculator 50 can be provided as a coordinate rotation digital computer (CORDIC) processor configured to compute an arctangent function. - In the case where
target 12 is a rotating target having a plurality of features (e.g., teeth),output signal 140 may have a periodicity equal to the number (N) of features. In other words, for each 360° rotation oftarget 12,output signal 140 may indicate N periodic changes or oscillations in angular position corresponding to the advance/retreat of the N features. Accordingly,angle sensor 10 may be referred to herein as aperiodic angle sensor 10 and itsoutput signal 140 may be referred to as aperiodic angle signal 140. As used herein, the term “periodic angle signal” refers to a sinusoidal or other oscillating signal generated in response to a rotating target where the period of the signal is less than the period of rotation. - The output signal from an angle sensor, such as
angle sensor 10 ofFIG. 1 , may be subject to various errors and inconsistencies that degrade the sensor's accuracy. Manufacturing or fabrication inconsistencies, sometimes referred to as factory errors, can include device errors associated with manufacture of the angle sensor. These factory errors can include, for example: non-linearities present within the magnetic field sensing elements (e.g., magneticfield sensing elements 40, 45); sensitivity variations of the sensing elements as a result of temperature changes or aging of the device; and non-orthogonality between the sensing channels of the sensing elements (e.g., sensingchannels 60, 70). Application errors or system errors can include errors that are created when the angle sensor is used in a particular application. These errors can be any non-linearity generated over the angle sensor output as a result of mounting the angle sensor on an application board. For example, in certain applications the angle sensor can be installed on an application board such that the angle sensor is placed outside of a rotation axis of a rotating target. In this example, the out-of-rotation-axis placement causes the angle sensor to generate a non-linear transfer function of the magnetic angle versus the device output despite being used as a linear sensor. In other instances, application errors can be created when the angle sensor is used in an atypical manner such as when the angle sensor is used as a linear sensor thereby causing a non-linear transfer function of the angle versus the output. Still other types of errors are created when the angle sensor does not conform to an application's performance requirements or errors introduced by using the angle sensor in a system that operates at a certain speed, temperature, pressure or other similar parameter. -
FIG. 2 illustrates a periodic angle signal that can be generated by a periodic angle sensor, such assensor 10 ofFIG. 1 . X and Y signals 202, 204 may correspond to signals generated by two magnetic field sensing elements (e.g., 40 and 45 ofelements FIG. 1 ) in the presence of a moving target having a plurality of features such as gear teeth. The X and Y channel signals 202, 204 can be used to calculate aperiodic angle signal 206 having periodicity equal to the number of features. - Referring to
FIG. 3 , according to an embodiment of the present disclosure, anangle sensor 300 can be used to accurately determine the absolute angular position of atarget 320 using the Nonius principle and a technique for estimating and correcting associated errors. Theillustrative sensor 300 can include a firstperiodic angle sensor 302, a secondperiodic angle sensor 304, an absolute angle calculator circuit (or “absolute angle calculator”) 306, and error correction circuit (or “error corrector”) 308. In some embodiments,circuit 306 and/orcircuit 308 may be implemented within a digital signal processor (DSP). - Each
302, 304 may be the same as or similar toperiodic angle sensor sensor 10 described above in the context ofFIG. 1 . That is, each 302, 304 can include a pair of magnetic field sensing elements configured to generate respective cosine and sine signals, along with circuitry to calculate a magnetic field angle based on these signals. Thus, in some embodiments,sensor sensor 300 may include at least four (4) magnetic field sensing elements. 302, 304 can be provided as separate integrated circuits (IC) packages or as a single IC package. In some embodiments, the two pairs of magnetic field sensing elements along withSensors 306, 308 may be provided on a signal chip.circuits -
Target 320 may be a rotating structure having two tracks of features (e.g., teeth) 322 and 324, as shown inFIG. 1 . In other embodiments, tracks 322, 324 may be located on separate rotating structures having substantially the same axis of rotation and angular velocity. Afirst track 322 may have a first number (N) of features and asecond track 324 may have a second different number (M) of features. In some embodiments,first track 322 may have N teeth andsecond track 324 may have N−1 teeth (i.e., M=N−1). On a given 322, 324, the features may be spaced approximately even along the length of the track. In some embodiments, the features may be gear teeth may have a rectangular shape, such as shown intrack FIG. 3 , or a rounded shape. The features ontrack 322 can have substantially the same shape and size as those ontrack 324. The values of M and N can be selected to suit a particular application and, in particular, may be based at least in part on the diameter of the target and the spacing of the sensing elements. - First
periodic angle sensor 302 may be configured to generate a firstperiodic angle signal 310 responsive to thefirst track 322, and secondperiodic angle sensor 304 may be configured generated a secondperiodic angle signal 312 responsive to thesecond track 324. In some embodiments, the twotracks 322, 324 (or two targets) may be physically separated at a distance selected to avoid crosstalk between the two magnetic field sensing channels (e.g., betweensensors 302 and 304). As discussed above in the context ofFIG. 1 , each 310, 312 may have a periodicity equal to the number of features on its respective sensedperiodic angle signal 322, 324. Thus, signal 310 can have a periodicity of N and signal 312 can have a periodicity of M, where M=N−1 in some embodiments.track -
Absolute angle calculator 306 is configured to generate anabsolute angle signal 314 based on the two periodic angle signals 310, 312.Signal 314 may also be referred to as an “uncorrected absolute angle signal.” In the case where the numbers of features on 322 and 324 differs, it is possible to determine the absolute angular position (or, in other examples, linear position) oftracks target 320 using the Nonius principle. Along the lengths of the 322, 324, assuming the features are evenly spaced, there is a continuing shift in alignment between the features of the two tracks, such as illustrated by spacings D1 and D2 intracks FIG. 3 . Because the number of features is different, the periodicity of 310, 312 is also different. The difference between the periodic angle information (θa) provided bysignals first sensor 302 responsive tofirst track 322 and the periodic angle information (θb) provided bysecond sensor 304 responsive tosecond track 324 can be used to calculate the target's absolute angle (θabs) according to Nonius principle: -
θabs=(θa-θb)modulo 360 (Eq. 1) - where θabs, θa, and θb can represent angular position in degrees (°).
- As discussed above in the context of
FIG. 1 , magnetic field sensors in general, and angle sensors in particular, may be subject to various types of errors that degrade sensor accuracy. For example, periodic angle signals 310, 312 may include manufacturing errors and/or application errors introduced in respective 302, 304. If the absolute angle (θabs) is calculated from the two periodic angles (θa, θb), as in Eq. 1, theperiodic sensors absolute angle signal 314 will, in the worst case, have an error that is equal to the sum of errors introduced by 302, 304.periodic sensors - To reduce (and ideally minimize) error within
sensor 300,error corrector 308 can be configured to estimate and correct for errors in the absolute angle calculation of Eq. 1, above. In some embodiments, the error of the absolute angle generated using the Nonius principle can be estimated as: -
- where N is the number of features on the track associated with periodic angle θa, M is the number of features on the track associated with periodic angle θb, and where C and D are first and second error constants. In some embodiments, M=
N− 1. As illustrated below in the context ofFIG. 5B , the estimated error (Eestimated) from Eq. 2 may be “well matched” to the actual or intrinsic error resulting from using the Nonius principle to calculate absolute angle. - The first error constant, C, may be selected in an application-dependent manner, before, during, or after manufacture. For example, C may be chosen as the value that minizines absolute angle error through application-dependent experimentation using the
sensor 300. The second error constant, D, may likewise be selected empirically. In some embodiments, D may be calculated as: -
- Although Eq. 3 shows one example where the second error constant (or “offset”) D is calculated as a function of the first error constant C, in other embodiments D may be an chosen irrespective of C (i.e., the two error constants may be chosen independently and can each be arbitrary values).
- In some embodiments, parameters N, M, C and/or D can be stored locally within a memory element (not shown) of the
angle sensor 300. For example, one or more of these parameters can be stored onboard theangle sensor 300 within an electronically erasable programmable read-only memory (EEPROM) or any other memory element such that the value is accessible during error correction procedures. In certain embodiments, one or more of these parameters can be stored remotely in a separate memory element. When stored in a remote location,angle sensor 300 can access the stored parameters through a physical or wireless communication connection, such as a serial cable, a USB cable, an ethernet cable, a wireless network connection or any other similar type of connection. - Due to the fact that the estimated error (E estimated) matches well the intrinsic error in the
absolute angle signal 314, it can be used to correct the error as follows: -
θabs_corrected=θabs −E estimated (Eq. 4) -
Error correction circuit 308 can provide the corrected absolute angle (θabs_corrected) as theoutput signal 316 the sensor.Signal 316 may also be referred to as a “corrected absolute angle signal.” Using the techniques disclosed herein,angle sensor 300 can provide absolute angular or linear position information of atarget 320 with greater accuracy compared to existing sensors. -
FIGS. 4A, 4B, and 4C illustrate how the Nonius principle can be used to determine the absolute angular position of a target having a first track with nine (9) features (e.g., gear teeth) and a second track with ten (10) features. -
FIG. 4A illustrates the output of a pair of magnetic sensing elements (e.g., 40 and 45 ofelements FIG. 1 ) configured to generate phase-separated sinusoidal signals responsive to a rotating target with nine (9) features. Afirst curve 402 may correspond to the output of a first sensing element or first sensing channel (e.g.,X channel 60 inFIG. 1 ). Asecond curve 404 may correspond to the output of a second sensing element or second sensing channel (e.g.,Y channel 70 inFIG. 1 ). 402, 404 periodically oscillate between the values −1 and 1 (represented by vertical axis 406) over a 360° rotation of the first target track. It can be seen that the number of oscillations inCurves FIG. 4A equals to the number of features (9) on the first target target track being sensed.FIG. 4B likewise shows aplot 420 of magnetic field sensing outputs 422, 424 with a periodicity of ten (10) over a 360° rotation of the second target track. - Turning to
FIG. 4C , aplot 440 illustrates how an absolute position of a target can be calculated from two periodic angle signals. Afirst curve 442 may correspond to the output of a periodic angle sensor (e.g.,sensor 10 ofFIG. 1 ) in response to a rotating target track having nine (9) features, and asecond curve 444 may correspond to the output of a periodic angle sensor responsive to a target track having ten (10) features. Thus, for example, curves 442 and 444 may be calculated based on the sensed magnetic field signals shown inFIGS. 4A and 4B , respectively. 442, 444 periodically oscillate between −180° and 180° (represented by vertical axis 446) over a 360° rotation of the target (represented by horizontal axis 448) withCurves first curve 442 having a periodicity of nine (9) andsecond curve 444 having a periodicity of ten (10). Anabsolute angle curve 450 may be calculated, for example, using Eq. 1 described above. -
FIGS. 5A, 5B, 5C illustrate how errors introduced in a periodic angle sensor can degrade the accuracy of an absolute angle calculation based on the Nonius principle, along with technique for correcting such errors. - Referring to plot 500 of
FIG. 5A , afirst curve 502 may correspond to the output of a periodic angle sensor (e.g.,sensor 10 ofFIG. 1 ) in response to a target track having nine (9) features, asecond curve 504 may correspond to the output of a periodic angle sensor in response to a target track having ten (10) features, and athird curve 506 may correspond to the absolute angle calculated based oncurves 502 and 504 (e.g., using Eq. 1 above). As can be seen inFIG. 5A , the resultingabsolute angle curve 506 may be non-linear due to errors introduced in one or both of the periodic angle sensors. - Referring to plot 520 of
FIG. 5B , afirst curve 522 may represent the real or intrinsic error in an absolute angle calculation (e.g., the error incurve 506 ofFIG. 5A ). As illustrated inFIG. 5B , thereal error 522 may periodically oscillate between zero and a maximum value (represented by vertical axis 526) over a 360° rotation of the target (represented by horizontal axis 528). In the example shown, theabsolute angle error 522 may have a periodicity of eighteen (18). Asecond curve 524 may represent the estimated angle error (Eestimated) determined, for example, using Eq. 2 above. - Referring to
FIG. 5C , aplot 540 includes afirst curve 542 representing the uncorrected absolute angle (θabs) and a second curve 554 representing the corrected absolute angle (θabs_corrected), which can be generated, for example, using Eq. 4 above. It can be seen in the figure that corrected angle 554 has increased linearity compared with theuncorrected angle 542. -
FIG. 6 shows anillustrative process 600 for improving the accuracy of absolute angle sensors, according to embodiments of the present disclosure.Process 600 may be implemented within an angle sensor, such as withinangle sensor 300 ofFIG. 3 . In some embodiments,process 600 may be implemented within one or more circuits or processors, such as 306 and 308 incircuits FIG. 3 . - At
block 602, first and second periodic angle signals may be received from respective first and second periodic angle sensors (e.g., 302, 304 inangle sensors FIG. 3 ). Each of the periodic angle signals may be generated using a pair of magnetic field sensing elements configured to generate phase-separated sinusoidal signals (e.g., sine and cosine signals) in response to a magnetic field. The first periodic angle signal may be responsive to a first track of a target having a first number (N) of features (e.g., gear teeth). The second periodic angle signal may be responsive to a second track of a target having a second number (M) of features. In some cases, M=N− 1. The two tracks may be parts of the same target structure or may be parts of separate structures. - At
block 604, an absolute angle signal may be generated based on the first and second periodic angle signals. The absolute angle may be calculated using the Nonius principle and, in certain embodiments, using Eq. 1 above. The absolute angle signal indicates the angular position of the target, e.g., between 0° and 360°. The signal may be non-linear due to errors introduced in the magnetic field sensing elements or respective circuitry used to calculate the first and second periodic angle signals. - At
block 606, errors associated with calculating the absolute angle signal may be estimated. In certain embodiments, Eq. 2 may be used to estimate these errors. In some embodiments, one or more error constants (e.g., constant C and/or D in Eq. 2) may be retrieved from a memory element of the sensor and used as part the error estimation. The estimated error can be calculated as a continuous signal or as a discrete series of values. - At block 608, the estimated error signal/values may be subtracted from the absolute angle signal to generate a corrected absolute angle signal (e.g., using Eq. 4). At
block 610, the corrected signal may be provided as the sensor output. - The disclosed magnetic field sensor embodiments can be 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 (or movement detector) that senses passing ferromagnetic articles, for example, magnetic domains of a ring magnet or a ferromagnetic target (e.g., gear teeth) where the magnetic field sensor is used in combination with a back-bias or other magnet, and a magnetic field sensor that senses a magnetic field density of a magnetic field. The disclosed magnetic field sensors can be used, for example, to determine phase information within vehicle engines.
- As used herein, the terms “circuit” and “processor” are used to describe electronic circuitry that performs a function, an operation, or a sequence of operations. The function, operation, or sequence of operations can be hard coded into the electronic circuit or soft coded by way of instructions held in a memory device. The function, operation, or sequence of operations can be performed using digital values or using analog signals. In some embodiments, the circuit or processor can be embodied in an application specific integrated circuit (ASIC), which can be an analog ASIC or a digital ASIC, in a microprocessor with associated program memory and/or in a discrete electronic circuit, which can be analog or digital. A circuit processor can contain internal processors or modules that perform portions of the function, operation, or sequence of operations. Similarly, a module can contain internal processors or internal modules that perform portions of the function, operation, or sequence of operations of the module.
- While electronic circuits shown in figures herein may be shown in the form of analog blocks or digital blocks, it will be understood that the analog blocks can be replaced by digital blocks that perform the same or similar functions and the digital blocks can be replaced by analog blocks that perform the same or similar functions. Analog-to-digital or digital-to-analog conversions may not be explicitly shown in the figures but should be understood.
- All references cited herein are hereby incorporated herein by reference in their entirety. Having described preferred embodiments, it will now become apparent to one of ordinary skill in the art that other embodiments incorporating their concepts may be used. It is felt therefore that these embodiments should not be limited to disclosed embodiments, but rather should be limited only by the spirit and scope of the appended claims.
Claims (21)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US16/689,494 US11333530B2 (en) | 2019-11-20 | 2019-11-20 | Absolute angle sensor with improved accuracy using error estimation |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US16/689,494 US11333530B2 (en) | 2019-11-20 | 2019-11-20 | Absolute angle sensor with improved accuracy using error estimation |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US20210148734A1 true US20210148734A1 (en) | 2021-05-20 |
| US11333530B2 US11333530B2 (en) | 2022-05-17 |
Family
ID=75909921
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/689,494 Active 2040-11-04 US11333530B2 (en) | 2019-11-20 | 2019-11-20 | Absolute angle sensor with improved accuracy using error estimation |
Country Status (1)
| Country | Link |
|---|---|
| US (1) | US11333530B2 (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11459025B2 (en) * | 2019-03-28 | 2022-10-04 | Denso Corporation | Detection unit |
| EP4187209A1 (en) * | 2021-11-25 | 2023-05-31 | Melexis Technologies SA | Position sensor with master and nonius tracks |
| US11719527B2 (en) * | 2021-11-04 | 2023-08-08 | Allegro Microsystems, Llc | Angle sensor with a single die using a single target |
| US12169148B2 (en) | 2022-02-16 | 2024-12-17 | Allegro Microsystems, Llc | Magnetic field differential torque sensor |
| US12203822B2 (en) | 2022-04-14 | 2025-01-21 | Allegro Microsystems, Llc | Heterogeneous magnetic and inductive sensors |
| US12442874B2 (en) | 2021-11-04 | 2025-10-14 | Allegro Microsystems, Llc | Angle sensor with a single die using a single target |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12352607B2 (en) | 2022-06-28 | 2025-07-08 | Allegro Microsystems, Llc | Position sensing method |
| US12455178B2 (en) | 2023-12-22 | 2025-10-28 | Allegro Microsystems, Llc | Inductive linear stroke sensor using dual tracks with different periodicity |
| US12517197B2 (en) | 2024-01-18 | 2026-01-06 | Allegro Microsystems, Llc | Analog magnetic sensor device for measuring the orientation of an external magnetic field |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE10041092A1 (en) * | 2000-08-22 | 2002-03-07 | Bosch Gmbh Robert | Method for correcting a phase angle when scanning a code track |
| US6784659B2 (en) * | 2001-12-05 | 2004-08-31 | Honeywell International Inc. | Magnetoresistive speed and direction sensing method and apparatus |
| KR100528644B1 (en) * | 2003-12-23 | 2005-11-15 | 현대모비스 주식회사 | Method for measuring the absolute steering angle of the steering shaft for a vehicle |
| JP5081553B2 (en) * | 2007-09-27 | 2012-11-28 | Ntn株式会社 | Rotation detection device and bearing with rotation detection device |
| US9389060B2 (en) | 2013-02-13 | 2016-07-12 | Allegro Microsystems, Llc | Magnetic field sensor and related techniques that provide an angle error correction module |
| US9400164B2 (en) | 2013-07-22 | 2016-07-26 | Allegro Microsystems, Llc | Magnetic field sensor and related techniques that provide an angle correction module |
| US10120042B2 (en) | 2013-12-23 | 2018-11-06 | Allegro Microsystems, Llc | Magnetic field sensor and related techniques that inject a synthesized error correction signal into a signal channel to result in reduced error |
| US9869566B2 (en) | 2016-02-12 | 2018-01-16 | Allegro Microsystems, Llc | Angle sensing using differential magnetic measurement and a back bias magnet |
| JP7000263B2 (en) * | 2018-06-20 | 2022-01-19 | 株式会社東海理化電機製作所 | Initial setting method and initial setting device |
-
2019
- 2019-11-20 US US16/689,494 patent/US11333530B2/en active Active
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11459025B2 (en) * | 2019-03-28 | 2022-10-04 | Denso Corporation | Detection unit |
| US11719527B2 (en) * | 2021-11-04 | 2023-08-08 | Allegro Microsystems, Llc | Angle sensor with a single die using a single target |
| US12442874B2 (en) | 2021-11-04 | 2025-10-14 | Allegro Microsystems, Llc | Angle sensor with a single die using a single target |
| EP4187209A1 (en) * | 2021-11-25 | 2023-05-31 | Melexis Technologies SA | Position sensor with master and nonius tracks |
| US12270687B2 (en) | 2021-11-25 | 2025-04-08 | Melexis Technologies Sa | Position sensor with master and nonius tracks |
| EP4495552A3 (en) * | 2021-11-25 | 2025-04-23 | Melexis Technologies SA | Position sensor with master and nonius tracks |
| US12169148B2 (en) | 2022-02-16 | 2024-12-17 | Allegro Microsystems, Llc | Magnetic field differential torque sensor |
| US12203822B2 (en) | 2022-04-14 | 2025-01-21 | Allegro Microsystems, Llc | Heterogeneous magnetic and inductive sensors |
Also Published As
| Publication number | Publication date |
|---|---|
| US11333530B2 (en) | 2022-05-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11333530B2 (en) | Absolute angle sensor with improved accuracy using error estimation | |
| EP3469383B1 (en) | Magnetic field sensor having error correction | |
| KR102536006B1 (en) | Magnetic sensor position measurement with phase compensation | |
| EP2954341B1 (en) | Magnetic field sensor comprising angle correction module | |
| US9574867B2 (en) | Magnetic field sensor and related techniques that inject an error correction signal into a signal channel to result in reduced error | |
| US10120042B2 (en) | Magnetic field sensor and related techniques that inject a synthesized error correction signal into a signal channel to result in reduced error | |
| EP3304003B1 (en) | Magnetic field sensor for orientation independent speed and direction measurement | |
| JP5613839B2 (en) | Method and apparatus for absolute positioning of a moving object | |
| EP3623765B1 (en) | Angular magnetic field sensor and rotating target with stray field immunity | |
| US11346688B2 (en) | Magnetic field sensors for detecting absolute position of multi-track targets | |
| KR102195533B1 (en) | Rotary encoder and angle correction method of rotary encoder | |
| US11327127B2 (en) | Magnetic field sensor with reduced influence of external stray magnetic fields | |
| US10288698B2 (en) | Magnetic field sensor having alignment error correction | |
| US10884092B2 (en) | Non-orthogonality compensation of a magnetic field sensor | |
| CN108426587B (en) | Rotary encoder | |
| US11333486B2 (en) | Angle sensor with offline error correction | |
| JP2016099164A (en) | Encoder and rotation angle position calculation method | |
| US11448713B1 (en) | Angle sensor | |
| US11175160B2 (en) | Magnetic field sensor and method with reduced distortion measurement in sideshaft applications | |
| JP5176208B2 (en) | Rotation angle detection method and rotation angle sensor | |
| US12104900B2 (en) | Sensor with estimated real-time parameter data | |
| EP4184122B1 (en) | Magnetic angular position sensor | |
| US12111153B2 (en) | Angle sensor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| AS | Assignment |
Owner name: ALLEGRO MICROSYSTEMS, LLC, NEW HAMPSHIRE Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:FOLETTO, ANDREA;ALLEGRO MICROSYSTEMS FRANCE SAS;ALLEGRO MICROSYSTEMS EUROPE LIMITED;SIGNING DATES FROM 20191118 TO 20191120;REEL/FRAME:051105/0004 |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
| AS | Assignment |
Owner name: MIZUHO BANK LTD., AS COLLATERAL AGENT, NEW YORK Free format text: PATENT SECURITY AGREEMENT;ASSIGNOR:ALLEGRO MICROSYSTEMS, LLC;REEL/FRAME:053957/0620 Effective date: 20200930 Owner name: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT, NEW YORK Free format text: PATENT SECURITY AGREEMENT;ASSIGNOR:ALLEGRO MICROSYSTEMS, LLC;REEL/FRAME:053957/0874 Effective date: 20200930 |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| CC | Certificate of correction | ||
| AS | Assignment |
Owner name: ALLEGRO MICROSYSTEMS, LLC, NEW HAMPSHIRE Free format text: RELEASE OF SECURITY INTEREST IN PATENTS (R/F 053957/0620);ASSIGNOR:MIZUHO BANK, LTD., AS COLLATERAL AGENT;REEL/FRAME:064068/0360 Effective date: 20230621 Owner name: MORGAN STANLEY SENIOR FUNDING, INC., AS THE COLLATERAL AGENT, MARYLAND Free format text: PATENT SECURITY AGREEMENT;ASSIGNOR:ALLEGRO MICROSYSTEMS, LLC;REEL/FRAME:064068/0459 Effective date: 20230621 |
|
| AS | Assignment |
Owner name: ALLEGRO MICROSYSTEMS, LLC, NEW HAMPSHIRE Free format text: RELEASE OF SECURITY INTEREST IN PATENTS AT REEL 053957/FRAME 0874;ASSIGNOR:CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT;REEL/FRAME:065420/0572 Effective date: 20231031 |
|
| MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |