System and method for detecting magnetic turn counter errors using redundancy - Patents.com

JP7538947B2Active Publication Date: 2024-08-22ANALOG DEVICES INT UNLTD CO
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2023509804
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-08-12
Filing Date
2021-07-26
Publication Date
2024-08-22
Estimated Expiration
2041-07-26

Smart Images

  • Figure 0007538947000009
    Figure 0007538947000009
  • Figure 0007538947000011
    Figure 0007538947000011
  • Figure 0007538947000012
    Figure 0007538947000012
Patent Text Reader

Abstract

A system and method for detecting magnetic turn counter errors using redundancy is provided. In one aspect, a magnetic field turn sensor system includes a magnetic field angle sensor having a sine bridge and a cosine bridge, and first, second, and third comparators configured to compare outputs from the sine bridge and the cosine bridge. The system further includes a processor configured to receive outputs from each of the first, second, and third comparators, determine that a combination of the outputs from the first, second, and third comparators corresponds to an invalid state, and indicate an anomaly in response to determining that a combination of the outputs from the first, second, and third comparators corresponds to an invalid state.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] FIELD OF THE DISCLOSURE Embodiments of the present invention relate to electronic systems and, more particularly, to a system and method for detecting sensor errors through a magnetic turn counter sensing element. [Background technology]

[0002] Magnetic sensors can be implemented to obtain linear or circular position or angle information of mechanical components such as shafts in a variety of applications, including automotive steering systems. Magnetic sensing elements used in magnetic angle sensors often suffer from sensitivity level changes and non-linearity errors due to, for example, temperature changes, making it desirable to implement sensor error detection mechanisms for magnetic sensors. Summary of the Invention [Means for solving the problem]

[0003] The methods and devices of the described technology each have several aspects, no single aspect being solely responsible for its desirable attributes.

[0004] In one aspect, a magnetic field turn sensor system is provided that includes a magnetic field angle sensor having a first bridge having a positive output and a negative output and a second bridge having a positive output and a negative output; a first comparator configured to compare the positive and negative outputs of the first bridge; a second comparator configured to compare the positive and negative outputs of the second bridge; a third comparator configured to compare a first one of the positive and negative outputs of the first bridge with a first one of the positive and negative outputs of the second bridge; and a processor, wherein the processor is configured to receive outputs from each of the first comparator, the second comparator, and the third comparator, determine that a combination of the outputs from the first comparator, the second comparator, and the third comparator corresponds to an invalid state, and indicate an anomaly in response to determining that a combination of the outputs from the first comparator, the second comparator, and the third comparator corresponds to an invalid state.

[0005] The processor may be further configured to determine a quadrant of the magnetic field angle sensor based at least in part on outputs from the first comparator and the second comparator.

[0006] The received outputs may include a first output received at a first time, and the processor may be further configured to receive a second output from each of the first comparator, the second comparator, and the third comparator at a second time, determine that a transition between a first state including the combination of the first outputs and a second state including the combination of the second outputs corresponds to an invalid transition, and indicate an anomaly in response to determining that the transition corresponds to an invalid transition.

[0007] The first bridge may include a sine bridge and the second bridge may include a cosine bridge.

[0008] The system may further include a fourth comparator configured to compare a second of the positive and negative outputs of the sine bridge with a second of the positive and negative outputs of the cosine bridge, the processor being further configured to receive an output from the fourth comparator, and the determination that the output combination corresponds to an invalid state is further based on the output from the fourth comparator.

[0009] The second output of the positive and negative outputs of the sine bridge may be the same as the first output of the positive and negative outputs of the sine bridge, and the second output of the positive and negative outputs of the cosine bridge may be different from the first output of the positive and negative outputs of the cosine bridge.

[0010] The processor may be further configured to determine an octant of the magnetic field angle sensor based at least in part on outputs from the first comparator, the second comparator, the third comparator, and the fourth comparator.

[0011] The received outputs may include a first output received at a first time, and the processor may be further configured to receive a second output from each of the first comparator, the second comparator, the third comparator, and the fourth comparator at a second time, determine that a transition between a first state including the combination of the first outputs and a second state including the combination of the second outputs corresponds to an invalid transition, and indicate an anomaly in response to determining that the transition corresponds to an invalid transition.

[0012] The system can be configured to consume less power than a power consumption budget provided for diagnostic components of an electric power assisted steering (ePAS) system.

[0013] Another aspect is a motor control system configured to control a vehicle, the motor control system comprising: a shaft connected to a steering wheel of the vehicle; a magnetic field turn sensor system, the magnetic field angle sensor having a first bridge having a positive output and a negative output and a second bridge having a positive output and a negative output; a first comparator configured to compare the positive and negative outputs of the first bridge; a second comparator configured to compare the positive and negative outputs of the second bridge; a third comparator configured to compare a first one of the positive and negative outputs of the first bridge with a first one of the positive and negative outputs of the second bridge; and a processor, the processor configured to receive outputs from each of the first comparator, the second comparator, and the third comparator; determine that a combination of outputs from the first comparator, the second comparator, and the third comparator corresponds to an invalid state; and indicate an anomaly in response to determining that a combination of outputs from the first comparator, the second comparator, and the third comparator corresponds to an invalid state.

[0014] The processor may be further configured to determine a quadrant of the magnetic field angle sensor based at least in part on outputs from the first comparator and the second comparator.

[0015] The received outputs may include a first output received at a first time, and the processor may be further configured to receive a second output from each of the first comparator, the second comparator, and the third comparator at a second time, determine that a transition between a first state including the combination of the first outputs and a second state including the combination of the second outputs corresponds to an invalid transition, and indicate an anomaly in response to determining that the transition corresponds to an invalid transition.

[0016] The first bridge may include a sine bridge and the second bridge may include a cosine bridge, and the magnetic field turn sensor system may further include a fourth comparator configured to compare a second of the positive and negative outputs of the sine bridge with a second of the positive and negative outputs of the cosine bridge, and the processor is further configured to receive an output from the fourth comparator, and the determination that the output combination corresponds to an invalid state is further based on the output from the fourth comparator.

[0017] The second output of the positive and negative outputs of the sine bridge may be the same as the first output of the positive and negative outputs of the sine bridge, and the second output of the positive and negative outputs of the cosine bridge may be different from the first output of the positive and negative outputs of the cosine bridge.

[0018] The processor may be further configured to determine an octant of the magnetic field angle sensor based at least in part on outputs from the first comparator, the second comparator, the third comparator, and the fourth comparator.

[0019] The received outputs may include a first output received at a first time, and the processor may be further configured to receive a second output from each of the first comparator, the second comparator, the third comparator, and the fourth comparator at a second time, determine that a transition between a first state including the combination of the first outputs and a second state including the combination of the second outputs corresponds to an invalid transition, and indicate an anomaly in response to determining that the transition corresponds to an invalid transition.

