Incremental speed sensor with redundant sensor elements

By using multi-threshold comparison and hidden hysteresis mechanisms in magnetic speed sensors, combined with differential signal processing of multiple sensor elements, the problems of invalid switching and faults are solved, and measurement accuracy and system reliability are improved.

CN108957025BActive Publication Date: 2024-09-06INFINEON TECHNOLOGIES AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810481537.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-05-18
Filing Date
2018-05-18
Publication Date
2024-09-06
Estimated Expiration
2038-05-18

AI Technical Summary

Technical Problem

Existing magnetic speed sensors are prone to invalid switching events when detecting rotational speed, and lack a backup plan when the magnetic sensor element fails, affecting measurement accuracy and reliability.

Method used

A magnetic sensor module is designed that uses a first shift pair, a center pair, and a second shift pair composed of multiple sensor elements to generate differential measurement signals through the sensor circuit and generate output signals based on these signals, introducing hidden hysteresis Mechanism and multi-threshold comparison to reduce invalid switching and provide fault tolerance mechanism.

Benefits of technology

It effectively avoids invalid switching events, improves the accuracy and stability of the measurement signal, and provides a fault backup plan when the sensor element fails, enhancing the fault tolerance and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108957025B_ABST
    Figure CN108957025B_ABST
Patent Text Reader

Abstract

The present invention discloses an incremental speed sensor with redundant sensor elements. A magnetic sensor module, system and method configured to detect the rotational speed of an object are provided. The magnetic sensor module includes: a plurality of sensor elements configured to generate measurement values ​​in response to sensing a magnetic field and grouped into three pairs; and a sensor circuit configured to generate a first shift differential measurement signal based on the measurement values ​​received from the first shift pair of sensor elements, to generate a centered differential measurement signal based on the measurement values ​​received from the centered pair of sensor elements, and to generate a second shift differential measurement signal based on the measurement values ​​received from the second shift pair of sensor elements, and to generate an output signal based on detecting that the first shift differential measurement signal, the centered differential measurement signal and the second shift differential measurement signal cross at least one threshold.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to sensing rotational speed, and more particularly to magnetic speed sensors. Background Art

[0002] Magnetic field sensors are widely used for incremental speed and position measurement. They detect the changes in the magnetic field caused by a moving or rotating magnetic encoder.

[0003] For example, to measure wheel speed (e.g. in automotive applications), an encoder wheel is often used in combination with a magnetically sensitive sensor. The sensor generates an output signal based on a sensed magnetic field that oscillates between two extreme values ​​(e.g. a minimum and a maximum) depending on the rotation of the encoder wheel. A control unit is able to calculate the wheel speed and the actual angle of the rotating encoder wheel based on the output signal generated by the sensor.

[0004] The measurement of the sensed magnetic field can be done differentially between the two magnetic field sensor elements of the sensor. When a threshold crossing in the sensed magnetic field is detected, the sensor switches between a high state and a low state at its output. However, invalid switching events may occur due to erroneous crossings caused by, for example, signal distortion or amplitude reduction of a single encoder mark. Furthermore, no fail-over scheme is provided with respect to failure of the magnetic sensor elements (e.g., in the event of failure of one of the magnetic sensor elements).

[0005] Therefore, an improved apparatus that can avoid invalid switching events and implement a failover scheme may be desired. Summary of the invention

[0006] Magnetic sensor modules, systems, and methods configured to detect rotation of an object, and more specifically, the speed at which the object rotates, are provided.

[0007] An embodiment provides a magnetic sensor module configured to measure a magnetic field, the magnitude of which oscillates between a first extreme value and a second extreme value. The magnetic sensor module includes a magnetic sensor, the magnetic sensor includes a plurality of sensor elements, the plurality of sensor elements are configured to generate a measurement value in response to sensing the magnetic field, wherein the plurality of sensor elements are grouped into a first shifted pair, a centered pair, and a second shifted pair. The magnetic sensor module further includes a sensor circuit, the sensor circuit being configured to: receive the measurement values ​​from the plurality of sensor elements, generate a first shift differential measurement signal based on the measurement values ​​received from the first shifted pair, generate a centered differential measurement signal based on the measurement values ​​received from the centered pair, and generate a second shift differential measurement signal based on the measurement values ​​received from the second shifted pair, and generate an output signal based on detecting that the first shift differential measurement signal, the centered differential measurement signal, and the second shift differential measurement signal cross at least one threshold.

[0008] An embodiment provides a method for sensing a rotational speed of an encoder. The method includes generating measurement values ​​by a plurality of sensor elements in response to sensing a magnetic field, wherein the plurality of sensor elements are grouped into a first shifted pair, a centered pair, and a second shifted pair; generating a first shifted differential measurement signal based on the measurement values ​​generated by the first shifted pair, generating a centered differential measurement signal based on the measurement values ​​generated by the centered pair, and generating a second shifted differential measurement signal based on the measurement values ​​generated by the second shifted pair; and generating an output signal based on detecting that the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal cross at least one threshold. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Various embodiments are described herein with reference to the accompanying drawings.

[0010] Figures 1A to 1C A diagram illustrating a magnetic field sensing principle using a first type of magnetic encoder according to one or more embodiments;

[0011] Figure 1D A diagram illustrating the principle of magnetic field sensing using a second type magnetic encoder according to one or more embodiments;

[0012] Figure 2 illustrates a graph of a measurement signal generated by a sensor circuit according to one or more embodiments;

[0013] Figure 3A illustrates a graph of a pulse output signal generated by a magnetic speed sensor according to one or more embodiments;

[0014] Figure 3B illustrates another graph of a pulsed output signal generated by a magnetic speed sensor according to one or more embodiments;

[0015] FIG. 4A to FIG. 4D illustrates a block diagram of different sensor element configurations implemented by one or more embodiments;

[0016] Figure 5 The diagram illustrates a method according to one or more embodiments. Figure 4A A block diagram of a sensor circuit having a first sensor element configuration as shown in;

[0017] Fig. 6A illustrates a graph of three differential measurement signals generated by a magnetic speed sensor according to one or more embodiments;

[0018] Figure 6B Picture shows Fig. 6A an enlarged view of a portion of;

[0019] Fig. 7A and Figure 7BAnother graph illustrating three differential measurement signals generated by a magnetic speed sensor according to one or more embodiments;

[0020] Fig. 8A and Figure 8B yet another graph illustrating three differential measurement signals generated by a magnetic speed sensor according to one or more embodiments; and

[0021] Fig. 9 A flow chart of a method of sensing encoder rotation speed according to one or more embodiments is illustrated. DETAILED DESCRIPTION

[0022] In the following, a number of details are set forth to provide a more thorough explanation of the exemplary embodiments. However, it will be apparent to those skilled in the art that the various embodiments may be practiced without these specific details. In other cases, well-known structures and devices are shown in block diagram form or in schematic diagrams rather than in detail in order to avoid obscuring the embodiments. In addition, unless otherwise specifically noted, the features of the different embodiments described below may be combined with each other.

[0023] In addition, identical or similar elements or elements having identical or similar functions are indicated in the following description using identical or similar reference numerals. Since identical or functionally equivalent elements are given the same reference numerals in the drawings, repeated descriptions of elements having the same reference numerals may be omitted. Therefore, the descriptions provided for elements having the same or similar reference numerals may be interchangeable.

