Magnetic encoder systems and methods thereof
The subject technology is directed to encoder systems and methods. According to an embodiment, the subject technology provides a magnetic encoder that comprises a first magnet and a second magnet. The first magnet comprises a first pole pair and an opening. The second magnet comprises a second pole pair and is positioned inside the opening. The magnetic encoder further comprises a first sensor that is configured to detect and generate a first signal based on the magnetic flux orientation of the first magnet and a second sensor that is configured to detect and generate a second signal based on the magnetic flux orientation of the second magnet. To achieve this feat, the first magnet and second magnet are magnetized in two separate types of magnetization (e.g., diametrical or axial magnetization) to generate two separate types of magnetic flux orientations that could be detected via the two types of magnetic sensors.
1 . A magnetic encoder device for measuring a position of an object, the device comprising:
a first magnet comprising a first pole pair and an opening, the first magnet being characterized by a diametrical magnetization, the diametrical magnetization being associated with a first magnetic flux orientation along a diametrical direction orthogonal to a rotational axis;
a second magnet comprising a second pole pair, the second magnet being positioned inside the opening;
a first sensor configured to generate a first signal based on the first magnetic flux orientation associated with the first magnet;
a second sensor configured to generate a second signal based on a second magnetic flux orientation associated with the second magnet; and
a processor configured to determine the position based on at least the first signal and the second signal, the processor being further configured to condition the first signal and the second signal by processing a single-pole track associated with the first magnet and a multi-pole track associated with the second magnet and to provide harmonic interference removal;
wherein the first signal comprises a first most significant bit and the second signal comprises a second most significant bit, the processor being configured to remove a mismatch between the first signal and the second signal with the first most significant bit of the first digital signal being synchronized with the second most significant bit of the second digital signal.
2 . The magnetic encoder device of claim 1 , wherein the first magnet is characterized by a ring shape.
3 . The magnetic encoder device of claim 2 , wherein the second magnet is characterized by a second shape, the first magnet and the second magnet share a center.
4 . The magnetic encoder device of claim 2 , wherein the first magnet comprises a rotational axis, the first sensor being positioned off the rotational axis.
5 . The magnetic encoder device of claim 1 , wherein:
the first sensor is positioned at a first proximity near the first magnet and the second sensor is positioned at a second proximity near the second magnet; and
a first magnetic flux of the first magnet is greater than a second magnetic flux of the second magnet at the first proximity.
6 . The magnetic encoder device of claim 1 , wherein the first pole pair is characterized by a diametrical magnetization and the second pole pair is characterized by an axial magnetization.
7 . The magnetic encoder device of claim 1 , wherein the processor comprises an amplifier configured to remove a difference between the first signal and the second signal.
8 . The magnetic encoder device of claim 1 , wherein the processor is configured to synchronize the first signal and the second signal.
9 . The magnetic encoder device of claim 1 , wherein the processor comprises an analog-to-digital converter (ADC) configured to convert the first signal and the second signal to digital signals.
10 . The magnetic encoder device of claim 1 , wherein the first magnet comprises a plurality of pole pairs and the second magnet consists of the second pole pair.
11 . The magnetic encoder device of claim 1 , wherein the second magnet comprises a plurality of pole pairs and the first magnet consists of the first pole pair.
12 . The magnetic encoder device of claim 1 , wherein a first voltage comprises a Hall voltage based on a magnetic field density of the first magnet.
13 . A magnetic encoder device for measuring a position of an object, the device comprising:
a first magnet comprising a plurality of pole pairs and an opening;
a second magnet comprising a first pole pair, the second magnet being positioned inside the opening characterized by a diametrical magnetization;
a first sensor configured to generate a first signal associated with the first magnet;
a second sensor configured to generate a second signal associated with the second magnet;
an amplifier configured to remove a difference between the first signal and the second signal to provide a first amplified signal and a second amplified signal;
signal conditional modules configured to condition the first signal and the second signal by processing a single-pole track associated with the second magnet and a multi-pole track associated with the first magnet and to provide harmonic interference removal;
an analog to digital converter configured to convert the first amplified signal to a first digital signal and to convert the second amplified signal to a second digital signal; and
a synchronization module configured to synchronize the first digital signal and the second digital signal and remove a mismatch between the first signal and the second signal with a first most significant bit of the first digital signal being synchronized with a second most significant bit of the second digital signal.
14 . The magnetic encoder device of claim 13 , wherein the first magnet is characterized by a ring shape.
15 . The magnetic encoder device of claim 13 , wherein the synchronization module is further configured to remove mismatches between the first digital signal and the second digital signal.