[0020] The system can be configured to consume less power than a power consumption budget provided for diagnostic components of an electric power steering (ePAS) system.

[0021] Yet another aspect is a method for detecting an error in a magnetic field turn sensor system, the method including receiving outputs from each of a first comparator, a second comparator, and a third comparator, the magnetic field turn sensor system including a magnetic field angle sensor having a first bridge having a positive output and a negative output and a second bridge having a positive output and a negative output, the first comparator configured to compare the positive output and the negative output of the first bridge, the second comparator configured to compare the positive output and the negative output of the second bridge, and the third comparator configured to compare a first one of the positive and negative outputs of the first bridge with a first one of the positive and negative outputs of the second bridge; determining that a combination of the outputs from the first comparator, the second comparator, and the third comparator corresponds to an invalid state; and indicating an anomaly in response to determining that the combination of the outputs from the first comparator, the second comparator, and the third comparator corresponds to the invalid state.

[0022] The method may further include determining a quadrant of the magnetic field angle sensor based at least in part on the output from the first comparator and the second comparator.

[0023] The received outputs may include a first output received at a first time, and the method may further include receiving a second output from each of the first comparator, the second comparator, and the third comparator at a second time, determining that a transition between a first state including the combination of the first outputs and a second state including the combination of the second outputs corresponds to an invalid transition, and indicating an anomaly in response to determining that the transition corresponds to an invalid transition.

[0024] The first bridge may include a sine bridge and the second bridge may include a cosine bridge, and the magnetic field turn sensor system may further include a fourth comparator configured to compare a second of the positive and negative outputs of the sine bridge with a second of the positive and negative outputs of the cosine bridge, the method further including receiving an output from the fourth comparator, and determining that the output combination corresponds to an invalid state is further based on the output from the fourth comparator.

[0025] These drawings and the associated description herein are provided to illustrate particular embodiments of the invention and are not intended to be limiting. [Brief description of the drawings]

[0026] [Figure 1A] 1 is a schematic diagram of an example implementation of an error detection system in accordance with a particular embodiment. [Figure 1B] 1 is a schematic diagram of an example implementation of an error detection system in accordance with a particular embodiment. [Figure 2A] 1 illustrates a diagram of an exemplary implementation of a first sensor, according to one embodiment. [Figure 2B] FIG. 13 is a block diagram illustrating an arrangement of multiple comparators that can be used to determine in which quadrant a shaft angle is currently located, according to aspects of the present disclosure. [Figure 2C] 1 illustrates an example of a first output and a second output from a sine bridge and a cosine bridge that are provided to a first comparator and a second comparator, according to an aspect of the present disclosure. [Figure 2D] 1 illustrates an example of a first output and a second output from a sine bridge and a cosine bridge that are provided to a first comparator and a second comparator, according to an aspect of the present disclosure. [Diagram 3] FIG. 1 is a block diagram of an example implementation of a magnetic field turn sensor system configured to detect errors in turn counting, according to aspects of the present disclosure. [Figure 4]FIG. 13 is a block diagram illustrating an example configuration of multiple comparators that can be used to determine in which quadrant a shaft angle is currently located, according to aspects of the present disclosure. [Diagram 5] FIG. 13 is a block diagram illustrating another example configuration of multiple comparators that may be used to determine in which quadrant a shaft angle is currently located, according to aspects of the present disclosure. [Figure 6] 11 is a graph illustrating normalized output versus shaft angle for a sine bridge and a cosine bridge, in accordance with aspects of the present disclosure. [Figure 7] 1 is a flowchart of an example implementation of a method for detecting an error in a comparator according to an aspect of the disclosure. [Figure 8] FIG. 13 is a block diagram illustrating an embodiment of a comparator with chopping that may be used in a magnetic field turn sensor system in accordance with aspects of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0027] Various aspects of the novel system, apparatus, and method are described more fully below with reference to the accompanying drawings. However, aspects of the disclosure may be embodied in many different forms and should not be construed as limited to any specific structure or function presented throughout this disclosure. Rather, these aspects are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Based on the teachings herein, those skilled in the art will appreciate that the scope of the disclosure is intended to cover any aspect of the novel system, apparatus, and method disclosed herein, whether implemented independently of any other aspect or in combination with any other aspect. For example, an apparatus may be implemented or a method may be performed using any number of the aspects described herein. In addition, the scope is intended to encompass such an apparatus or method that is implemented using other structure, other functions, or other structure and functions in addition to or other than the various aspects described herein. It should be understood that any aspect disclosed herein may be embodied by one or more elements of a claim.

[0028] Although specific aspects are described herein, many variations and permutations of these aspects are within the scope of the present disclosure. Although some benefits and advantages of the preferred aspects are mentioned, the scope of the present disclosure is not intended to be limited to specific benefits, applications, or purposes. Rather, the aspects of the present disclosure are intended to be broadly applicable to different wired and wireless technologies, system configurations, networks including optical networks, hard disks, and transmission protocols, some of which are illustrated in the drawings and the following description of the preferred aspects as examples. The detailed description and drawings are merely illustrative of the present disclosure rather than limiting, the scope of the present disclosure being defined by the appended claims and their equivalents.

[0029] In this description, reference is made to the drawings, in which like reference numbers may indicate identical or functionally similar elements. It should be understood that the elements illustrated in the drawings are not necessarily drawn to scale. It should also be understood that certain embodiments may include more elements than are illustrated in the drawings and / or a subset of the elements illustrated in the drawings. Furthermore, some embodiments may incorporate any suitable combination of features from two or more drawings.

[0030] Overview of the Magnetic Field Turn Sensor System 1A and 1B are schematic diagrams of an example implementation of an error detection system, according to a particular embodiment. The illustrated implementation 100 includes a shaft 106, a magnet 104, a magnetic field turn sensor system or sensing circuit 102, and a circuit board 108. An embodiment of the sensing circuit 102 is further described below in connection with FIGS. 2-3. The magnet 104 can be attached to a rotating shaft 106. The rotating shaft 106 can be associated with a steering wheel of an automobile in a particular implementation. The sensing circuit 102 can sense a change in position of the magnet 104 and provide an indication of rotation of the rotating shaft 106. The positional relationship between the sensing circuit 102 and the magnet 104 illustrated in FIGS. 1A and 1B is for illustration purposes. In another embodiment, the implementation can use an end-of-shaft configuration, where the magnet 104 can be a dipole magnet located at the end of the shaft 106, and the sensing circuit 102 can be located below the magnet 104. The positional relationship can be different. In one embodiment, the sensing circuit 102 may include two sensors, a first sensor and a second sensor. The second sensor may be the same as or different from the first sensor. For example, the second sensor may use a different sensing principle and a different signal chain design to ensure robustness.