[0024] It should be understood that when an element is referred to as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intervening elements. Conversely, when an element is referred to as being "directly connected" or "directly coupled" to another element, there are no intervening elements. Other words used to describe the relationship between elements should be interpreted in a similar manner (e.g., "between" versus "directly between," "adjacent" versus "directly adjacent," etc.).

[0025] In the embodiments described herein or shown in the accompanying drawings, any direct electrical connection or coupling (i.e., any connection or coupling without additional intermediate elements) may also be achieved by an indirect connection or coupling (i.e., a connection or coupling using one or more additional intermediate elements), or vice versa, as long as the general purpose of the connection or coupling (e.g., to transmit a certain signal or to transmit certain information) remains essentially unchanged. Features from different embodiments may be combined to form other embodiments. For example, changes or modifications described with respect to one of the embodiments may also apply to other embodiments, unless otherwise indicated.

[0026] Signal conditioning as used herein refers to manipulating an analog signal in such a way that the signal meets the requirements of further processing at the next stage. Signal conditioning may include converting an analog signal (e.g., via an analog-to-digital converter) to a digital signal, amplifying, filtering, converting, biasing, range matching, isolating, and any other process required to make the sensor output suitable for post-conditioning processing.

[0027] Embodiments relate to sensors and sensor systems, and to obtaining information about sensors and sensor systems. A sensor may refer to a component that converts a physical quantity to be measured into an electrical signal (e.g., a current signal or a voltage signal). The physical quantity may, for example, include a magnetic field, an electric field, a pressure, a force, a current, or a voltage, but is not limited thereto. A sensor device as described herein may be a current sensor, a gauss meter, an angle sensor, a linear position sensor, a speed sensor, etc.

[0028] A magnetic field sensor, for example, includes one or more magnetic field sensor elements that measure one or more characteristics of a magnetic field (e.g., the amount of magnetic field flux density, field strength, field angle, field direction, field orientation, etc.), which correspond to detecting and / or measuring a magnetic field pattern of an element that generates the magnetic field (e.g., a magnet, a current-carrying conductor (e.g., a wire), the earth, or other magnetic field source).

[0029] According to one or more embodiments, both the magnetic field sensor and the sensor circuit are housed (i.e., integrated) in the same chip package (e.g., a plastic package such as a leaded package or a leadless package, or a surface mount device (SMD) package). The chip package is also referred to as a sensor package. The sensor package can be combined with a back bias magnet to form a sensor module, a sensor device, etc.

[0030] The one or more magnetic field sensor elements (or simply magnetic field sensors) included in the sensor package are therefore exposed to the magnetic field, and the sensor signal (e.g., voltage signal) provided by each magnetic field sensor element is, for example, proportional to the magnitude of the magnetic field. In addition, it will be understood that the terms "sensor" and "sensing element" can be used interchangeably throughout the specification, and the terms "sensor signal" and "measurement value" can be used interchangeably throughout the specification.

[0031] The sensor circuit may be referred to as a signal processing circuit and / or a signal conditioning circuit that receives a signal (i.e., a sensor signal) from a magnetic field sensor element in the form of raw measurement data and derives a measurement signal representing the magnetic field from the sensor signal. The sensor circuit may include an analog-to-digital converter (ADC) that converts an analog signal from the one or more sensor elements into a digital signal. The sensor circuit may also include a digital signal processor (DSP) that performs some processing on the digital signal, which will be discussed below. Thus, the sensor package includes circuitry that conditions and amplifies the small signal of the magnetic field sensor via signal processing and / or conditioning.

[0032] As used herein, a sensor device may refer to a device including a sensor and a sensor circuit as described above. The sensor device may be integrated on a single semiconductor die (e.g., a silicon die or chip), although in other embodiments multiple dies may be used to implement the sensor device. Therefore, the sensor and the sensor circuit are arranged on the same semiconductor die or on multiple dies in the same package. For example, the sensor may be on one die and the sensor circuit on another die so that they are electrically connected to each other within the package. In this case, the die may be composed of the same or different semiconductor materials (such as GaAs and Si), or the sensor may be sputtered onto a ceramic or glass platelet that is not a semiconductor.

[0033] Magnetic field sensor elements include, but are not limited to, Hall plates, perpendicular Hall effect devices, or magnetoresistive sensors commonly referred to as XMR sensors, which are a general term for anisotropic magnetoresistive (AMR), giant magnetoresistive (GMR), tunnel magnetoresistive (TMR), etc.

[0034] The magnetic field sensors provided herein can be configured for incremental speed and position measurement of a rotary magnetic encoder, such as a wheel or camshaft.

[0035] One type of magnetic encoder may be a ferromagnetic encoder, which may be a gear or toothed disc of ferromagnetic material having a hole or notch passing in front of a magnetic field sensor. The magnetic field may be generated by a back bias magnet coupled to the back of the magnetic field sensor. Thus, the strength of the magnetic field generated by the back bias magnet is changed by the passage of the teeth and notch of the rotary magnetic encoder.

[0036] The second type of magnetic encoder is an encoder consisting of alternating magnets magnetized in opposite directions (e.g. alternating south and north pole magnets), in which case an incremental speed sensor is placed in front of the encoder and detects if the measured magnetic field changes its polarity. In this case, the speed sensor generates an output signal that indicates the pole passed.

[0037] Figures 1A to 1CThe principle of magnetic field sensing using a first type of magnetic encoder according to one or more embodiments is illustrated, with a gear 1 having alternating teeth 2 and notches 3. Specifically, the gear 1 may be made of a ferromagnetic material (e.g., iron) that attracts a magnetic field. In addition, a sensor device 4 is configured to sense a magnetic field generated by a back bias magnet 5, wherein the sensor device 4 and the back bias magnet 5 constitute a sensor module 6. The sensor device 4, which may generally be referred to herein as a sensor 4, may further include a sensor circuit (not shown) and may be disposed in a sensor package.

[0038] Figure 1A and Figure 1B The tooth 2 and the notch 3 of the wheel 1 are shown passing the sensor module 6. Figure 1A In the case of , the magnetic field lines of the bias magnetic field generated by the back bias magnet 5 are pulled in the z direction towards the tooth 2. As a result, the magnetic field lines are pulled away from the x-axis and the y-axis (i.e., the sensor plane of the sensor device 4) and the sensed magnetic field strength in the x- and y-directions decreases, so that a minimum field strength is detected at the center of the tooth 2. This may be different in actual applications, where the minimum value may not occur exactly at the center due to assembly tolerances, but the minimum field strength should be detected at substantially the center of the tooth 2.

[0039] On the contrary, Figure 1B In the case of the back bias magnet 5, the magnetic field lines of the bias magnetic field generated by the back bias magnet 5 are not pulled (or are pulled less) towards the notch 3 in the z direction. Therefore, the magnetic field lines remain concentrated with respect to the x-axis and the y-axis (i.e., the sensor plane of the sensor device 4), and the magnetic field strength sensed in the x- and y-directions is a maximum at the center of the notch 3. This may be different in actual applications, in which the maximum value may not occur exactly at the center, but the maximum field strength should be detected at the substantial center of the notch 3.

