IP Library Granted Patent US 11,624,799
Granted Patent B2
US 11,624,799 · App. 17/380,244 · Granted Apr 11, 2023

Method and apparatus for detecting errors in a magnetic field sensor

Inventors: Juan Manuel Cesaretti (Ciudad de Buenos Aires, AR); Leandro Tozzi (Buenos Aires, AR); Paola Anabella Ceminari (Buenos Aires, AR)
Assignee: Allegro MicroSystems, LLC
G01R35/00G01R33/07G01R33/09
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,624,799
App. No.
17/380,244
Granted
Apr 11, 2023
Kind
B2
Abstract

A method for use in a sensor includes generating a first signal by a first sensing module in response to a magnetic field associated with a rotating target, generating a base word based on the first signal, the base word including a first base bit that is generated by comparing respective components of the first signal, reversing a respective polarity of the first signal and offsetting the first signal, generating a test word based on the first signal, the test word being generated after the respective polarity of the first signal is reversed and the first signal is offset, the test word including a first test bit that is generated by comparing the respective components of the first signal, and setting a value of an error signal based on whether the test word matches the base word.

Claims (73)

1. A method for use in a sensor, comprising:

generating a first signal, the first signal being generated by a first sensing module in response to a magnetic field associated with a rotating target;

generating a base word based on the first signal, the base word including a first base bit that is generated by comparing respective components of the first signal;

reversing a respective polarity of the first signal and offsetting the first signal;

generating a test word based on the first signal, the test word being generated after the respective polarity of the first signal is reversed and the first signal is offset, the test word including a first test bit that is generated by comparing the respective components of the first signal; and

setting a value of an error signal based on whether the test word matches the base word.

2. The method of claim 1 , wherein the first sensing module includes at least two magnetic field sensing elements that are spaced apart from one another, each of the magnetic field sensing elements including at least one of a Hall element, a giant magnetoresistor (GMR), or a tunnel magnetoresistor (TMR).

3. The method of claim 1 , further comprising:

generating a second signal, the second signal being generated by a second sensing module in response to the magnetic field; and

reversing a respective polarity of the second signal and offsetting the second signal,

wherein the base word further includes a second base bit that is generated by comparing respective components of the second signal,

the test word is generated after the second signal is offset and the respective polarity of the second signal reversed, and

the test word further includes a second test bit that is generated by comparing the respective components of the second signal.

4. The method of claim 1 , wherein:

the test word matches the base word only when the test word is an inverse of the base word, and

setting the value of the error signal includes setting the error signal to a first value when the test word is the inverse of the base word and setting the error signal to a second value when the test word is not the inverse of the base word.

5. The method of claim 1 , wherein the respective polarity of the first signal is reversed by the first sensing module.

6. The method of claim 1 , wherein the first signal is offset by adjusting a gain of a first amplifier that is configured to amplify the first signal.

7. The method of claim 1 , wherein the first sensing module includes at least one magnetic field sensing element.

8. The method of claim 1 , further comprising generating an indication of at least one of speed of the rotating target, direction of rotation of the rotating target, angular position of the rotating target, and acceleration of the rotating target, the indication being generated based on the base word.

9. The method of claim 1 , further comprising:

generating a second signal and a third signal, the second signal being generated by a second sensing module in response to the magnetic field, and the third signal being generated by a third sensing module in response to the magnetic field; and

reversing respective polarities of the second signal and the third signal, and offsetting each of the second signal and the third signal,

wherein the base word further includes a second base bit that is generated by comparing respective components of the second signal and a third base bit that is generated by comparing respective components of the third signal,

wherein the test word further includes a second test bit that is generated by comparing the respective components of the second signal and a third test bit that is generated by comparing the respective components of the third signal,

wherein the base word is generated before the respective polarities of the second signal and the third signal are reversed, and the test word is generated after the second signal and the third signal are offset and the respective polarities of the second signal and the third signal are reversed.

10. The method of claim 1 , wherein the base word and the test word are generated when the sensor is in a low-power mode, and the base word and the test word are generated during a same active period of the low-power mode.

11. A sensor, comprising:

a first sensing module that is configured to generate a first signal in response to a magnetic field associated with a rotating target, the first sensing module being configured to alternate a first polarity of the first signal between a normal polarity and a reversed polarity;

an offsetting circuitry configured to offset the first signal when the first polarity of the first signal is reversed; and

processing circuitry configured to:

generate a base word based on the first signal, the base word including a first base bit that is generated by comparing respective components of the first signal, the base word being generated when the first signal has a normal polarity;

generate a test word based on the first signal, the test word being generated after the first polarity of the first signal is reversed and the first signal is offset, the test word including a first test bit that is generated by comparing the respective components of the first signal; and

set a value of an error signal based on whether the test word matches the base word.

12. The sensor of claim 11 , wherein the first sensing module includes at least two magnetic field sensing elements that are spaced apart from one another, each of the magnetic field sensing elements including at least one of a Hall element, a giant magnetoresistor (GMR), or a tunnel magnetoresistor (TMR).