[0031] In embodiments, magnetic sensors such as anisotropic magnetoresistance (AMR), giant magnetoresistance (GMR), or tunneling magnetoresistance (TMR) sensors, or any other suitable magnetoresistance (XMR) sensors, can be used to implement the disclosed apparatus and / or methods. In some embodiments, the magnetic sensors can measure a change in resistivity that is proportional to the magnetization direction of the free layer in the magnetoresistance sensor. Errors can be detected by using magnetic sensors such as AMR and TMR sensors, as well as various combinations of sensing elements of the magnetic sensors.

[0032] In certain motor control applications, it is beneficial to monitor the number of turns that the shaft 106 rotates, even when the motor controller is powered off. Such systems may arise where the shaft 106 may be moved by an external force while the system is powered off. To address this challenge, a low power circuit (which may be included as part of the sensing circuit 102) may be configured to continuously monitor the rotation of the shaft 106 while the rest of the motor control system is powered down.

[0033] An example of a system in which it may be beneficial to monitor the rotation or number of turns of the shaft 106 is an electric power steering (ePAS) system in an automobile. In many ePAS systems, the angle of the shaft 106 is monitored as part of the motor control function when the system is operating normally. The low power sensing circuit 102 can also be used to track the turns of the shaft 106 during normal operation.

[0034] The number of turns that the motor shaft 106 has rotated may be a critical variable for certain vehicle functions. For example, an error in the number of turns measurement of the steering wheel shaft may result in an incorrect steering angle being detected, which may lead to a dangerous situation. It may therefore be important to accurately measure the turn count and flag any errors in the angle measurement to the motor control system. Providing diagnostic coverage for low power turn counters is difficult because typical diagnostic techniques may consume additional power. For example, the low power rotation sensing circuit 102 may have a limited power consumption budget because consuming too much power while the vehicle is turned off may prematurely drain the vehicle battery. This may result in adding an error detection diagnostic that consumes too much additional power causing the power usage of the sensing circuit 102 to exceed the power consumption budget.

[0035] In the present disclosure, the sensing circuit 102 can use angle measurements from one of more signal processing paths to monitor the transition angle between quadrants measured by the sensing circuit. Errors in the components of the sensing circuit 102 can be detected by comparing the measured transition angle to an expected transition angle. For example, certain errors in the components of the sensing circuit 102 will affect the particular angle at which the sensing circuit 102 transitions between quadrants, which can be detected by comparing the measured transition angle to a predetermined expected transition angle.

[0036] Aspects of the present disclosure can be implemented, for example, in a magnetic angle sensor including a sensing circuit 102. Such magnetic sensors can include AMR and TMR sensing elements, signal conditioning electronics, and interfaces. Depending on the implementation, the interface can include one or more of a serial peripheral interface (SPI), a single edge nibble transmission (SENT) interface, a peripheral acceleration sensor (PAS) interface such as PAS4, and the like. In one application, the interface can be a PAS interface, such as a PAS4 interface for a remote accelerometer used for airbag deployment in a vehicle, for communication with a host electronic control unit (ECU). The magnetic angle sensor can be implemented in an ePAS system of an automobile. Such a system has functional safety specifications defined according to ISO-26262, a functional safety standard for road vehicles. The principles and advantages discussed herein can be implemented to detect errors in turn count measurements of a shaft 106 (e.g., associated with a steering wheel) while the sensing circuit 102 is operating in a low power mode in an ePAS system to meet the functional safety specifications. In other cases, the example implementation 100 may be used in other systems that comply with other specifications or standards, or that require error detection in low power turn counting applications.

[0037] As described herein, a magnetic sensor typically includes two full bridges, e.g., a cosine bridge and a sine bridge. Each of the cosine bridge and the sine bridge has a voltage, i.e., V COS and V SIN For example, in an AMR sensor that uses a single dipole magnet, the "electrical angle" is arctan(V SIN / V COS ) and herein ANGLE MAGThe "magnetic angle", expressed as θ = θ ... MAG / N), where N is the number of pole pairs.

[0038] In some embodiments, the systems and methods disclosed herein may be applied to a device having a rotating shaft, which may include one or more magnetic elements such as a dipole magnet or a ring magnet, etc. Measurements of the magnetic field by the sensing element can be used to determine the rotation angle of the shaft.

[0039] Magnetic field turn sensor system and error detection technique embodiment FIG. 2A illustrates an exemplary implementation of a first sensor 110 according to an embodiment. The first sensor 110 includes one or more half bridges. A sensor 110 including two or more half bridges can be configured as one or more full bridges. The exemplary first sensor 110 illustrated in FIG. 2A includes eight sensing elements R1-R8 configured as a system of four half bridges. As illustrated in FIG. 2A, the first sensor 110 includes sensing elements R1 and R3 forming a first half bridge having an output V1, sensing elements R2 and R4 forming a second half bridge having a second output V2, sensing elements R5 and R7 forming a third half bridge having an output V3, and sensing elements R6 and R8 forming a fourth half bridge having an output V4.

[0040] The half bridges (or full bridges, which are paired half bridges) of the half bridge system can be oriented at an angle relative to each other and configured to sense magnetic fields in different directions. In FIG. 2A, the full bridge including the sensing elements R1-R4 and the full bridge including the sensing elements R5-R8 are oriented at an angle α relative to each other. In the illustrated embodiment, α=about 45°. In the embodiment, each of the two pairs of half bridges (which are full bridges) can form an individual channel, i.e., a first channel and a second channel, each of which is a path between the first sensor and the interface. Here, one full bridge can correspond to a cosine bridge and the other bridge can correspond to a sine bridge. For example, the cosine bridge can include the sensing elements R1-R4 and the sine bridge can include the sensing elements R5-R8, where V2-V1=V COS and V4~V3=V SIN2A. One of the sine and cosine bridges may be included in a first channel, which is a first path from the first sensor 110 to the interface. The other of the sine and cosine bridges may be included in a second channel, which is a second path from the first sensor 110 to the interface. The first path is different and / or separate from the second path. In other embodiments, the system of half bridges may include more or fewer half bridges than the embodiment illustrated in FIG. 2A.