[0040] Figure 1CA schematic diagram of a sensor module 6 close to a gear 1 is illustrated. The sensor module 6 includes a sensor device 4 having a sensor circuit (not shown) and two magnetic field sensor elements (i.e., a Hall plate H1 and a Hall plate H2), and a back bias magnet 5 coupled to the sensor device 4. The two magnetic field sensor elements H1 and H2 may be referred to herein as differential sensor elements and are linearly aligned in the direction of rotation of the gear 1. The sensor signal of each differential sensor element H1 and H2 is provided to the sensor circuit, which calculates a differential measurement signal using a differential calculation that can be used to cancel a uniform stray field in the sensor plane direction. In addition, the differential sensor elements H1 and H2 may be arranged at a distance of approximately half the pitch of the teeth of the gear 1 in order to generate a differential measurement signal with a high signal-to-noise ratio. The pitch is the distance along the pitch circle between two adjacent teeth of the gear. Finally, the leads 7 provide an electrical path for various input and output signals (e.g., power, command, and output signals) entering and coming from the sensor device 4.

[0041] As the wheel 1 rotates, the teeth 2 and notches 3 alternately pass the sensor module 6, and the sensor elements within the sensor device 4 sense the changes in the x-axis and y-axis magnetic field strengths that change as a sinusoidal waveform (i.e., as a signal modulation), the frequency of which corresponds to the rotational speed of the wheel, which further corresponds to the rotational speed of the drive shaft (e.g., camshaft) that drives the rotation of the wheel. Therefore, the sensor circuit of the sensor device 4 receives the signals (i.e., sensor signals) from the magnetic field sensor elements H1 and H2 and derives a differential measurement signal from the sensor signals, which differential measurement signal represents the magnetic field as the signal modulation. The differential measurement signal can then be output as an output signal to an external controller, control unit or processor (e.g., ECU), or used internally by the sensor circuit for further processing (e.g., to generate a pulse output signal) before it is output to an external device. For example, the external device can count the pulses of the pulse output signal and calculate the wheel speed therefrom.

[0042] Furthermore, a third magnetic field sensor element (not shown) may be arranged on the sensor device 4 midway between the two differential sensor elements H1 and H2 , so that the sensor can detect the direction of rotation of the wheel 1 .

[0043] Figure 1DThe magnetic field sensing principle using a second type of magnetic encoder (magnetized encoder wheel) according to one or more embodiments is illustrated. The sensor module 6 includes a sensor device 4 having a sensor circuit (not shown) and two differential magnetic field sensor elements (i.e., Hall plate H1 and Hall plate H2). The sensor signal of each differential sensor element H1 and H2 is provided to the sensor circuit, which calculates the differential measurement signal using a differential calculation that can be used to offset the uniform stray field in the sensor plane direction. In addition, the differential sensor elements H1 and H2 can be arranged at a distance of approximately half the pitch of the poles of the magnetized encoder wheel 11 to generate a differential measurement signal with a high signal-to-noise ratio. The pitch is the distance along the pitch circle between two poles of the same polarity of the magnetized encoder wheel (i.e., between two adjacent positive poles or between two adjacent negative poles).

[0044] The magnetized encoder wheel 11 comprises alternating north pole sections 12 and south pole sections 13. The north pole sections 12 and south pole sections 13 thus represent the teeth and notches of the tooth and notch wheel 1 described above. The sensor elements H1 and H2 of the sensor device 4, as shown in reference Figure 1C As described above, it is sensitive to the magnetic field affected by the north pole portion 12 and the south pole portion 13 of the wheel 11. Here, since the magnetic field is actively generated by the wheel 11, the back bias magnet can be omitted. The sensor output is compared with the reference Figure 1C The described similar manner detects the changes in the alternating magnetic field corresponding to the rotation speed of the magnetized encoder wheel 11. Thus, the sensor circuit of the sensor device 4 generates a sensor output to be output by one of the leads 7.

[0045] Figure 2 An example of a measurement signal generated by a sensor circuit according to one or more embodiments is shown. The measurement signal may be a differential measurement signal, which is used as described above with reference to Figure 1C and Figure 1D The measurement signal is derived from the two sensor signals by the differential calculation described. The measurement signal is a measurement of the magnetic field B sensed by the magnetic sensor over time t, and oscillates between two extreme values ​​(e.g., minimum and maximum) as the magnetic encoder rotates. In addition, the measurement signal may have an offset from the x-axis in the y-axis direction and may be further normalized by the processing performed by the sensor circuit.

[0046] Upon detecting a crossing of a switching point (i.e., a switching threshold) of a magnetic field measurement signal (i.e., a magnetic field signal), a pulse of an output signal may be generated by a sensor circuit of a magnetic sensor (i.e., a sensor device 4). The switching point stored in the memory is between a minimum value (min) and a maximum value (max) of the magnetic field B. In addition, the sensor circuit may automatically (re)calculate the switching point regularly and self-calibrate the switching point based on an average of one or more minimum values ​​and one or more maximum values ​​of the measured magnetic field. For example, the switching point may be calculated as an average of the most recent minimum value and the most recent maximum value of the measurement signal and adjusted accordingly. For example, if the new switching point value deviates by more than a predetermined threshold value (e.g., 5%) of the current switching point value, the switching point may be adjusted, but is not limited thereto. By continuously modifying the switching point, the accuracy of the switching point is maintained in the desired region in accordance with rapid changes in the measurement signal and ensures that good jitter performance is achieved.

[0047] As described above, the measurement of the magnetic field can be accomplished distinguishably between two magnetic field sensor elements (e.g., Hall sensors or XMR sensors) placed at a distance of approximately half the pitch of the poles or teeth of the encoder wheel, so as to generate a measurement signal with a high signal-to-noise ratio. When a threshold crossing is detected, the sensor 4 switches between a high state and a low state of its output. Alternatively, if a threshold crossing is detected, the sensor 4 can transmit a pulse of known length. In some systems, the pulse length can be changed, for example, via pulse width modulation to transmit additional information, such as information indicating sufficient magnetic field strength, direction of rotation, or an error flag. In other systems, this information can be transmitted by a short Manchester protocol following each output pulse.

[0048] Figure 3A An example of a pulse output signal generated by a magnetic speed sensor according to one or more embodiments is illustrated. Specifically, the upper waveform represents a differential measurement signal compared to three comparator thresholds used to generate the pulse output signal. The three comparator thresholds include a switching threshold and two hysteresis thresholds. The switching threshold is a switching point at which the sensor 4 switches between a high state and a low state (or vice versa) of its output when a crossing of the switching point is detected. In order to avoid multiple switching of the output signal when the measurement signal approaches the switching threshold, a hidden hysteresis is introduced so that two additional thresholds are provided on opposite sides of the switching threshold. The hysteresis threshold can be set equidistant from the switching threshold so that the hysteresis region metric is B hys And each hysteresis threshold is far from the switching threshold B hys / 2. However, the embodiments provided herein are not limited thereto and may not be set equidistant from the switching threshold. The region between two hysteresis thresholds may be referred to as a hysteresis band or a hysteresis region.

[0049] Using a hidden hysteresis mechanism, when the measurement signal is detected to cross the first hysteresis level from outside the hysteresis band, the switching mechanism can be set to the "ready state", but the output switching is not completed immediately. Once the switching threshold is reached in the ready state, the output is switched and the switching mechanism is set to the "release state" to avoid multiple switching caused by noise. In order to allow the next preparation, the measurement signal must leave the hysteresis band so that the switching mechanism is set to the "re-enabled state" or "ready state". The "re-enabled" or "ready" state is a state in which the switching mechanism can enter the ready state.