13. The sensor of claim 11 , further comprising:

a second sensing module that is configured to generate a second signal in response to the magnetic field, the second sensing module being configured to alternate a second polarity of the second signal between a normal polarity and a reversed polarity,

wherein the offsetting circuitry is further configured to offset the second signal when the second polarity of the second signal is reversed,

wherein the base word is further generated based on the second signal, such that the base word includes a second base bit that is generated by comparing respective components of the second signal, the base word being generated when the second signal has a normal polarity, and

wherein the test word is further generated based on the second signal, such that the test word includes a second test bit that is generated by comparing the respective components of the second signal, the test word being generated when the second polarity of the second signal is reversed.

14. The sensor of claim 11 , wherein:

the test word matches the base word only when the test word is an inverse of the base word, and

setting the value of the error signal includes setting the error signal to a first value when the test word is the inverse of the base word and setting the error signal to a second value when the test word is not the inverse of the base word.

15. The sensor of claim 11 , further comprising:

a second sensing module that is configured to generate a second signal in response to the magnetic field, the second sensing module being configured to alternate a second polarity of the second signal between a normal polarity and a reversed polarity;

a third sensing module that is configured to generate a third signal in response to the magnetic field, the third sensing module being configured to alternate a third polarity of the third signal between a normal polarity and a reversed polarity,

wherein the offsetting circuitry is further configured to offset the second signal when the second polarity of the second signal reversed, and offset the third signal when the third polarity of the third signal is reversed,

wherein the base word is further generated based on the second signal and the third signal, such that the base word includes a second base bit that is generated by comparing respective components of the second signal and a third base bit that is generated by comparing respective components of the third signal,

wherein the test word is further generated based on the second signal and the third signal, such that the test word includes a second test bit that is generated by comparing the respective components of the second signal and a third test bit that is generated by comparing the respective components of the third signal,

wherein the base word is generated when each of the second signal and the third signal has a normal polarity, and

wherein the test word is generated when each of the second polarity of the second signal is reversed and the third polarity of the third signal is reversed.

16. The sensor of claim 11 , wherein the first signal is offset by adjusting a gain of a first amplifier that is configured to amplify the first signal.

17. The sensor of claim 11 , wherein the first sensing module includes at least one magnetic field sensing element.

18. The sensor of claim 11 , wherein the processing circuitry is further configured to generate, based on the base word, an indication of at least one of speed of the rotating target, direction of rotation of the rotating target, angular position of the rotating target, and acceleration of the rotating target.

19. The sensor of claim 11 , further configured to output the base word to an external device.

20. The sensor of claim 11 , wherein the base word and the test word are generated when the sensor is in a low-power mode, and the base word and the test word are generated during a same active period of the low-power mode.

21. The sensor of claim 11 , wherein the processing circuitry includes a first comparator that is arranged to generate the first base bit and the first test bit by comparing the respective components of the first signal.

22. A sensor, comprising:

means for generating a first signal in response to a magnetic field associated with a rotating target;

means for generating a base word based on the first signal, the base word including a first base bit that is generated by comparing respective components of the first signal;

means for reversing a respective polarity of the first signal and offsetting the first signal;

means for generating a test word based on the first signal, the test word being generated after the respective polarity of the first signal is reversed and the first signal is offset, the test word including a first test bit that is generated by comparing the respective components of the first signal; and

means for setting a value of an error signal based on whether the test word matches the base word.

23. The sensor of claim 22 , further comprising:

means for generating a second signal in response to the magnetic field; and

means for reversing a respective plurality of the second signal and offsetting the second signal,

wherein the base word further includes a second base bit that is generated by comparing respective components of the second signal,

wherein the test word is generated after the second signal is offset and the respective polarity of the second signal is reversed, and

wherein the test word further includes a second test bit that is generated by comparing the respective components of the second signal.

24. The sensor of claim 22 , wherein:

the test word matches the base word only when the test word is an inverse of the base word, and

setting the value of the error signal includes setting the error signal to a first value when the test word is the inverse of the base word and setting the error signal to a second value when the test word is not the inverse of the base word.

25. The sensor of claim 22 , wherein the base word and the test word are generated when the sensor is in a low-power mode, and the base word and the test word are generated during a same active period of the low-power mode.

Assignments (2)
PATENT SECURITY AGREEMENT Recorded Jun 22, 2023
From: ALLEGRO MICROSYSTEMS, LLC
To: MORGAN STANLEY SENIOR FUNDING, INC., AS THE COLLATERAL AGENT
Reel/Frame 064068/0459 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 23, 2021
From: CESARETTI, JUAN MANUEL; TOZZI, LEANDRO; CEMINARI, PAOLA ANABELLA; ALLEGRO MICROSYSTEMS ARGENTINA S.A.
To: ALLEGRO MICROSYSTEMS, LLC
Reel/Frame 056955/0299 →
Continuity (1)
Related Publication 20230025177A1 · Jan 26, 2023
Cited By (3)
US 12,483,244 US 12,584,976 US 12,676,611