[0041] 2B is a block diagram illustrating a configuration of multiple comparators 126 that can be used to determine the quadrant in which the angle of the shaft 106 is currently located, according to an embodiment of the disclosure. For example, the configuration illustrates a sine full bridge 203a and a cosine full bridge 203b, which may be similar to the full bridge illustrated in FIG. 2A. The sine bridge 203a is configured to generate a positive output 207P and a negative output 207M, and the cosine bridge 203b is also configured to generate a positive output 205P and a negative output 205M. The outputs 205P, 205M, 207P, and 207M from the sine bridge 203a and the cosine bridge 203b will change depending on the current orientation of the magnet 104 on the shaft 106. More specifically, the positive output 205P and the negative output 205M from the cosine bridge 203b are provided to the first comparator 126a, while the positive output 207P and the negative output 207M from the sine bridge 203a are provided to the second comparator 126b. Although FIG. 2B illustrates a sine bridge 203a and a cosine bridge 203b, aspects of the disclosure are not so limited. For example, in some implementations, the configuration may include a first bridge and a second bridge with an offset therebetween, such as 15°, 30°, 45°, 60°, 75°, 120°, 135°, or any other offset.

[0042] 2C and 2D illustrate examples of outputs 205P, 205M, 207P, and 207M from sine bridge 203a and cosine bridge 203b that are provided to first comparator 126a and second comparator 126b, according to an embodiment of the present disclosure. As shown in FIG. 2C, each of outputs 205P, 205M, 207P, and 207M changes as shaft 106 rotates 360°. Taking positive output 205P and negative output 205M from cosine bridge 203b as an example, outputs 205P and 205M cross each other when shaft 106 rotates at two points separated by 180°. The positive output 207P and the negative output 207M from the sine bridge 203a also cross each other at two points separated by 180°, which are offset by 90° from the outputs 205P and 205M from the cosine bridge 203b. Referring to Figures 2B and 2D, the first comparator 126a compares the value of the output 205P from the cosine bridge 203b with the value of the output 205M to generate a first digital output 209 (illustrated in both signal and digital representations), and the second comparator 126b compares the value of the output 207P from the sine bridge 203a with the value of the output 207M to provide a second digital output 211 (also shown in signal and digital representations). The processor can use the first digital output 209 and the second digital output 211 to identify which quadrant the shaft angle is currently in.

[0043] 3 is a block diagram of an example implementation of a magnetic field turn sensor system 102 configured to detect errors in turn counting, according to aspects of the disclosure. In particular, the magnetic field turn sensor system 102 includes a first signal processing path 111, a second signal processing path 113, a turn counting path 115, a processor 117 connected to each of the first signal processing path 111 and the second signal processing path 113 and the turn counting path 115, a memory 119, and a logic gate 121. The first signal processing path 111 includes a first sensor 110, an amplifier 112, an analog-to-digital converter (ADC) 114, and an angle calculator 116. The second signal processing path 113 includes a second sensor 118, an amplifier 120, an ADC 122, and an angle calculator 124. In certain embodiments, the components of the first signal processing path 111 and the second signal processing path 113 may be substantially the same. The turn counting path 115 includes one or more comparators 126 and a quadrant calculator 128. As shown in Figure 3, the comparator 126 is configured to receive an output from the second sensor 118 of the second signal processing path 113. However, in other embodiments, the comparator 126 may be configured to receive an output from the first sensor 110 or from both the first sensor 110 and the second sensor 118.

[0044] The memory 119 can be configured to store a combination of valid outputs of one or more of the comparators 126. In some embodiments, the combination of valid outputs may be stored in the logic gate 121 rather than in the memory 119. The combination of valid outputs may be used to detect errors in the comparators 126, as described in detail herein.

[0045] Processor 117 is configured to receive the angle measurements from each of first processing path 111 and second processing path 113, and to receive the quadrant measurements from turn counting path 115. Processor 117 can determine the angle of shaft 106 based on the angle measurements received from first processing path 111 and second processing path 113. Processor 117 can also determine a turn count (e.g., the number of turns shaft 106 has been rotated relative to a neutral position, which may be defined as a "zero" turn position) by tracking the quadrant measurements from turn counting path 115 over time.

[0046] There are several potential places where errors can occur within the magnetic field turn sensor system 102. Specifically, errors that can ultimately affect the turn count determined by the processor 117 include errors occurring within the second sensor 118, the comparator 126, the quadrant calculator 128, and / or the processor 117 itself. As such, in order for the processor 117 to flag potential errors in the turn count to the motor control system, aspects of the present disclosure relate to systems and techniques that can be used to detect certain errors occurring in the comparator 126, the first sensor 110, the second sensor 118, and / or the connectivity between these components.

[0047] While detecting errors in the second sensor 118 and quadrant calculator 128 are important components for detecting possible errors in the magnetic field turn sensor system 102, aspects of the present disclosure focus primarily on detecting errors in the comparator 126, and may be capable of detecting certain other errors as well (e.g., certain errors in the second sensor 118 may result in an output similar to a stuck or inverted comparator 126).

[0048] 2B-2D, the quadrant calculator 128 can determine the quadrant in which the shaft 106 is currently oriented based on the outputs of the first comparator 126a and the second comparator 126b. As shown in FIG. 2B, the first comparator 126a receives the output 205 from the cosine bridge 203b, and the second comparator 126b receives the output 207 from the sine bridge 203a. The combination of the outputs 00, 01, 10, 11 from the first comparator 126a and the second comparator 126b allows the quadrant calculator to distinguish the quadrant in which the shaft 106 may be oriented. The change in quadrant can be used (e.g., by the processor 117) to increment and / or decrement a turn counter.

[0049] If there are no errors in the first comparator 126a and the second comparator 126b, the outputs of the first comparator 126a and the second comparator 126b as the shaft 106 rotates through the quadrants Q1-Q4 are shown in the table below.

[0050] [Table 1]

[0051] However, there may be an error in the first comparator 126a that causes the output of the first comparator to be "stuck" at a high value (e.g., "1"). In some cases, the first comparator 126a may fail, resulting in the output of the first comparator 126 not changing, for example, there may be an error in the comparator 126a itself, there may be an error in the sine bridge 203a or the cosine bridge 203b, and / or the connection between the sine bridge 203a or the cosine bridge 203b and the comparator 126a may be broken. However, there may also be other malfunctions that can cause errors in the output of the comparator 126a. Such errors may result in the outputs of the first comparator 126a and the second comparator 126b as the shaft 106 is rotated through the quadrants Q1-Q4 shown in the table below.

[0052] [Table 2]

[0053] As shown above, the outputs of the first comparator 126a and the second comparator 126b when the shaft 106 is rotated through quadrants Q1-Q4 while the first comparator 126a is stuck at the high value shown in Table 2 may be indistinguishable from the valid outputs of the first comparator 126a and the second comparator 126b when the shaft is rotated from quadrant Q1 to quadrant Q2 and then rotated back to quadrant Q1 as shown in Table 1.

[0054] If an error occurs in one of the first comparator 126a and the second comparator 126b and is not detected by the magnetic field turn sensor system 102, this can have dangerous consequences in some systems (e.g., a vehicle that uses the magnetic field turn sensor system 102 to detect steering wheel turn counts).