[0050] exist Figure 3A In the embodiment of the present invention, the output signal is pulsed when the measurement signal crosses the switching threshold as the measurement signal moves into the hysteresis band (e.g., on a rising edge) after crossing the lower hysteresis threshold. However, the sensor circuit can be configured such that the output signal is pulsed when the measurement signal crosses the switching threshold from either direction (e.g., a rising edge or a falling edge) or only when the measurement signal moves into the hysteresis band (e.g., on a falling edge) after crossing the upper hysteresis threshold. Alternatively, the output can switch from a logic low to a logic high on a first rising edge of the measurement signal and from a logic high to a logic low on a first falling edge of the measurement signal, or vice versa, wherein the rising edge and the falling edge occur at the switching threshold crossing.

[0051] Figure 3B Another example of a pulsed output signal generated by a magnetic speed sensor according to one or more embodiments is illustrated. In this example, the measurement signal may not exit the hysteresis band after crossing the switching threshold. Therefore, in order to avoid the loss of switching events due to signal distortion or reduced amplitude of, for example, a single encoder mark, the following exception is defined: for the case where the measurement signal crosses the first hysteresis threshold but does not cross the second hysteresis threshold after crossing the switching threshold, the crossing of the first hysteresis level (again) causes a switching event and enables re-preparation of the switching mechanism. That is, after the measurement signal crosses the first hysteresis threshold after switching (i.e., after crossing the switching threshold), the switching mechanism is set to a "ready state". It will be understood that the upper hysteresis threshold is used only as an example, and the first hysteresis threshold can be used as an upper hysteresis threshold or a lower hysteresis threshold as applicable.

[0052] It may be desirable to be able to detect a fault in the event of failure of one or more of the sensor elements and to adapt the sensor system to utilize the still operable sensor elements to continue the sensing operation. Therefore, the use of an eccentric (phase-shifted) differential sensor pair is provided to implement hidden hysteresis in such a way that the sensor can be more fault-tolerant. Furthermore, the sensor system can be adapted to utilize new information transmitted by the sensor in the event of a detected fault.

[0053] Hence, a magnetic sensor is provided using at least three sensor elements and a sensor circuit configured to generate at least three different differential measurement signals using different pairs of sensor elements, which are displaced with respect to their geometrical centre of gravity with respect to each other.

[0054] FIG. 4A to FIG. 4D Different sensor element configurations implemented by one or more embodiments are illustrated. Specifically, the sensor elements are arranged on sensors 4a to 4d, the chip width of which is suitable for accommodating the placement of the sensor elements. Each sensor 4a to 4d has two centered sensor elements constituting a centered sensor pair, and at least one displaced sensor element. In addition, each sensor 4a to 4d has a geometric center 41a to 41d substantially located in the middle between the two centered sensor elements.

[0055] The sensor circuit of each sensor 4a to 4d is configured to generate at least three differential measurement signals using at least three different sensor pairs, wherein at least two sensor pairs are shifted relative to the geometric center 41a to 41d. The distance between the two centered sensor elements matches or substantially matches the pitch of the poles or teeth of the encoder (e.g. within 5% to allow for manufacturing tolerances), however the distance can be reduced in order to save chip area. The sensor elements are linearly aligned in the direction of rotation of the encoder wheel. As a result, three differential measurement signals (e.g., a left-shifted measurement signal, a centered measurement signal, and a right-shifted measurement signal) are generated, which follow an encoder pattern that is phase-shifted from each other. The encoder pattern (e.g., a pattern of teeth and notches or a pattern of north and south poles) is represented by an oscillation pattern of a magnetic field when the encoder rotates. The phase shift of the three differential measurement signals can be selected in such a way that the difference between the amplitude of the eccentric (shifted) signal and the centered signal is sufficiently large (e.g., 3...6 standard deviations) compared to the noise on one of the differential measurement signals.

[0056] Figure 4A A first sensor element configuration is illustrated, comprising sensor elements L, 1, r and R, which are grouped to form three different sensor element pairs and from which three different differential measurement signals are derived. Specifically, sensor elements L and r form a left-shifted sensor pair (Lr), sensor elements L and R form a centered sensor pair (LR), wherein the distance between sensor elements L and R matches or substantially matches the pitch of the poles or teeth of the encoder, and sensor elements 1 and R are used to form a right-shifted sensor pair (1-R).

[0057] Figure 4BA second sensor element configuration is illustrated, comprising sensor elements L, rl, R and rr, which are grouped to form three different sensor element pairs and from which three different differential measurement signals are derived. Specifically, sensor elements L and rl form a left-shifted sensor pair (L-rl), sensor elements L and R form a centered sensor pair (LR), wherein the distance between sensor elements L and R matches or substantially matches the pitch of the poles or teeth of the encoder, and sensor elements L and rr are used to form a right-shifted sensor pair (L-rr).

[0058] Figure 4C A third sensor element configuration is illustrated, comprising sensor elements L1, L2, L3, R1, R2, and R3, which are grouped to form three different sensor element pairs and from which three different differential measurement signals are derived. Specifically, sensor elements L1 and R1 form a left-shifted sensor pair (L1-R1), sensor elements L2 and R2 form a centered sensor pair (L2-R2), wherein the distance between sensor elements L2 and R2 matches or substantially matches the pitch of the poles or teeth of the encoder, and sensor elements L3 and R3 are used to form a right-shifted sensor pair (L3-R3).

[0059] Figure 4D A fourth sensor element configuration is illustrated, which includes sensor elements L, C, and R, which are grouped to form three different sensor element pairs and from which three different differential measurement signals are derived. Specifically, sensor elements L and C form a left-shifted sensor pair (LC), sensor elements L and R form a centered sensor pair (LR), wherein the distance between sensor elements L and R matches or substantially matches the pitch of the encoder's poles or teeth, and sensor elements C and R are used to form a right-shifted sensor pair (CR). Thus, the distance between the left-shifted sensor pair (LC) matches or substantially matches half the pitch of the encoder's poles or teeth. Similarly, the distance between the right-shifted sensor pair (CR) matches or substantially matches half the pitch of the encoder's poles or teeth.

[0060] Table 1 below summarizes FIG. 4A to FIG. 4D The sensor element configurations in each of the figures are shown, along with some possible advantages and disadvantages of each configuration.

[0061]

[0062]

[0063] Table 1

[0064] Figure 5 The diagram is configured according to Figure 4A An example of a sensor circuit 500 is shown in which the first sensor element is configured to generate three differential measurement signals. It will be appreciated that the sensor circuit 500 may be integrated on a single chip and may be configured according to FIG. 4B to FIG. 4D Thus, the sensor circuit receives input signals from sensor elements (e.g., L, l, r, and R) and provides and outputs a signal (Out) by modulating the current (e.g., current consumption) between power supply pins (i.e., power supply (Vs) and ground (GND)).

[0065] The sensor circuit 500 includes a main branch connected to sensor elements L and R (i.e., a centered sensor pair (LR)) and configured to receive signals from sensor elements L and R. The main branch is configured to generate a centered measurement signal and perform signal analysis on the centered measurement signal by comparing it with the three thresholds discussed above (i.e., a lower hysteresis threshold, a switching threshold, and an upper hysteresis threshold). The main branch can also be configured to perform automatic calibration on one or more of the three thresholds based on monitoring the maximum and minimum values ​​of the centered measurement signal.

[0066] Alternatively, one or more of the three thresholds may remain unchanged. Instead, the calibration unit of the main branch may be configured to monitor the first extreme value and the second extreme value, and adjust the offset compensation signal or value applied to the centered measurement signal based on an average of the first extreme value and the second extreme value. Thus, the centered measurement signal may be adjusted before comparing it to one or more thresholds.

[0067] The sensor circuit 500 further includes a sub-left branch (Sub l) connected to the sensor elements L and r (i.e., the left-shifted sensor pair (Lr)) and configured to receive signals from the sensor elements L and r. The sub-left branch is configured to generate a left-shifted measurement signal and perform signal analysis on the left-shifted measurement signal by comparing it with the three thresholds discussed above (i.e., the lower hysteresis threshold, the switching threshold, and the upper hysteresis threshold). The sub-left branch can also be configured to perform automatic calibration on one or more of the three thresholds based on monitoring the maximum and minimum values ​​of the centered measurement signal.

[0068] Alternatively, one or more of the three thresholds may remain unchanged. Instead, the calibration unit of the secondary left branch may be configured to monitor the first extreme value and the second extreme value, and adjust the offset compensation signal or value applied to the left shift measurement signal based on an average of the first extreme value and the second extreme value. Thus, the left shift measurement signal may be adjusted before comparing it to one or more thresholds.

[0069] The sensor circuit 500 further includes a sub-right branch (Sub r) connected to the sensor elements l and R (i.e., the right shift sensor pair (Lr)) and configured to receive signals from the sensor elements l and R. The sub-left branch is configured to generate a left shift measurement signal and perform signal analysis on the left shift measurement signal by comparing it with the three thresholds discussed above (i.e., the lower hysteresis threshold, the switching threshold, and the upper hysteresis threshold). The sub-left branch can also be configured to perform automatic calibration on one or more of the three thresholds based on monitoring the maximum and minimum values ​​of the centered measurement signal.

[0070] Alternatively, one or more of the three thresholds may remain unchanged. Instead, the calibration unit of the secondary right branch may be configured to monitor the first extreme value and the second extreme value, and adjust the offset compensation signal or value applied to the right shift measurement signal based on an average of the first extreme value and the second extreme value. Thus, the right shift measurement signal may be adjusted before comparing it to one or more thresholds.

[0071] The sensor circuit 500 further includes a protocol generation unit 510, which is programmed with a set of switching rules stored in a memory and is configured to generate an output signal (Out) based on the signal analysis provided by each circuit branch and the set of switching rules. The protocol generation unit 510 may be referred to herein as a controller, a processor, or an output unit, which is configured to generate an output signal at the output (Out) of the sensor by signal modulation.

[0072] In addition, the protocol generation unit 510 can be referred to as a finite state machine (FSM) or include a finite state machine, which can change from one state to another state in response to certain external inputs. Therefore, the FSM can determine how the state changes depending on the incoming measurement signal and the actual state. In addition, the FSM can start, control and / or execute a predetermined sequence of actions depending on an event sequence, using which the FSM is presented based on a threshold crossing sequence made by a left-shifted differential measurement signal, a centered differential measurement signal, and a right-shifted differential measurement signal. The FSM can include a regular state that changes according to the input, and it can also include an exception rule that can also change the regular state (but may be delayed), and it can also have additional exception states that are only reached or left by the exception rule.

[0073] In combination with FIG. 6A to FIG. 6B and FIG. 7A to FIG. 7B In the example of FIG. 5 , a switching rule set is described.

[0074] Fig. 6AAn example of three differential measurement signals generated by a magnetic velocity sensor according to one or more embodiments is shown. Specifically, the measurement signals include a left-shifted measurement signal, a centered measurement signal, and a right-shifted measurement signal shown over one magnetic field period (t). The measurement signals are normalized relative to each other according to the y-axis representing the magnetic field B. Fig. 6A The illustrated graph also includes a lower hysteresis threshold 62, a switching threshold 62 and an upper hysteresis threshold 63. As described above, the phase shifts of the three differential measurement signals can be selected in such a way that the difference between the amplitude of the off-center (shifted) signal and the centered signal is sufficiently large (e.g., 3 ... 6 standard deviations) compared to the noise on one of the differential measurement signals.

[0075] Since the distance between the L sensor element and the R sensor element (i.e., the centered sensor pair) matches or substantially matches the pitch of the encoder, while the distances between the other sensor pairs do not match the pitch, the amplitude of the centered measurement signal is greater than the left and right shift measurement signals. However, it will be understood that in some embodiments, one or more of the other sensor pairs may also match the pitch.

[0076] It can also be observed at the switching threshold crossing that the left shifted measurement signal is phase shifted to the left of the centered measurement signal and the right shifted measurement signal is phase shifted to the right of the centered measurement signal. This is due to the placement of the left shifted sensor pair and the right shifted sensor pair, respectively, relative to the rotation of the encoder wheel.

[0077] Figure 6B An enlarged view of the measurement signal crossing the switching threshold 62 and the output signal (Out) are shown.

[0078] One or more switching rules can be implemented by the protocol generation unit 510, used individually or in combination for a rule set to generate an output signal. The switching rule set includes rules for changing the switching mechanism between a "prepared state", a "released state" and a "ready state", and rules for triggering a switch in the output state of the output signal. The "ready state" is a state in which the switching mechanism is no longer released and can be prepared. However, it will be understood that the switching mechanism can be directly converted from the "released state" to the "prepared state" without converting to the "ready state" based on satisfying one or more rules in the rule set in one or more embodiments. It will also be understood that the switching mechanism can be a pulse mechanism so that a signal pulse is generated at a triggering event that causes the sensor output to be modulated, rather than a single logical state transition.

[0079] according to Fig. 6A and Figure 6B, the switching mechanism is armed when the left-shifted measurement signal crosses the switching threshold 62 at a falling edge, a switch or pulse is triggered in the output signal and the switching mechanism is disarmed when the center-shifted measurement signal crosses the switching threshold 62 at a falling edge, and the switching mechanism is re-enabled to a ready state when the right-shifted measurement signal crosses the switching threshold 62 at a falling edge. Thus in this example, after the switching mechanism has been armed, the output (Out) switches from high to low when the center-shifted measurement signal crosses the switching threshold 62 at a falling edge, as shown in FIG. Figure 6B shown.

[0080] It should be understood that the sensor circuit can be configured so that the state and output of the switching mechanism changes based on the rising edge of the three measurement signals or based on both the rising edge and the falling edge of the three measurement signals. For example, the output can switch from a logic low to a logic high on the first rising edge of the centered measurement signal, switch from a logic high to a logic low on the first falling edge of the centered measurement signal, or vice versa, where the rising edge and the falling edge occur at the crossing of the switching threshold 62.