[0055] In certain aspects of the present disclosure, the magnetic field turn sensor system 102 may further include one or more additional comparators to detect potential errors that result in one of the comparators 126 having a stuck output. FIG. 4 is a block diagram illustrating an example configuration of multiple comparators that may be used to determine the quadrant in which the shaft angle is currently located, according to aspects of the present disclosure. Similar to the embodiment of FIG. 2B, in the embodiment of FIG. 4, the configuration illustrates a sine full bridge 203a and a cosine full bridge 203b. Two first outputs 205 from the cosine bridge 203b are provided to the first comparator 126a, and two second outputs 207 from the sine bridge 203a are provided to the second comparator 126b. The configuration further includes a third comparator 126c that may be connected to one of the outputs 205 from the sine bridge 203a and one of the outputs 207 of the cosine bridge 203b. In the embodiment of Fig. 4, the third comparator 126c is connected to the negative outputs 205M and 207M of each of the sine bridge 203a and cosine bridge 203b. However, the third comparator 126c may be connected to different outputs 205 and 207 of the sine bridge 203a and cosine bridge 203b depending on the implementation. For example, the third comparator 126 may receive one of the following combinations of outputs from the sine bridge 203a and cosine bridge 203b: negative outputs 205M and 207M, positive outputs 205P and 207P, positive sine output 207P and negative cosine output 205M, and negative sine output 207M and positive cosine output 205P.

[0056] By adding a third comparator 126c to the configuration shown in FIG. 4, the outputs of the three comparators 126a-126c when there are no errors in the comparator 126 provide the outputs shown in Table 3 below as the shaft 106 rotates through the quadrants Q1-Q4.

[0057] [Table 3]

[0058] As shown in Table 3, the output 213 of the third comparator 126c is offset by 45° from the output of the second comparator 126b, which results in the output of the third comparator 126c varying approximately halfway between the first quadrant Q1 and the third quadrant Q3. In particular, Table 3 illustrates octants Q1a-Q4b and the corresponding outputs from each of the first comparator 126a, the second comparator 126b, and the third comparator 126c. The valid output combinations may be stored in memory 119 to detect deviations from the valid combinations of outputs shown in Table 3.

[0059] When one of the comparators 126a-126c is stuck at a given output, the combination of outputs from the first comparator 126a, the second comparator 126b, and the third comparator 126c results in combinations and / or transitions between combinations that are not valid (e.g., not present in the error-free outputs / transitions shown in Table 3). For example, Table 4 illustrates a pattern of outputs from the first comparator 126a, the second comparator 126b, and the third comparator 126c, where the first comparator 126a has an output that is stuck at a high value.

[0060] [Table 4]

[0061] A stuck first comparator 126 can be detected by detecting an invalid combination of outputs in octant Q3b once the shaft 106 has rotated one full revolution. This allows the processor 117 to detect an error in one of the comparators 126 being stuck when the shaft 106 has rotated one full revolution. In some implementations, the turn count is a value indicating the number of full revolutions of the shaft 106 from the neutral position. By detecting an error within one full revolution of the shaft, adding a third comparator 126b allows this type of error to be detected before the error results in a false positive turn count value.

[0062] In some implementations, a fourth comparator may be added to provide additional invalid combinations and invalid transitions of outputs that may be detected by the processor 117. FIG. 5 is a block diagram illustrating another example configuration of multiple comparators that may be used to determine the quadrant in which the shaft angle is currently located, according to aspects of the present disclosure. In particular, the configuration of FIG. 5 may include similar components as those described above in connection with FIG. 4, but with the addition of a fourth comparator 126d. The fourth comparator 126d is connected to the negative output 205M of the cosine bridge 203b and the positive output 207P of the sine bridge 203a. This causes the transitions between quadrants detected by the fourth comparator 126d to be offset by 180° from the transitions detected by the third comparator 126c. The following table illustrates the pattern of the outputs of the four comparators of FIG. 5 when the shaft rotates completely through the octants Q1a-Q4b without error.

[0063] [Table 5]

[0064] If there is an anomaly in the first comparator, the following pattern of output may result:

[0065] [Table 6]

[0066] As can be seen from Table 6, each of the outputs of octants Q3b and Q4a are invalid combinations. This allows processor 117 to detect each of these output patterns as resulting from an error in one of comparators 126. To detect deviations from the valid combinations of outputs illustrated in Table 5, valid output combinations may be stored in memory 119. In other embodiments, valid output combinations may be implemented via multiple logic gates 121.

[0067] Additionally, for a particular selection of outputs provided to the third comparator 126c and the fourth comparator 126d, one of the comparators 126a-126d may be stuck at either a high output or a low output, resulting in an invalid transition between valid output combinations. Thus, in response to detecting a transition between two valid states, the processor 117 may also be configured to determine whether the transition is valid. For example, if the output corresponding to the transition indicates that the shaft 106 has traveled from octant Q3b to octant Q4b without first going to octant Q4a, the processor 117 may determine that an error has occurred. The detection of invalid transitions between valid output combinations may also be applied to systems having a different number of comparators 126 (e.g., two, three, five, or more comparators 126).

[0068] 6 is a graph illustrating the normalized output of the sine bridge 203a and the cosine bridge 203b versus shaft angle, according to an embodiment of the present disclosure. In particular, line 302 is the positive sine output 207P, line 304 is the negative cosine output 205M, line 306 is the negative sine output 207M, and line 308 is the positive cosine output 205P. Referring to FIG. 5, the first comparator 126a receives the positive cosine output 205P and the negative cosine output 205M, and the second comparator 126b receives the positive sine output 207P and the negative sine output 207N. To provide a pattern of outputs with invalid states when one of the comparators 126 is stuck, the inputs to the third comparator 126c and the fourth comparator 126d should be offset from the first comparator 126a and the second comparator 126b, and from each other. Thus, in one particular implementation, the third comparator 126c can receive one of the positive sine output 207P and the positive cosine output 205P, or the negative sine output 207M and the negative cosine output 205M, while the fourth comparator 126d can receive one of the positive sine output 207P and the negative cosine output 205M, or the negative sine output 207M and the positive cosine output 205P. In other implementations, the inputs to the third comparator 126c and the fourth comparator 126d can be reversed.

[0069] 7 is a flowchart of an example implementation of a method 400 for detecting an error in a comparator 126 according to aspects of the disclosure. The method 400 may be performed by the processor 117 of the magnetic field turn sensor system 102. However, in other embodiments, certain blocks of the method 400 may instead be performed by other components that may be located on the circuit board 108, for example. Additionally, although the blocks are illustrated and described in a particular order, certain blocks may be performed in other orders without departing from aspects of the disclosure.