[0081] It will also be understood that for opposite directions of rotation of the encoder (e.g., clockwise versus counterclockwise rotation of the encoder wheel), the order of the signals and the designated triggers of the signals' corresponding arming, disarming, and re-enabling can be reversed. That is, when the direction of rotation is reversed, the right-shifted measurement signal can be the first, earlier signal to trigger arming, and the left-shifted measurement signal can be the third, later signal to trigger re-enabling of the ready state. The direction of rotation can also be referred to as the direction of oscillation of the magnetic field.

[0082] In addition, one or more of the following switching rules may be implemented by the protocol generation unit 510, and individually or in combination form a switching rule set for generating a modulated output signal. Fig. 6A and Figure 6B The rule set described in can be implemented, or a new embodiment can be formed.

[0083] The first switching rule comprises preparing the switching mechanism when any two of the three measurement signals have a threshold crossing at the same hysteresis threshold (eg an upper hysteresis threshold 63 for a falling edge or a lower hysteresis threshold 61 for a rising edge).

[0084] The second switching rule includes switching the output (eg, from logic high to logic low or from logic low to logic high) or pulsing the output and deactivating the switching mechanism when any two of the three measurement signals have a threshold crossing at the switching threshold 62 .

[0085] The third switching rule comprises re-enabling the switching mechanism to the ready state when all three measurement signals have a threshold crossing at the switching threshold 62 , for example in the same direction (eg falling edge or rising edge).

[0086] The fourth switching rule comprises re-enabling the switching mechanism to the ready state when any two of the three measurement signals have a threshold crossing at the same hysteresis threshold (eg, lower hysteresis threshold 61 for a falling edge or upper hysteresis threshold 63 for a rising edge).

[0087] A fifth switching rule comprises re-enabling the switching mechanism to the ready state when one of the signals captures a new extreme value after the last switching event.

[0088] The sixth switching rule comprises preparing the switching mechanism when the shift (left shift or right shift) measurement signal has a threshold crossing at the switching threshold 62 .

[0089] The seventh switching rule comprises preparing the switching mechanism when the centered measurement signal has a threshold crossing at the switching threshold 62 .

[0090] An eighth switching rule comprises switching the output or pulsing the output when the centered measurement signal has a threshold crossing at the switching threshold 62 when the switching mechanism is in the armed state.

[0091] The ninth switching rule includes switching the output or pulsing the output when the two shift measurement signals (right shift or left shift, respectively) have a threshold crossing at the switching threshold 62 in the same direction (e.g., falling edge or rising edge), and the centered measurement signal does not have a threshold crossing at the switching threshold 62 in the same direction between the crossings of the two shift measurement signals. That is, the first shift measurement signal (e.g., Fig. 6A and Figure 6B The left shift in the ) can prepare the switching mechanism, and the second shift measurement signal (e.g., Fig. 6A and 6B A right shift in the ) can switch the output and release the switching mechanism without the centered measurement signal crossing the switching threshold 62, because the switching mechanism has been armed.

[0092] The tenth switching rule includes re-enabling the switching mechanism to the ready state by a threshold crossing at the switching threshold 62 by a third measurement signal in the same direction (e.g., falling edge or rising edge) as the previous two measurement signals. For example, in the case of the ninth switching rule, the third signal that has not crossed the switching threshold 62 in the same direction would be the center measurement signal. Therefore, the crossing of the center measurement signal would re-enable the switching mechanism in this scenario.

[0093] An eleventh switching rule comprises reactivation if two of the three measurement signals have captured new extreme values ​​after the last switching event.

[0094] It will be understood that other rules may be programmed and implemented by the protocol generation unit 510, and that the above-described rules are not intended to be limiting.

[0095] Fig. 7A and Figure 7B Another example of three differential measurement signals generated by a magnetic speed sensor according to one or more embodiments is shown. Specifically, three valid ranges (e.g., valid maximum value, valid threshold value, and valid minimum value) may be provided, and the above switching rules may apply to the valid ranges. The valid ranges may be as follows: Fig. 7A So that there is no overlap, or you can Figure 7B Overlap like that.

[0096] In one example, after switching the output occurs based on a falling edge crossing of the centered measurement signal, the switching mechanism may be re-enabled to a ready state when the centered measurement signal enters a valid minimum or valid maximum region.

[0097] In addition, the measurement signal can be received as valid when passing through all three valid ranges. For example, if the measurement signal does not pass through all three valid ranges within a specified magnetic field period or a specified duration, the measurement signal can be determined to be invalid by the sensor circuit. In other words, if the signal no longer reaches a valid maximum threshold, a valid minimum threshold, or both, the signal can be identified as invalid. This implementation can be used separately or in combination with any other embodiment described herein to identify an invalid measurement signal.

[0098] In addition, each measurement signal can be determined to be valid based on the relationship between the amplitudes of each other. For example, a measurement signal that can be significantly lower than the others (e.g., less than 75%) can be considered to be faulty. Additionally or alternatively, each measurement signal can be determined to be valid based on the relationship of the offset applied to the measurement signal, so that a measurement signal with an offset exceeding a threshold offset can be considered to be faulty. These implementations can be used separately or in combination with any other embodiments described herein to identify invalid measurement signals.

[0099] If the measurement signal is identified as invalid, the sensor can also modify the current rule set in order to maintain the correct switching point depending on the measurement signal still available. Thus, a fallback scheme using modified fallback rules can be implemented in the event that one or more of the measurement signals become invalid due to, for example, a failed sensor element corresponding to the invalid measurement signal.

[0100] Furthermore, one or more sensor pair groupings may be adjusted by the sensor circuitry based on the detected faulty sensor element in order to define new sensor pairs and apply a backup rule set based on the new groupings.

[0101] For example, the current rule set may be partially or completely shifted to combine Figure 3A and 3B A set of rules is described which uses two sensor elements to generate a single differential measurement signal.

[0102] Fig. 8A and Figure 8B Another example of three differential measurement signals generated by a magnetic speed sensor according to one or more embodiments is illustrated. Specifically, Fig. 8A and Figure 8B A scenario is illustrated in which one of the measurement signals is lost due to a fault, and a modified rule set is implemented by the sensor circuit, replacing the current rule set. For example, one switching rule in the current rule set can be replaced by another switching rule to form a modified rule set. Thus, the sensor circuit can automatically detect the failed measurement signal, determine which remaining measurement signals are still valid (or which sensor elements are still operable), and select a backup rule set corresponding to the remaining valid measurement signals (or sensor elements that are still working). Thus, multiple rule sets can be stored, each corresponding to a different combination of operating sensor element pairs or a different combination of valid measurement signals. Each rule set can also be assigned a priority so that a rule set with a higher priority is implemented before a rule set with a lower priority, and as one or more failures occur over time, there can be multiple levels of backup rule sets implemented by the sensor circuit.

[0103] For example, in Fig. 8A In the example of FIG. 1 , the left-shifted measurement signal is lost and can no longer be used to prepare the switching mechanism. Therefore, a fallback rule set can be implemented in which the center measurement signal replaces the preparation function so that the switching mechanism is prepared when the center measurement signal crosses the upper hysteresis threshold 63 on a falling edge. When the center measurement signal crosses the switching threshold 62 on a falling edge, the output is still switched and the switching mechanism is disengaged. In addition, when the right-shifted measurement signal crosses the switching threshold 62 on a falling edge, the switching mechanism is re-enabled to the ready state.

[0104] Alternatively, in Figure 8BIn the example shown in FIG. 1 , the right shifted measurement signal is lost and can no longer be used to re-enable the switching mechanism. Therefore, a fallback rule set can be implemented in which the left measurement signal still prepares the switching mechanism and the output is still switched and the switching mechanism is disengaged when the center measurement signal crosses the switching threshold 62 on a falling edge. However, the crossing of the center measurement signal at the lower hysteresis threshold 61 on a falling edge re-enables the switching mechanism.

[0105] Alternatively, the backup operation may include keeping the thresholds active, but selecting them in such a way that they arrive later than the zero crossing of the phase-shifted magnetic field sensor signal. The phase-shifted zero crossing detection signal or the crossing of the ready / enable threshold is then waited for, whichever occurs first.

[0106] In the event that the centering measurement signal is lost and can no longer be used to switch the output and deactivate the switching mechanism, the sensor circuit can be configured to determine a new switching point based on an average of the left-shifted measurement signal and the right-shifted measurement signal. Specifically, the new switching point can be calculated by determining the average between the remaining two pairs to create an estimate of the center position.

[0107] Alternatively, the switching point can be configured to switch to one direction (e.g., on a rising or falling edge) with a first signal and to switch to the opposite direction (e.g., on a falling or rising edge) with another signal, which delivers an asymmetric signal based on either of the two remaining valid signals.

[0108] In addition, the sensor circuit can be configured to detect the direction of rotation of the encoder by detecting the direction of rotation of the magnetic field. For example, during the configuration phase or the startup phase, the sensor circuit can detect the order of threshold crossings of the differential measurement signal. The left-shifted, centered, and right-shifted measurement signals can cross thresholds (e.g., switching thresholds) in the order depicted in the above figure (e.g., from left to right), or can cross in the opposite order (e.g., from right to left) depending on the direction of rotation of the encoder. Based on the determined order of threshold crossings, the sensor can determine the direction of rotation of the encoder.

[0109] Based on the detected rotational direction, the sensor circuit can determine which rule or rules or rule sets to apply and select those one or more rules or rule sets to be implemented. For example, due to the order of threshold crossings used by the rule sets, the rules within the rule sets can be rotational direction dependent. In one example rule set, the left-shifted measurement signal can be used to prepare a switching mechanism, the centered measurement signal can be used to switch the output and deactivate the switching mechanism, and the right-shifted measurement signal can be used to re-enable the switching mechanism. In another example rule set, the order can be reversed to accommodate the opposite rotational direction. Thus, a first set of rule sets can be configured for a clockwise rotational direction, and a second set of rule sets can be configured for a counterclockwise rotational direction. It should be understood that each previously described rule set can have an inverted counterpart.

[0110] Furthermore, one rule set may be selected as a primary rule set for overall operation when all sensor elements are operational, and another rule set may be selected as a backup rule set for backup operation if one or more sensor elements are detected as faulty. The selection process may be based on the detected direction of rotation and the number of operating sensor elements and / or the number of operating sensor element pairs.

[0111] In addition, when the sensor signal determines that one or more of the differential measurement signals are invalid or one or more of the sensor elements are faulty, the sensor circuit can output a warning message (e.g., a different pulse length, a different signal level, or a warning flag in a status message) and output the warning message to an external device that can be configured to indicate an error to a user. An error can also be detected if the threshold crossings of the differential measurement signal do not occur regularly in an expected sequence, and a warning message can be issued in response to the error.

[0112] Fig. 9 A flow chart of a method 900 for sensing a rotational speed of an encoder according to one or more embodiments is illustrated. The method includes generating a measurement value by a plurality of sensor elements in response to sensing a magnetic field (operation 91). The method also includes generating three differential measurement signals using the measurement values ​​from the plurality of sensor elements (operation 93). The method also includes detecting a crossing at one or more thresholds by the three differential measurement signals (operation 95), and generating an output signal based on the detected crossing (operation 97).

[0113] In view of the above, if one of the three sensor pairs fails (e.g., stuck in DC, short circuit, significantly reduced amplitude), the sensor system can continue to operate in a backup mode. For example, a backup rule set can be implemented, or the switching point can be phase shifted to a designed distance between the center point of the centered sensor pair and the center point of the shifted sensor pair. In addition, the phase shift is known and defined by the distance between the sensor elements rather than by a reference voltage as in existing hidden hysteresis systems. Therefore, the sensor system can easily compensate on a system level in the event of a detected failure and can be indicated by a warning.

[0114] As mentioned above, the above examples may be used in any combination unless explicitly stated otherwise. Furthermore, it will be appreciated that other arrangements of sensor elements not explicitly described, other types of encoders, and other sets of rules are possible.

[0115] Although the above embodiments are described in the context of detecting wheel speed or camshaft speed, the sensor can be used to detect the rotational speed of any rotating element or object that creates sinusoidal changes in the magnetic field as it rotates and can be sensed by the sensor. For example, a combination of an iron wheel and a back bias magnet can be used to generate a time-varying magnetic field. Alternatively, an active encoder wheel (without a back bias magnet) can be used to generate a time-varying magnetic field.

[0116] In addition, although various embodiments have been described, it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the present invention. Therefore, the present invention is not limited except in accordance with the appended claims and their equivalents. With respect to the various functions performed by the above-mentioned components or structures (accessories, devices, circuits, systems, etc.), the terms used to describe these components (including references to "devices") are intended (unless otherwise specified) to correspond to (i.e., functionally equivalent to) any component or structure that performs the specified function of the described component, even if these components or structures are not structurally equivalent to the disclosed structures that perform the functions in the exemplary embodiments of the present invention shown herein.

[0117] In addition, the following claims are hereby incorporated into the detailed description, where each claim can stand on its own as a separate example embodiment. Although each claim can stand on its own as a separate example embodiment, it should be noted that although a dependent claim can refer to a specific combination with one or more other claims in a claim, other example embodiments can also include a combination of dependent claims with the subject matter of each other dependent claim or independent claim. Unless it is stated that a specific combination is not intended to be used, such a combination is proposed herein. In addition, even if the claim is not directly dependent on the independent claim, it is intended to include the features of the claim for any other independent claim.

[0118] It is also noted that the methods disclosed in the specification or claims may be implemented by a device having means for performing each of the individual acts of these methods.

[0119] In addition, it should be understood that the disclosure of multiple actions or functions disclosed in the specification or claims may not be interpreted as being in a specific order. Therefore, the disclosure of multiple actions or functions will not limit these actions or functions to a specific order unless these actions or functions are not interchangeable for technical reasons. In addition, in some embodiments, a single action may include multiple sub-actions or may be decomposed into multiple sub-actions. Unless explicitly excluded, these sub-actions may be included in the disclosure of the single action and become part of the disclosure of the single action.

Claims

1. A magnetic sensor module, configured to measure a magnetic field, wherein the magnitude of the magnetic field oscillates between a first extreme value and a second extreme value, the magnetic sensor module comprising: a magnetic sensor comprising a plurality of sensor elements configured to generate a measurement in response to sensing the magnetic field, wherein the plurality of sensor elements are grouped into a first shifted pair, a centered pair, and a second shifted pair, wherein the plurality of sensor elements are arranged linearly, and wherein the sensor elements of the centered pair are arranged symmetrically with respect to a geometric center; and A sensor circuit configured to receive the measurement values ​​from the plurality of sensor elements, generate a first shifted differential measurement signal based on the measurement values ​​received from the first shifted pair, generate a centered differential measurement signal based on the measurement values ​​received from the centered pair, and generate a second shifted differential measurement signal based on the measurement values ​​received from the second shifted pair, and generate an output signal based on detecting that the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal cross at least one threshold.