[0070] The method 400 begins at block 401. At block 402, the processor 117 receives outputs from each of the at least three comparators 126a-126c of the magnetic field turn sensor system 102. Depending on the implementation, the at least three comparators 126a-126d may be configured as shown in one of Figures 4 or 5. At block 404, the processor 117 determines a quadrant of the magnetic field angle sensor 102 based at least in part on the outputs from at least two of the comparators, e.g., based on the outputs of the first comparator 126a and the second comparator 126b.

[0071] In block 406, the processor 117 determines that a combination of outputs from at least three comparators 126a-126c corresponds to an invalid state. For example, when a combination of outputs from the first comparator 126a, the second comparator 126b, and the third comparator 126c does not match a predetermined combination of valid values, the processor 117 may determine that the combination of outputs corresponds to an invalid state. In an implementation including three comparators 126a-126c, the combination of valid states may be similar to the values ​​shown in Table 3. In an implementation including four comparators 126a-126d, the combination of valid states may be similar to the values ​​shown in Table 5, providing more possible invalid states that may be detected by the processor 117 compared to an implementation including three comparators 126a-126d. For example, the combination of valid outputs may be stored in the memory 119 such that the processor 117 may determine whether any given combination of outputs corresponds to a valid state or an invalid state. In some implementations, such as implementations that use a comparator circuit with chopping (e.g., as discussed below in connection with FIG. 8), the processor 117 may also determine that a transition between the first state and the second state corresponds to an invalid transition based on at least three comparator outputs taken at successive times.

[0072] In some implementations, the order of blocks 404 and 406 can be reversed. For example, the processor 117 may first determine that a combination of outputs from the at least three comparators 126a-126c corresponds to a valid state (e.g., similar to block 406 above). In response to determining that the combination of outputs corresponds to a valid state, the processor 117 may determine a quadrant of the magnetic field angle sensor 102 based at least in part on the outputs from at least two of the comparators (similar to block 404 above).

[0073] At block 408, the processor 117 indicates an anomaly in response to determining that a combination of outputs from the at least three comparators corresponds to an invalid state. In some implementations, the processor 117 can also indicate an anomaly in response to determining that a transition corresponds to an invalid transition. The method 400 ends at block 410.

[0074] Aspects of the present disclosure may also be applied to a magnetic field turn sensor system 102 having a comparator 126e with chopping. Figure 8 is a block diagram illustrating an embodiment of a comparator 126e with chopping that may be used in a magnetic field turn sensor system 102 according to aspects of the present disclosure. For example, the comparator 126e illustrated in Figure 8 may be used in place of each of the comparators 126a-126d illustrated in Figures 4 and 5 in certain implementations.

[0075] Similar to the comparators 126a-126d described above, the comparator 126e of FIG. 8 can receive two output signals 205P, 205M, 207P, and 207M from the sine bridge 203a and / or the cosine bridge 203b. In the illustrated embodiment, the comparator 126e receives the positive output 205P and the negative output 205M from the cosine bridge 203b. The comparator 126e includes a chop switch 232 configured to receive the positive output 205P and the negative output 205M and a chop signal 231. The comparator 233 is configured to receive the output from the chop switch 232 and output a digital signal representative of which of the positive output 205P and the negative output 205M has a greater value. For example, comparator 233 provides a "1" or high output for one input signal or magnetic angle when 205P goes to the positive input and 205M goes to the negative input as controlled by the state of chopping switch 232 and chopping signal 231, and provides a "0" or low output for the same input signal or magnetic angle when 205P goes to the negative input of comparator 233 and 205M goes to the positive input as controlled by the chopping switch for the opposite state of chopping signal 231.

[0076] The comparator 126e further includes a multiplexer 237 configured to receive the output from the comparator 233 and the inverted signal through the inverter 235. The multiplexer 237 is configured to select one of the output of the comparator 233 or the inverted output of the comparator 233 based on the chop signal 231. The multiplexer 237 provides a portion of the chopping of the output from the comparator 233. In some implementations, the comparator 126e may not include the multiplexer 237, and instead the output and the inverted output from the comparator 233 may be provided directly to the processor 117 in digital form.

[0077] If an anomaly is present on a first comparator of a magnetic field turn sensor system 102 that includes four comparators with chopping, such as comparator 126e of FIG. 8 (e.g., the comparators may be arranged as shown in FIG. 5), the following pattern of outputs may result, as shown in Table 6. In Table 6, the left subcolumn represents the comparator output with high chop and the right subcolumn represents the comparator output with low chop.

[0078] [Table 7]

[0079] In Table 6, in the valid state / transition row, output combinations that have invalid states are marked with a "0," invalid transitions between states are marked with an "X," and valid states are marked with a "1." As can be seen from Table 6, a single comparator with a stuck output can produce a large number of invalid states and transitions, such that a stuck comparator error can be detected without rotating shaft 106 a full 360°.

[0080] conclusion Aspects of the present disclosure may be implemented in a variety of electronic devices. Examples of electronic devices include, but are not limited to, home appliances, parts of home appliances, electronic test equipment, vehicle electronic systems, etc. Examples of electronic devices include, but are not limited to, computing devices, communication devices, consumer electronics, automotive electronic systems, etc. Additionally, electronic devices may include unfinished products.

[0081] Unless the context clearly requires otherwise, throughout the description and claims, the terms "comprise," "comprising," "include," "including," and the like, are to be construed in an inclusive sense, i.e., "including but not limited to," rather than in an exclusive or exhaustive sense. In addition, the terms "herein," "above," "below," and terms of similar import, when used in this application, shall not refer to any particular portion of this application but shall refer to this application as a whole. Where the context permits, terms in the above detailed description of certain embodiments using the singular or plural form may also include the plural or singular form, respectively. Where the context permits, the term "or" referring to a list of two or more items is intended to cover all of the following interpretations of the term, namely, any of the items in the list, all of the items in the list, and any combination of the items in the list.

[0082] Furthermore, conditional language used herein, such as, among others, "can," "could," "might," "may," "eg," "for example," "such as," and the like, is generally intended to convey that certain embodiments include certain features, elements, and / or conditions, but not other embodiments, unless otherwise specified or understood otherwise within the context in which it is used. Thus, such conditional language is generally not intended to imply that features, elements, and / or conditions are in any way required by one or more embodiments, or that one or more embodiments necessarily include logic for determining whether those features, elements, and / or conditions are to be included in or performed in any particular embodiment, with or without author input or prompting.