2. The magnetic sensor module according to claim 1, wherein: The magnetic sensor module is an incremental speed sensor, and The sensor circuit is configured to modulate the output signal according to a rotational speed of an encoder, wherein the crossing of the at least one threshold by the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal depends on the rotation of the encoder.

3. The magnetic sensor module according to claim 1, wherein: The sensor circuit includes at least one calibration unit, which is configured to: monitor the first extreme value and the second extreme value, and adjust the at least one threshold value based on the average of the first extreme value and the second extreme value, or adjust the offset applied to one or more of the first shifted differential measurement signal, the centered differential measurement signal and the second shifted differential measurement signal based on the average of the first extreme value and the second extreme value.

4. The magnetic sensor module of claim 1 , wherein the sensor circuit is configured to detect the crossing of the at least one threshold by the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal based on a falling edge crossing or a rising edge crossing.

5. The magnetic sensor module according to claim 1, wherein: The sensor circuit includes a switching mechanism configured to change a logic value of the output signal based on the oscillation of the magnetic field, and The sensor circuit is configured to arm, trigger, disarm, and re-enable the switching mechanism based on the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal crossing the at least one threshold.

6. The magnetic sensor module according to claim 1, further comprising: a switching mechanism configured to change a logic value of the output signal based on the oscillation of the magnetic field; and a state machine configured to apply a plurality of switching rule sets providing criteria for arming, disarming, and re-enabling the switching mechanism and for changing the logic value of the output signal, Wherein the criterion is based on the first shifted differential measurement signal, the centered differential measurement signal and the second shifted differential measurement signal crossing the at least one threshold value.

7. The magnetic sensor module according to claim 6, wherein: The sensor circuit is configured to detect an oscillation direction of the magnetic field, and the state machine is configured to apply a rule set from the plurality of switching rule sets for controlling the switching mechanism based on the detected oscillation direction.

8. The magnetic sensor module according to claim 6, wherein: The sensor circuit is configured to detect an operating state of each of the plurality of sensor elements, the operating state comprising a valid state or a fault state, and The state machine is configured to apply a rule set from the plurality of switching rule sets based on the operating state of each sensor element in the plurality of sensor elements.

9. The magnetic sensor module according to claim 6, wherein: The sensor circuit is configured to determine the validity of each of the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal, and The state machine is configured to apply a set of rules from the plurality of switching rule sets based on the validity of each of the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal.

10. The magnetic sensor module according to claim 9, wherein: The sensor circuit is configured to determine whether each of the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal is valid based on crossing three thresholds within a predetermined time period.

11. The magnetic sensor module of claim 9, wherein the sensor circuit is configured to determine whether the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal are valid based on a relationship in which the amplitudes of each of the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal are compared with each other.

12. The magnetic sensor module of claim 9, wherein the sensor circuit is configured to determine whether the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal are valid based on whether each of the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal exceeds an offset threshold.

13. The magnetic sensor module according to claim 6, wherein: The plurality of switching rule sets include a primary rule set and a backup rule set, and The state machine is configured to apply the primary rule set when all sensor elements of the plurality of sensor elements are operating normally and to apply the backup rule set when at least one sensor element of the plurality of sensor elements is faulty.

14. The magnetic sensor module according to claim 1, wherein: the sensor circuit comprising a switching mechanism configured to change a logic value of the output signal based on the oscillation of the magnetic field, The at least one threshold comprises a switching threshold, and The sensor circuit is configured to arm the switching mechanism in response to detecting that the first shifted differential measurement signal crosses the switching threshold, to change the logic value of the output signal and to disarm the switching mechanism in response to detecting that the centered differential measurement signal crosses the switching threshold, and to re-enable the switching mechanism in response to detecting that the second shifted differential measurement signal crosses the switching threshold.

15. The magnetic sensor module of claim 14, wherein the sensor circuit is configured to re-enable the switching mechanism if a maximum or minimum value of a valid differential measurement signal among the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal is detected.

16. The magnetic sensor module according to claim 1, wherein: the sensor circuit comprising a switching mechanism configured to change a logic value of the output signal based on the oscillation of the magnetic field, The at least one threshold comprises a hysteresis threshold and a switching threshold, and The sensor circuit is configured to arm the switching mechanism in response to detecting that the centered differential measurement signal crosses the hysteresis threshold, to change the logic value of the output signal and to disarm the switching mechanism in response to detecting that the centered differential measurement signal crosses the switching threshold, and to re-enable the switching mechanism in response to detecting that the second shifted differential measurement signal crosses the switching threshold.

17. The magnetic sensor module according to claim 1, wherein: the sensor circuit comprising a switching mechanism configured to change a logic value of the output signal based on the oscillation of the magnetic field, The at least one threshold comprises a hysteresis threshold and a switching threshold, and The sensor circuit is configured to arm the switching mechanism in response to detecting that the first shifted differential measurement signal crosses the switching threshold, to change the logic value of the output signal and to disarm the switching mechanism in response to detecting that the centered differential measurement signal crosses the switching threshold, and to re-enable the switching mechanism in response to detecting that the centered differential measurement signal crosses the hysteresis threshold.

18. The magnetic sensor module of claim 1, wherein in a case where the centered differential measurement signal is invalid, the sensor circuit is configured to generate the output signal based on an interpolated center signal generated from an average of the first shifted differential measurement signal and the second shifted differential measurement signal.

19. The magnetic sensor module of claim 1 , wherein when one of the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal is invalid, the sensor circuit is configured to generate the output signal based on an asymmetric shift of a valid differential measurement signal among the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal.

20. A method for sensing the rotational speed of an encoder, comprising: generating a measurement by a plurality of sensor elements in response to sensing a magnetic field, wherein the plurality of sensor elements are grouped into a first shifted pair, a centered pair, and a second shifted pair, wherein the plurality of sensor elements are arranged linearly, and wherein the sensor elements of the centered pair are arranged symmetrically with respect to a geometric center; generating a first shifted differential measurement signal based on the measurement values ​​generated by the first shifted pair, generating a centered differential measurement signal based on the measurement values ​​generated by the centered pair, and generating a second shifted differential measurement signal based on the measurement values ​​generated by the second shifted pair; and An output signal is generated based on detecting that the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal cross at least one threshold.

21. The method according to claim 20, further comprising: arming, triggering, disarming, and re-enabling a switching mechanism based on the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal crossing the at least one threshold, Wherein the switching mechanism is configured to modulate the output signal based on the trigger.

22. The method according to claim 20, further comprising: determining a validity of each of the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal; and At least one of a plurality of switching rule sets is applied based on the validity of each of the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal, the plurality of switching rule sets providing criteria for preparing, disarming, and re-enabling the switching mechanism and for changing the logic value of the output signal, wherein the criteria are based on the first shifted differential measurement signal, the centered differential measurement signal, and the second shifted differential measurement signal crossing the at least one threshold.