[0083] The foregoing description and claims may refer to elements or features that are "connected" or "coupled" together. As used herein, unless otherwise specified, "connected" means that one element / feature is directly or indirectly connected to another element / feature, not necessarily mechanically connected. Similarly, unless otherwise specified, "coupled" means that one element / feature is directly or indirectly coupled to another element / feature, not necessarily mechanically coupled. Thus, while the various schematic diagrams shown in the figures illustrate example arrangements of elements and components, in an actual embodiment, additional intervening elements, devices, features, or components may be present in the actual embodiment (assuming the functionality of the illustrated circuit is not adversely affected).

[0084] As used herein, the term "determining" encompasses a wide variety of actions. For example, "determining" may include calculating, computing, processing, deriving, investigating, looking up (e.g., looking up in a table, database, or another data structure), ascertaining, and the like. Also, "determining" may include receiving (e.g., receiving information), accessing (e.g., accessing data in a memory), and the like. Also, "determining" may include resolving, selecting, choosing, establishing, and the like. Additionally, as used herein, "channel width" may encompass or be referred to as bandwidth in certain aspects.

[0085] The various operations of the methods described above may be performed by any suitable means capable of performing the operations, such as various hardware and / or software components, circuits, and / or modules. In general, any operation illustrated in the figures may be performed by a corresponding functional means capable of performing the operation.

[0086] The various example logic blocks, modules, and circuits described in connection with this disclosure may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array signal (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but alternatively, the processor may be any commercially available processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.

[0087] The methods disclosed herein include one or more steps or actions for achieving the described method. The steps and / or actions of the methods may be interchanged with one another without departing from the scope of the claims. In other words, unless a specific order of steps or actions is specified, the order and / or use of specific steps and / or actions may be modified without departing from the scope of the claims.

[0088] It should be understood that the implementations are not limited to the precise configuration and components illustrated above. Various modifications, changes and variations may be made in the arrangement, operation and details of the methods and apparatus described above without departing from the scope of the implementations.

[0089] Although the present invention has been described with respect to certain embodiments, other embodiments apparent to those skilled in the art, including embodiments that do not provide all of the features and advantages set forth herein, are also within the scope of the present invention. Moreover, the various embodiments described above can be combined to provide further embodiments. Moreover, certain features shown in the context of one embodiment can also be incorporated in other embodiments. [Explanation of symbols]

[0090] 100 Implementation form 102 Magnetic field turn sensor system or sensing circuit 104 Magnet 106 Shaft 108 Circuit Board 110 First Sensor 111 First signal processing path 112 Amplifier 113 Second signal processing path 114 Analog-to-Digital Converter (ADC) 115 Turn Count Route 116 Angle Calculator 117 Processors 118 Second Sensor 119 Memory 120 Amplifier 121 Logic Gates 122 ADC 124 Angle Calculator 126 Comparator 126a First comparator 126b Second Comparator 126c Third Comparator 126d Fourth comparator 126e comparator 128 Quadrant Calculator 203a sine full bridge 203b Cosine Full Bridge 205P, 207P positive output 205M, 207M Negative output 209 1st digital output 211 Second Digital Output 213 Output 231 Chop Signal 232 Chop Switch 233 Comparator 235 Inverter 237 Multiplex Converter R1~R8 sensing elements

Claims

1. 1. A magnetic field turn sensor system, comprising: a magnetic field angle sensor having a first bridge having a positive output and a negative output and a second bridge having a positive output and a negative output; a first comparator configured to compare the positive output and the negative output of the first bridge to generate a first digital output; a second comparator configured to compare the positive output and the negative output of the second bridge to generate a second digital output; a third comparator configured to compare a first of the positive and negative outputs of the first bridge with a first of the positive and negative outputs of the second bridge to generate a third digital output; a processor, the processor comprising: receiving the first digital output, the second digital output, and the third digital output from the first comparator, the second comparator, and the third comparator, respectively; determining that a combination of the first digital output, the second digital output, and the third digital output from the first comparator, the second comparator, and the third comparator corresponds to an invalid combination; and and configured to indicate an anomaly in response to determining that the combination of the first digital output, the second digital output, and the third digital output from the first comparator, the second comparator, and the third comparator corresponds to an invalid combination.

2. The processor, 2. The system of claim 1, further configured to determine a quadrant of the magnetic field angle sensor based at least in part on the first and second digital outputs from the first and second comparators.

3. The method of claim 2, wherein the first digital output, the second digital output, and the third digital output are received at a first time, and the processor: receiving, at a second time, a subsequent first digital output, a subsequent second digital output, and a subsequent third digital output from each of the first comparator, the second comparator, and the third comparator; determining that a transition between a first state including a combination of the first digital output, the second digital output, and the third digital output received at the first time and a second state including a combination of the subsequent first digital output, the subsequent second digital output, and the subsequent third digital output received at the second time corresponds to an invalid transition; and The system of claim 1 , further configured to indicate the anomaly in response to determining that the transition corresponds to an invalid transition.

4. The system of claim 1 , wherein the first bridge comprises a sine bridge and the second bridge comprises a cosine bridge.

5. a fourth comparator configured to compare a second one of the positive and negative outputs of the sine bridge with a second one of the positive and negative outputs of the cosine bridge to generate a fourth digital output; The processor, receiving the fourth digital output from the fourth comparator; determining that a combination of the first digital output, the second digital output, the third digital output, and the fourth digital output corresponds to an invalid combination; and 5. The system of claim 4, further configured to indicate the anomaly in response to determining that the combination of the first digital output, the second digital output, the third digital output, and the fourth digital output corresponds to an invalid combination.

6. 6. The system of claim 5, wherein the second one of the positive and negative outputs of the sine bridge is the same as the first one of the positive and negative outputs of the sine bridge and the second one of the positive and negative outputs of the cosine bridge is different from the first one of the positive and negative outputs of the cosine bridge.

7. The processor, 6. The system of claim 5, further configured to determine an octant of the magnetic field angle sensor based at least in part on the first digital output, the second digital output, the third digital output, and the fourth digital output from the first comparator, the second comparator, the third comparator, and the fourth comparator.

8. The method of claim 7, wherein the first digital output, the second digital output, the third digital output, and the fourth digital output are received at a first time, and the processor: receiving, at a second time, a subsequent first digital output, a subsequent second digital output, a subsequent third digital output, and a subsequent fourth digital output from each of the first comparator, the second comparator, the third comparator, and the fourth comparator; determining that a transition between a first state including a combination of the first digital output, the second digital output, the third digital output, and the fourth digital output received at the first time and a second state including a combination of the subsequent first digital output, the subsequent second digital output, the subsequent third digital output, and the subsequent fourth digital output received at the second time corresponds to an invalid transition; and The system of claim 7 , further configured to indicate the anomaly in response to determining that the transition corresponds to an invalid transition.

9. The first comparator is a chop switch configured to receive the positive and negative outputs of the first bridge and a chop signal; a chop comparator configured to receive an output from the chop switch and to output a digital signal representative of which of the positive output and the negative output of the first bridge has a greater value; an inverter configured to invert the digital signal output from the chop comparator; a multiplexer configured to receive the digital signal, the inverted digital signal, and the chopped signal, and to output one of the digital signal and the inverted digital signal based on the chopped signal.

10. 1. A motor control system configured to control a vehicle, comprising: a shaft connected to a steering wheel of the vehicle; 1. A magnetic field turn sensor system comprising: a magnetic field angle sensor having a first bridge having a positive output and a negative output and a second bridge having a positive output and a negative output; a first comparator configured to compare the positive output and the negative output of the first bridge to generate a first digital output; a second comparator configured to compare the positive output and the negative output of the second bridge to generate a second digital output; a third comparator configured to compare a first one of the positive and negative outputs of the first bridge with a first one of the positive and negative outputs of the second bridge to generate a third digital output; and a processor, wherein the processor: receiving the first digital output, the second digital output, and the third digital output from the first comparator, the second comparator, and the third comparator, respectively; determining that a combination of the first digital output, the second digital output, and the third digital output from the first comparator, the second comparator, and the third comparator corresponds to an invalid combination; and and a magnetic field turn sensor system configured to indicate an anomaly in response to determining that the combination of the first digital output, the second digital output, and the third digital output from the first comparator, the second comparator, and the third comparator corresponds to an invalid combination.

11. The processor, 11. The system of claim 10, further configured to determine a quadrant of the magnetic field angle sensor based at least in part on the first and second digital outputs from the first and second comparators.

12. The method of claim 1, wherein the first digital output, the second digital output, and the third digital output are received at a first time, and the processor: receiving, at a second time, a subsequent first digital output, a subsequent second digital output, and a subsequent third digital output from each of the first comparator, the second comparator, and the third comparator; determining that a transition between a first state including a combination of the first digital output, the second digital output, and the third digital output received at the first time and a second state including a combination of the subsequent first digital output, the subsequent second digital output, and the subsequent third digital output received at the second time corresponds to an invalid transition; and The system of claim 10 , further configured to indicate the anomaly in response to determining that the transition corresponds to an invalid transition.

13. the first bridge comprises a sine bridge, the second bridge comprises a cosine bridge, and the magnetic field turn sensor system comprises: a fourth comparator configured to compare a second one of the positive and negative outputs of the sine bridge with a second one of the positive and negative outputs of the cosine bridge to generate a fourth digital output; The processor, receiving the fourth digital output from the fourth comparator; determining that a combination of the first digital output, the second digital output, the third digital output, and the fourth digital output corresponds to an invalid combination; and 11. The system of claim 10, further configured to indicate the anomaly in response to determining that the combination of the first digital output, the second digital output, the third digital output, and the fourth digital output corresponds to an invalid combination.

14. 14. The system of claim 13, wherein the second one of the positive and negative outputs of the sine bridge is the same as the first one of the positive and negative outputs of the sine bridge and the second one of the positive and negative outputs of the cosine bridge is different from the first one of the positive and negative outputs of the cosine bridge.

15. The processor, 14. The system of claim 13, further configured to determine an octant of the magnetic field angle sensor based at least in part on the first digital output, the second digital output, the third digital output, and the fourth digital output from the first comparator, the second comparator, the third comparator, and the fourth comparator.

16. The method of claim 1, wherein the first digital output, the second digital output, the third digital output, and the fourth digital output are received at a first time, and the processor: receiving, at a second time, a subsequent first digital output, a subsequent second digital output, a subsequent third digital output, and a subsequent fourth digital output from each of the first comparator, the second comparator, the third comparator, and the fourth comparator; determining that a transition between a first state including a combination of the first digital output, the second digital output, the third digital output, and the fourth digital output received at the first time and a second state including a combination of the subsequent first digital output, the subsequent second digital output, the subsequent third digital output, and the subsequent fourth digital output received at the second time corresponds to an invalid transition; and The system of claim 13 , further configured to indicate the anomaly in response to determining that the transition corresponds to an invalid transition.

17. 1. A method for detecting an error in a magnetic field turn sensor system, comprising: receiving a first digital output, a second digital output, and a third digital output from a first comparator, a second comparator, and a third comparator, respectively, wherein the magnetic field turn sensor system comprises a magnetic field angle sensor having a first bridge having a positive output and a negative output and a second bridge having a positive output and a negative output, the first comparator configured to compare the positive output and the negative output of the first bridge to generate the first digital output, the second comparator configured to compare the positive output and the negative output of the second bridge to generate the second digital output, and a third comparator configured to compare a first one of the positive and negative outputs of the first bridge with a first one of the positive and negative outputs of the second bridge to generate the third digital output; determining that a combination of the first digital output, the second digital output, and the third digital output from the first comparator, the second comparator, and the third comparator corresponds to an invalid combination; indicating an anomaly in response to determining that the combination of the first digital output, the second digital output, and the third digital output from the first comparator, the second comparator, and the third comparator corresponds to an invalid combination.

18. 20. The method of claim 17, further comprising determining a quadrant of the magnetic field angle sensor based at least in part on the first and second digital outputs from the first and second comparators.

19. The method according to claim 1, wherein the first digital output, the second digital output, and the third digital output are received at a first time, the method comprising: receiving, at a second time, a subsequent first digital output, a subsequent second digital output, and a subsequent third digital output from each of the first comparator, the second comparator, and the third comparator; determining that a transition between a first state including a combination of the first digital output, the second digital output, and the third digital output received at the first time and a second state including a combination of the subsequent first digital output, the subsequent second digital output, and the subsequent third digital output received at the second time corresponds to an invalid transition; The method of claim 17 , further comprising: in response to determining that the transition corresponds to an invalid transition, indicating the anomaly.

20. The first bridge comprises a sine bridge and the second bridge comprises a cosine bridge, the magnetic field turn sensor system further comprising a fourth comparator configured to compare a second one of the positive output and the negative output of the sine bridge with a second one of the positive output and the negative output of the cosine bridge to generate a fourth digital output, the method comprising: receiving the fourth digital output from the fourth comparator; determining that a combination of the first digital output, the second digital output, the third digital output, and the fourth digital output corresponds to an invalid combination; 20. The method of claim 17, further comprising: in response to determining that the combination of the first digital output, the second digital output, the third digital output, and the fourth digital output corresponds to an invalid combination, indicating the anomaly.

Citation Information

Patent Citations

  • Position detection device

    JP1992136713A

  • Rotation angle detection apparatus and motor-driven power steering device employing the same

    JP2012098231A

  • Sensor device

    JP2014102205A

  • Magnetic detection device

    JP2015197390A

  • Multiple-rotation encoder

    JP2015219096A