Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SIGNALING BETWEEN MASTER AND SLAVE COMPONENTS USING A SHARED COMMUNICATION NODE OF THE MASTER COMPONENT
Document Type and Number:
WIPO Patent Application WO/2015/126539
Kind Code:
A1
Abstract:
In one aspect, a system includes a master component having a communication node and a plurality of slave components. Each slave component has a bidirectional node. The slave components are configured to each store data in response to a trigger signal received at the bidirectional node from the communication node.

Inventors:
CADUGAN BRYAN (US)
DOOGUE MICHAEL C (US)
DONOVAN MARK J (US)
Application Number:
PCT/US2015/011347
Publication Date:
August 27, 2015
Filing Date:
January 14, 2015
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ALLEGRO MICROSYSTEMS LLC (US)
International Classes:
H04W84/18; H04L29/08
Foreign References:
US20120158335A12012-06-21
US7877208B12011-01-25
US20120086442A12012-04-12
Attorney, Agent or Firm:
MOOSEY, Anthony, T. et al. (Crowley Mofford & Durkee, LLP,Suite 301A,354A Turnpike Stree, Canton Massachusetts, US)
Download PDF:
Claims:
1. A system, comprising:

a master component having a communication node; and

a plurality of slave components, each slave component having a bidirectional node, the slave components being configured to each store data in response to a trigger signal received at the bidirectional node from the communication node.

2. The system of claim 1 , wherein the data comprises at least one of magnetic field data, temperature data, a fault condition or an internal memory value.

3. The system of claim 1 , wherein each of the slave components are further configured to communicate the stored data in a serial data signal from the bidirectional node to the communication node in response to the trigger signal received at the bidirectional node from the communication node.

4. The system of claim 3, wherein the slave components communicate the stored data in an order.

5. The system of claim 4, wherein each of the slave components monitors serial data signal from the other slave components to the communication port.

6. The system of claim 5, wherein each slave component is further configured to send a notification if a previous sensor in the order does not send a serial data signal.

7. The system of claim 4, wherein each of the slave components are configured to compare its data with data from the other slave components.

8. The system of claim 3, wherein the serial data signal has a unidirectional signal format selected from Single-Edge Nibble Transmission (SENT), or Serial Peripheral Interface 5 (SPI5).

9. The system of claim 3, wherein the slave components communicate the stored data in the serial data signal in response to detection of at least one feature of the trigger signal.

10. The system of claim 9, wherein the at least one feature of the trigger signal is a predetermined edge direction.

11. The system of claim 1, wherein the slave components are configured to store the data in response to detection of at least one feature of the trigger signal.

12. The system of claim 11, wherein the at least one feature of the trigger signal is a predetermined edge direction.

13. The system of claim 1, wherein the trigger signal is a first trigger, and wherein the slave components are further configured to communicate data in a serial data signal from the bidirectional node to the communication node in response to a second trigger signal received at the bidirectional node from the communication node.

14. The system of claim 13, wherein the second trigger signal comprises an address of a slave component. 15. The system of claim 14, wherein the second trigger further comprises an address of a component within the slave component.

16. The system of claim 15, wherein the address of the component within the slave component comprises a memory or register location.

17. The system of claim 15, wherein the second trigger further comprises an indicator to indicate whether to read or write data to the slave component.

18. The system of claim 13 wherein the second trigger signal is a Manchester encoded signal.

19. The system of claim 13 wherein the second trigger signal is a serial data signal.

20. The system of claim 19, wherein the serial data signal has a unidirectional signal format selected from Single-Edge Nibble Transmission (SENT), Serial Peripheral

Interface 5 (SPI5), or Serial Peripheral Interface (SPI).

21. The system of claim 1 , wherein the slave components are configured to sample and store the data in response to detection of a first feature of the trigger signal and are configured to communicate the stored data in the serial data signal in response to detection of a second feature of the trigger signal.

22. The system of claim 21, wherein the first feature of the trigger signal is a first predetermined edge direction and wherein the second feature of the trigger signal is a second, opposite edge direction.

23. The system of claim 1 , wherein at least one of the slave components is a sensor.

24. The system of claim 1, wherein at least one of the slave components is a magnetic field sensor.

25. The system of claim 1 , wherein at least one of the slave components comprises: a magnetic field sensing element responsive to a magnetic field associated with an article for providing a magnetic field output signal indicative of a magnetic field;

an interface circuit coupled to receive the magnetic field output signal and configured to generate sensor data;

a latch coupled to the interface circuit and comprising a latch control node and a digital data output node at which latched digital sensor data is provided in response to detection of the trigger signal at the latch control node;

an encoder coupled to the digital data output node and comprising an encoder control node and a serial data output node; and a transceiver coupled to the serial data output node and comprising the bidirectional node, wherein the serial data signal is provided at the bidirectional node in response to detection of the trigger signal at the encoder control node.

26. The sensor of claim 25, wherein the magnetic field sensing element comprises a selected one of a Hall effect element or a magnetoresistive element.

27. The sensor of claim 1 , wherein the serial data signal comprises one or more of a serial binary signal and a pulse width modulated (PWM) signal.

28. A system, comprising:

a controller having a communication node; and

a plurality of sensors, each sensor comprising a magnetic field sensing element responsive to a magnetic field associated with an article for providing a magnetic field output signal indicative of a magnetic field, each sensor having a bidirectional node, the sensors being each configured to store sensor data in response to a trigger signal received at the bidirectional node from the communication node,

wherein the sensor data comprises at least one of magnetic field data, temperature data, a fault condition or an internal memory value.

29. The system of claim 28, wherein each of the sensors are further configured to communicate the stored sensor data in a serial data signal from the bidirectional node to the communication node in response to the trigger signal received at the bidirectional node from the communication node.

30. The system of claim 29, wherein the serial data signal has a unidirectional signal format selected from Single-Edge Nibble Transmission (SENT), Serial Peripheral Interface 5 (SPI5), or Serial Peripheral Interface (SPI).

31. The system of claim 29, wherein the sensors communicate the stored sensor data in the serial data signal in response to detection of at least one feature of the trigger signal.

32. The system of claim 28, wherein the sensors are configured to store the sensor data in response to detection of at least one feature of the trigger signal.

33. The system of claim 28, wherein the trigger signal is a first trigger, and wherein the sensors are further configured to communicate sensor data in a serial data signal from the bidirectional node to the communication node in response to a second trigger signal received at the bidirectional node from the communication node.

34. The system of claim 33, wherein the second trigger signal comprises an address of a sensor.

35. The system of claim 34, wherein the second trigger further comprises an address of a component within the sensor.

36. The system of claim 35, wherein the address of the component within the sensor comprises a memory or register location.

37. The system of claim 35, wherein the second trigger further comprises an indicator to indicate whether to read or write data to the sensor.

38. The system of claim 35 wherein the second trigger signal is a Manchester encoded signal.

39. The system of claim 35 wherein the second trigger signal is a serial data signal.

40. The system of claim 39, wherein the serial data signal has a unidirectional signal format selected from Single-Edge Nibble Transmission (SENT), or Serial Peripheral Interface 5 (SPI5).

41. The system of claim 28, wherein the sensors are configured to sample and store the data in response to detection of a first feature of the trigger signal and are configured to communicate the stored data in the serial data signal in response to detection of a second feature of the trigger signal.

42. A method comprising:

sensing a characteristic at each of a plurality of sensors;

generating sensor data indicative of the characteristic at each of the sensors; and storing the sensor data for each of the sensors in response to a trigger signal received at a bidirectional node of each sensor from a communication node from a controller.

43. The method of claim 42, further comprising communicating the sensor data in a serial data signal from the bidirectional node to the communication node in response to the trigger signal received at the bidirectional node from the communication node.

44. The method of claim 43, wherein communicating the sensor data in a serial data signal comprises communicating the serial data in a serial data signal having a unidirectional signal format selected from Single-Edge Nibble Transmission (SENT), or Serial Peripheral Interface 5 (SPI5).

45. The method of claim 42, wherein the trigger signal is a first trigger, and further comprising communicating data in a serial data signal from the bidirectional node to the communication node in response to a second trigger signal received at the bidirectional node from the communication node,

wherein the second trigger signal is one of a Manchester message or a SENT message.

Description:
SIGNALING BETWEEN MASTER AND SLAVE COMPONENTS USING A SHARED COMMUNICATION NODE OF THE MASTER COMPONENT

BACKGROUND

Sensors are used to monitor various parameters of a system. For example, in vehicle systems, parameters such as current, speed, angle, linear position, and rotational direction of an article associated with a control module, such as a power steering module, a fuel injection module, and an anti-lock brake module, are often monitored. The sensor output signal is provided to a system controller, such as an Engine Control Unit (ECU), that processes the sensor output signal and may generate a feedback signal for desired operation of the control module. Conventionally, the sensor updates the sensed parameter periodically and the controller polls the sensor for data as needed for processing.

SUMMARY

In one aspect, a system includes a master component having a communication node; and a plurality of slave components. Each slave component has a bidirectional node. The slave components are configured to each store data in response to a trigger signal received at the bidirectional node from the communication node.

The previous aspect may have one or more of the following features. The data may include at least one of magnetic field data, temperature data, a fault condition or an internal memory value. Each of the slave components may be further configured to communicate the stored data in a serial data signal from the bidirectional node to the communication node in response to the trigger signal received at the bidirectional node from the communication node. The slave components may communicate the stored data in an order. Each of the slave components may monitor serial data signal from the other slave components to the communication port. Each slave component may be further configured to send a notification if a previous sensor in the order does not send a serial data signal. Each of the slave components may be configured to compare its data with data from the other slave components. The serial data signal may have a unidirectional signal format selected from Single-Edge Nibble Transmission (SENT), or Serial Peripheral Interface 5 (SPI5). The slave components may communicate the stored data in the serial data signal in response to detection of at least one feature of the trigger signal. The at least one feature of the trigger signal may be a predetermined edge direction. The slave components may be configured to store the data in response to detection of at least one feature of the trigger signal. The at least one feature of the trigger signal may be a predetermined edge direction. The trigger signal may be a first trigger, and the slave components may be further configured to communicate data in a serial data signal from the bidirectional node to the communication node in response to a second trigger signal received at the bidirectional node from the communication node. The second trigger signal may include an address of a slave component. The second trigger may further include an address of a component within the slave component. The address of the component within the slave component may include a memory or register location. The second trigger may further include an indicator to indicate whether to read or write data to the slave component. The second trigger signal may be a Manchester encoded signal. The second trigger signal may be a serial data signal. The serial data signal may have a unidirectional signal format selected from Single-Edge Nibble Transmission (SENT), Serial Peripheral Interface 5 (SPI5), or Serial Peripheral Interface (SPI). The slave components may be configured to sample and store the data in response to detection of a first feature of the trigger signal and are configured to

communicate the stored data in the serial data signal in response to detection of a second feature of the trigger signal. The first feature of the trigger signal may be a first predetermined edge direction and wherein the second feature of the trigger signal may be a second, opposite edge direction. At least one of the slave components may be a sensor. At least one of the slave components may be a magnetic field sensor. At least one of the slave components may include a magnetic field sensing element responsive to a magnetic field associated with an article for providing a magnetic field output signal indicative of a magnetic field; an interface circuit coupled to receive the magnetic field output signal and configured to generate sensor data; a latch coupled to the interface circuit and comprising a latch control node and a digital data output node at which latched digital sensor data is provided in response to detection of the trigger signal at the latch control node; an encoder coupled to the digital data output node and comprising an encoder control node and a serial data output node; and a transceiver coupled to the serial data output node and comprising the bidirectional node, wherein the serial data signal is provided at the bidirectional node in response to detection of the trigger signal at the encoder control node. The magnetic field sensing element may include a selected one of a Hall effect element or a magnetoresistive element. The serial data signal may include one or more of a serial binary signal and a pulse width modulated (PWM) signal.

In another aspect, a system includes a controller having a communication node and a plurality of sensors. Each sensor includes a magnetic field sensing element responsive to a magnetic field associated with an article for providing a magnetic field output signal indicative of a magnetic field. Each sensor has a bidirectional node. The sensors are each configured to store sensor data in response to a trigger signal received at the bidirectional node from the communication node. The sensor data includes at least one of magnetic field data, temperature data, a fault condition or an internal memory value. The previous aspect may have one or more of the following features. Each of the sensors may be further configured to communicate the stored sensor data in a serial data signal from the bidirectional node to the communication node in response to the trigger signal received at the bidirectional node from the communication node. The serial data signal may have a unidirectional signal format selected from Single- Edge Nibble

Transmission (SENT), Serial Peripheral Interface 5 (SPI5), or Serial Peripheral Interface (SPI). The sensors may communicate the stored sensor data in the serial data signal in response to detection of at least one feature of the trigger signal. The sensors may be configured to store the sensor data in response to detection of at least one feature of the trigger signal. The trigger signal may be a first trigger, and the sensors may be further configured to communicate sensor data in a serial data signal from the bidirectional node to the communication node in response to a second trigger signal received at the bidirectional node from the communication node. The second trigger signal may include an address of a sensor. The second trigger may further include an address of a component within the sensor. The address of the component within the sensor may include a memory or register location. The second trigger may further include an indicator to indicate whether to read or write data to the sensor. The second trigger signal may be a Manchester encoded signal. The second trigger signal may be a serial data signal. The serial data signal may have a unidirectional signal format selected from Single-Edge Nibble Transmission (SENT), or Serial Peripheral Interface 5 (SPI5). The sensors may be configured to sample and store the data in response to detection of a first feature of the trigger signal and are configured to communicate the stored data in the serial data signal in response to detection of a second feature of the trigger signal. In a further aspect, a method for synchronizing sensor output data including sensing a characteristic at each of a plurality of sensors, generating sensor data indicative of the characteristic at each of the sensors and storing the sensor data for each of the sensors in response to a trigger signal received at a bidirectional node of each sensor from a communication node from a controller.

The previous aspect may have one or more of the following features. The method may further include communicating the sensor data in a serial data signal from the bidirectional node to the communication node in response to the trigger signal received at the bidirectional node from the communication node. Communicating the sensor data in a serial data signal may include communicating the serial data in a serial data signal having a unidirectional signal format selected from Single-Edge Nibble Transmission (SENT), or Serial Peripheral Interface 5 (SPI5). The trigger signal is a first trigger and the method also includes communicating data in a serial data signal from the bidirectional node to the communication node in response to a second trigger signal received at the bidirectional node from the communication node and the second trigger signal may be one of a

Manchester message or a SENT message.

BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram depicting a sensor system with sensors sharing a communication node of the controller;

FIG. 2 is a block diagram showing a magnetic field sensor suitable for use in the sensor system of FIG. 1 ;

FIG. 3 is a timing diagram showing the SENT signal format;

FIG. 4 is a timing diagram showing a trigger signal sent to a plurality of sensors of FIG. 1 to illustrate the timing of sensor data storing and transmission of the respective serial data signal by each of the sensors under the control of the trigger signal;

FIG. 5A is an example of a trigger signal used to retrieve data from a selected sensor;

FIG. 5B is another example of a trigger signal used to retrieve data from a selected sensor;

FIG. 6A is a timing diagram of an example of a first trigger signal to store data at a sensor and a second trigger signal used to retrieve the data from the sensor using the communication node; and

FIG. 6B is a timing diagram of an example of a first trigger signal to store data at a sensor and a second trigger signal used to retrieve the data from the sensor using the communication node.

DETAILED DESCRIPTION

As controllers operate at faster speeds, in many cases considerably faster than the sensor, it becomes advantageous for the controller to synchronize the sensor output data transmission so that the newest available data is provided for use by the controller. Not only is synchronizing the sensor output data transmission important but also the

synchronization of the sampling of the sensor data when multiple sensors are used. Thus, information from multiple sensors maybe derived with data sourced from the same moment in time.

Described herein are techniques for slave components to share a single

communication node of a master component. In one example, multiple slave components respond in turn to one trigger sent from the communication node to the slave components. In another example, the slave components hold their data in response to the one trigger sent from the communication node and the data is read at a later time by another trigger signal. The data may be read using a Manchester encoded input that is sent from the

communication node and is used to select a specific slave component for response. The data may also be read using a serial data signal such as a SENT message, for example.

Though sensors are used herein to represent slave components, one of ordinary skill in the art would recognize that there are other examples of slave components that may be used. Also, other sensors, controllers and other system embodiments not specifically described herein are described in U.S. Patent 8,577,634, entitled "Systems and Methods for Synchronizing Sensor Data," which was issued November 5, 2013 and has the same assignee as the present patent application and is incorporated herein in its entirety.

Referring to FIG. 1, a system 10 includes sensors 14a-14N configured to sense a parameter associated with an article 18 that may be controlled by a control module 12. Each of the sensors 14a-14N has a respective bidirectional node 16a-16N and is configured to generate, update, and optionally store (e.g., latch) sensor data. The sensors 14a-14N also are configured to communicate sensor data to a communication node 21 of a system controller 20 in a respective serial data signal 26a-26N from the respective bidirectional node 16a-16n in response to a trigger signal 24 from the communication node 21 of the controller 20 and received at the respective bidirectional node 16a- 16N. The sensors 14a-14N are further coupled to the controller 20 via a power, or Voltage Bias, Vcc connection 25. The controller 20 may provide a feedback signal 22 to the control module 12 for use in controlling the article 18.

The sensors 14a-14N may additionally store the sensor data in response to the trigger signal. Communication buses, OUT1, OUT2, ...OUTN, may be coupled between the sensor 14a-14N and the communication node 21 of the controller 20. As will be described further herein each of the sensors 14a-14N is configured to at least monitor signals from the other sensors 14a-14N accessing the communication node 21. Thus, the communication node 21 is a shared node. One of ordinary skill in the art would recognize that the communication node 21 may be also a shared bus.

With this arrangement, communicating sensor data is synchronized by the trigger signal 24 received at the bidirectional nodes 16a-16N, which are the same nodes at which the sensor output data are provided in the serial data signals 26a-26N. Sensor data synchronization in this manner can reduce sensor output data latency and also reduces the number of sensor connections otherwise required to permit receipt of an external synchronization signal by the sensor. A reduced pin count not only reduces cost and circuit area, but also reduces effects of electromagnetic interference (EMI). In some embodiments in which both the data storing function and the output data transmission function are synchronized in this manner, ambiguities in the age of the sensor output data can be reduced or eliminated (e.g., multiple sensors are told to sample their data at the same time using a single trigger).

The sensors 14a-14N may sense various parameters of an article 18, including, but not limited to current, speed, angle, linear position, turns count (e.g., for angular sensors or steering wheel applications) and rotational direction. For example, the control module 12 may be a vehicle power steering module, in which case the article 18 may be a magnet associated with the steering unit and the sensor 14a may sense the strength of a magnetic field associated with the magnet for use by the controller 20 to determine an angle of the wheel or steering column. In another example, the control module 12 may be a fuel injection module in which case the article 18 may be a camshaft gear and the magnetic field strength associated with the gear can be sensed by the sensors 14a-14N and used by the controller to determine the speed of rotation and/or the rotational position of the gear. More generally however, the sensors 14a-14N sense a characteristic associated with the article, such as magnetic field strength in the illustrative embodiments, and the controller 20 processes the sensor output data to arrive at the desired parameter information, such as speed or direction of rotation. It will be appreciated by those of ordinary skill in the art that the concepts described herein have applicability to various systems, sensors, articles, control modules, sensed characteristics, and parameters, including closed loop systems as shown and open loop systems.

The controller 20 may take various forms depending on the sensor system 10 and its application. For example, in the case of a vehicle system, the controller 20 maybe an Engine Control Unit (ECU) that includes a processor 30, a memory 32, and a transceiver 34 for controlling various aspects of vehicle safety and operation.

The serial data signals 26a-26N provided by the sensors 14a-14N at the sensor bidirectional nodes 16a-16N have a standard unidirectional signal format. Suitable unidirectional signal formats include Single-Edge Nibble Transmission (SENT), Serial Peripheral Interface (SPI), Peripheral Serial Interface 5 (PSI5) and Inter-Integrated Circuit (I 2 C). In the illustrative embodiment, the serial data signals 26a-26N is in the SENT format as defined by a Society of Automotive Engineers (SAE) J2716 Specification which is hereby incorporated by reference in its entirety and as described generally in connection with FIG. 3. In one example, the serial data signal includes one or more of a serial binary signal and a pulse width modulated (PWM) signal.

Each of the sensors 14a-14N may sense the same characteristic of a single article 18 associated with a single control module 12 as may be desirable for redundancy or in sensor systems in which multiple sensors are necessary to provide the desired data, such as for direction detection and angle detection with multiple CVH sensor die. Alternatively, each sensor 14a-14N may sense a different characteristic associated with the same or different articles, which articles are associated with the same or with different control modules.

As noted above and described below, the sensor data is communicated in a serial data signal (e.g., 26a-26N) in response to detection of a trigger signal (e.g., 24) (sent from a communication node (e.g., 21) of a controller (e.g., 20)), received at the bidirectional node (e.g., 16a-16N) and optionally is additionally stored in response to detection of the trigger signal. In embodiments in which both sensor data storing and transmission functions occur in response to the trigger signal, the data storing and data communication functions may occur in response to detection of same feature of the trigger signal 24, resulting in common control of the storing and data communication functions by the trigger signal 24.

Alternatively, the sensor data may be stored in response to detection of a first feature of the trigger signal 24 and the stored data may be communicated in the serial data signal 26a-26N in response to detection of a second feature of the trigger signal 24, resulting in independent control of the storing and data communication functions by the trigger signal 24. Such independent control functions may be particularly advantageous in systems in which a plurality of sensors are used (e.g., for redundancy) to sense the same parameter, since it may be desirable to have all of the sensors sample and store (i.e., hold) the sensor data at the same time, but communicate the stored sensor data at different times as best suited for processing by the controller.

Referring also to FIG. 2 in which like elements are labeled with like reference characters, an illustrative sensor 14a includes a sensing element 40, here a magnetic field sensing element, such as a Hall effect element (e.g., a circular vertical Hall). Other types of magnetic field sensing elements such as magnetoresistive elements (for example, a giant magnetoresistance (GMR) element, an anisotropic magnetoresistance (AMR) element, a tunneling magnetoresistance (TMR) element, a magnetic tunnel junction (MTJ) element, a spin valve element, an Indium antimonide (InSb) sensor, a Gallium Arsenide (GaAs) sensor), and circular vertical Hall Element are also suitable. Furthermore, the sensing element 40 may sense other types of characteristics such as temperature, pressure and so forth. The sensing element 40 may be a single ended or differential arrangement and may include one or more individual sensing elements in various known configurations.

The magnetic field sensing element 40 is coupled to interface signal processing circuitry which may include one of more of the following circuits and which generates sensor data that is provided to the controller 20 (FIG. 1) via the serial data signal 26a. An amplifier 44 allows for setting the magnetic field range to be sensed and a further amplifier 48 may permit a course adjustment of the offset. In one illustrative embodiment, the magnetic field range may be selected to be between approximately +/- 100 Gauss to +/- 2250 Gauss. Offset refers to the degree to which the sensed magnetic field signal (i.e., the output of the sensing element 40) is centered at zero magnetic field. An output of the amplifier 48 is filtered, here by an anti-aliasing filter 52, to provide a filtered signal to an analog-to-digital (A/D) converter 56 that receives a precision reference voltage from reference 64 and a clock signal 138 from a clock generator 136, as shown. Here, the A/D converter 56 includes a first converter 56a configured to provide a 12-bit output indicative of the level of the sensed magnetic field to a further filter, here a low pass filter 60.

The sensor 14a may include a temperature compensation circuit 70 to compensate the sensed magnetic field signal for changes due to temperature. To this end, a temperature sensor 68 senses an ambient temperature of the sensor 14a and provides an analog signal indicative of the temperature to an A/D converter 56b, as shown. Converter 56b provides, for example, a 12-bit output signal indicative of the ambient temperature to the temperature compensation circuit 70. In the illustrative embodiment, the temperature compensation circuit 70 implements a polynomial fit of the temperature signal from converter 56b to a temperature correction equation in order to cancel the deleterious effects of temperature variations on device sensitivity and offset, where sensitivity refers to a change in output signal level per change in Gauss level.

An output of the temperature compensation circuit 70 is coupled to a gain/offset trim circuit 74 which may employ various conventional techniques for gain and offset adjustment. A linearization circuit 78 is used to linearize the sensor output in response to non-linear magnetic fields. To this end, the output signal range is divided into a predetermined number of segments, such as thirty-two equal segments, and the

linearization circuit 78 applies a linearization coefficient factor to each segment. The linearization coefficients may be stored in a look-up table in an EEPROM as described in U.S. Patent Number 8,350,563, which is entitled "Magnetic Field Sensor and Method Used in a Magnetic Field Sensor that Adjusts a Sensitivity and/or an Offset Over Temperature" and issued January 8, 2012 and has the same assignee as the present patent application and is incorporated herein in its entirety.

A clamp 82 coupled to the output of the linearization circuit 78 permits signal limiting and provides digital sensor data thus processed to the latch 86.

A latch 86 receives and stores (i.e., latches) digital sensor data from the interface circuitry. The latch 86 may be responsive to a trigger signal (e.g., 24, FIG. 1) received at the bidirectional node 16a to cause the digital sensor data to be stored. More particularly, a buffered version of the trigger signal 24 (i.e., signal 106) is provided to a control node 88 of the latch 86 and contains the buffered trigger signal for detection by the latch 86. In other embodiments, the data is stored by the latch 86 independently of the trigger signal 24. An output node of the latch is coupled to an encoder 90, as shown.

The encoder 90 is configured to communicate the sensor data, here digital sensor data, in the serial data signal 26a at the bidirectional node 16a in response to the trigger signal 24 received at the bidirectional node 16a. In the illustrative embodiment, the serial data signal 26a has a standard unidirectional signal format and, in particular has the SENT format. More particularly, signal 106 provided by the transceiver to a control node 92 of the encoder contains the trigger signal for detection by the encoder. The encoder 90 provides the serial data signal 26a at the bidirectional sensor node 16a via a transceiver 94.

In view of the above description, it will be apparent that in the illustrative embodiment, the latch 86 stores digital sensor data in response to the trigger signal 24 and the serial data signal 26a is a digital signal. However, it will be appreciated by those of ordinary skill in the art that alternatively, the sensor data may be stored and/or

communicated to the controller 20 in analog form, by analog circuitry and techniques accordingly.

It will also be appreciated by those of ordinary skill in the art that the sensor data may not be "sampled and stored" in a conventional fashion with a dedicated storage device. In one example, the latch 86 may be eliminated and the trigger signal 24 in the form of buffered signal 106 may be provided to a control node of the A/D converter 56a (as shown in phantom in FIG. 2), in which case generating and/or updating of the sensor data occurs in the A/D in response to the trigger signal 24, as may be advantageous. The sensor 14a includes an EEPROM 100 in which programmable registers store user selections for programmable features. Various schemes are suitable for programming communication between the controller 20 and the sensor 14a.

A Manchester encoding scheme is used with which the controller 20 sends commands to the sensor 14a via the Vcc comiection 25, such as a Write Access Command, a Write Command, and a Read Command. In response to a Read Command, the sensor 14a responds with a Read Acknowledge signal via bus OUT1 that contains the requested data.

A serial decoder 1 10 translates the Vcc signal level (e.g., having a signal of 5-8 volts) into a logic signal and a serial interface 112 decodes the resulting logic signal into a binary command signal. For example, in the case of a Write Command, the binary command signal at the output of the serial interface 1 12 indicates to an EEPROM controller 108 the address of the register to be written and the data to be written. A Write Access Command unlocks the device for writing. In the case of a Read Command, the binary signal output of the serial interface 112 presents the contents of the selected register to the transceiver for communication at the bidirectional node 16a.

In order to write to the EEPROM, the controller 20 (FIG. 1) sends a Disable Output Command to put the bidirectional node 16a into a high impedance state. The controller 20 also sends high voltage pulses to the sensor in order to boost the voltage on the EEPROM gates. To this end, a pulse detector 98 is coupled to the bidirectional node 16a and to the EEPROM controller 108. After writing is complete, the controller 20 sends an Enable Output Command to bring the bidirectional node 16a from its high impedance state to a value indicative of the sensed magnetic field. Preferably, the bidirectional node 16a is also put into a high impedance state before a Read Command is sent until after the Read Acknowledge signal is returned. Various features of the sensor 14a are programmable in the above-described manner, including but not limited to the magnetic field range via amplifier 44, the course offset trim via amplifier 48, the bandwidth via filter 60 and so forth. According to the invention, a sensor data communication mode is also programmable. Specifically, the sensor 14a can be programmed to dictate whether the sensor data is communicated to the controller in a conventional manner (independent of any synchronization by the controller) or according to the invention (in response to receipt of the trigger signal 24 from the controller 20 at the sensor bidirectional node 16a). Additional programmable features relate to the SENT signal format as described below.

Additional features of the sensor 14a may include an undervoltage/overvoltage lockout circuit 120 and a power-on reset (POR) circuit 124. The undervoltage/overvoltage lockout circuit 120 senses the voltage level of the Vcc signal 25, sending an error signal to the Master Control block 104 if a predetermined range is exceeded (For example, it is these types of faults, along with temperature sensor information that may be read out of an addressed device over the main interface (SENT). In addition, specific registers/EEPROM in the addressed/shared device may also be written to). The POR circuit 124 pauses critical circuitry upon power-up until Vcc reaches an appropriate voltage level.

The sensor 14a may be provided in the form of an integrated circuit, here with an analog front-end portion 140 and a digital subsystem 144. An analog voltage regulator 128 provides a regulated voltage to the analog front-end 140 and a digital regulator 132 powers the digital subsystems 144, as shown. Clock generator 136 provides clock signals to the A D converter 56 and to the master controller 104. It will be appreciated by those of ordinary skill in the art however, that the particular delineation of which circuit functions are implemented in an analog fashion or with digital circuitry and signals can be varied. Also circuit functions that are shown to be implemented on the integrated circuit sensor 14a can be accomplished on separate circuits (e.g., additional integrated circuits or circuit boards).

Referring also to FIG. 3, the serial data signals 26a-26N communicated by the sensor 14a-14N may have a standard unidirectional signal format, such as the illustrative SENT signal format. A SENT signal 150 consists of a sequence of pulses which is repeatedly sent by the transmitting module (here, the sensor 14a). The SENT signal 150 includes at least four portions: a Synchronization/Calibration portion 152, a Status and Serial Communication portion 154, a Data portion 158, and a Checksum (or cyclic redundancy check, CRC) portion 160. A "tick" refers to the nominal clock signal period and a "nibble" is 4 bits. Each nibble has a specified time for low and high state. The low state duration is by default 5 ticks and the high state duration is dictated by the information value of the nibble. The Synchronization/Calibration portion 152 identifies the start of the SENT message and always has a pulse duration of 56 ticks. Status and Serial

Communication portion 154 is used to inform the controller 20 of the sensor status or features (such as part numbers or error code information) and has a duration of between 12 and 27 ticks to provide 4 bits. The Data portion 158 includes up to six nibbles of data, with each nibble containing 4 bits with values ranging from 0 to 15. Thus, each data nibble has a pulse duration from 12 to 27 ticks. The number of data nibbles will be fixed for each application but can vary between applications. In order to transmit two 12 bit values, 6 data nibbles are communicated, as shown.

The SENT signal 150 includes an optional pause portion 164 that is used in connection with the invention in order to permit bidirectional communication via the bidirectional sensor node 16a. In general, the pause portion 164 corresponds to a period of inactivity on the output bus, OUTl , (FIG. 1) or in other words, a time when the serial data signal 26a (FIG. 1 ) is inactive or high. Conventionally, the pause portion 164 is sometimes used to prolong the SENT signal to a constant length if desired. The user can program a particular desired frame rate via the programming scheme as described above. It will be appreciated by those of ordinary skill in the art that inactivity on the output bus, OUTl , may alternatively correspond to a low (pull down) signal level.

According to the invention, the pause portion 164 is used to permit bidirectional communication on the output bus, OUTl, by allowing for the trigger signal 24 received at the sensor bidirectional node 16a during the pause portion to control data functions of the sensor. It will be appreciated by those of ordinary skill in the art that the SENT signal pause portion 164 represents a part of the signal when neither data nor control information is transmitted by the sensor and thus, may be referred to more generally as the inactive transmission portion 164.

Various aspects of the SENT signal format can be user programmed, for example, in the EEPROM 100 of FIG. 2. As examples, a SENT STATUS parameter can be used to indicate the desired format for the four bit Status and Serial Communication portion 154, a SENT SERIAL parameter can be used to select a desired format for a serial data signal embedded in successive SENT messages according to the SENT specification, comprising a short serial message format of 8 bits, an enhanced serial message format of 12 bits, or a further enhanced serial message format of 16 bits. A SENT_DATA parameter can be used to specify the particular sensor data to be communicated in the data nibbles. For example, one value of the SENTJDATA parameter may indicate that three data nibbles represent magnetic field data and three data nibbles represent temperature data. A SENT TICK parameter can used to specify the nominal tick time. A SENT_LOVAR parameter can be used to depart from the SENT standard of having a fixed low state time in each nibble to having the high state time fixed instead. And a SENTJFIXED parameter can be used to depart from the SENT standard by specifying a different defined length of the fixed portion of each nibble.

A SENTJJPDATE parameter is used to specify a desired data communication mode. In one mode of data communication, sensor data is stored in response to detection of a first feature of the trigger signal 24 and is communicated in response to a detection of second feature of the trigger signal 24 (see, for example, FIG. 5). In other examples, sensor data is both stored and communicated to the controller 20 (FIG. 1 ) in response to detection of a single feature of the trigger signal 24. Other data communication modes are also possible, such as a mode in which the trigger signal controls only generating/updating the sensor data (such as via the A/D converter 56 of FIG. 2), a mode in which the trigger signal only controls communication of the serial data signals 26a-26N and any sensor data generating/updating and/or dedicated sensor data storage occurs independently of the trigger signal, a mode in which the trigger signal resets certain sensor circuitry (such as clock generator 136, registers, or counters) such as a mode in which any combination of these sensor functions is controlled by the trigger signal, or a mode in which the serial data signal 26a does not include the optional pause portion 164. For example, the trigger signal may, alternatively, control only one such function (data sampling, storing or

communication) or any combination of sensor data storing, updating, resetting and transmitting functions.

Referring also to FIG. 4, in one mode of data communication, sensor data is stored in response to detection of a trigger signal received at the sensor bidirectional node and is communicated to the controller. FIG. 4 shows a signal transmission 171 from the controller 20 to the sensors 14a-14N for the sensor system 10 (FIG. 1 ). Each sensor 14a-14N is responsive to a first feature 210, shown in FIG. 4 as a falling edge, of a received trigger signal 96 for storing sensor data and to a second feature 214, shown in FIG. 4 as a rising edge, of the received trigger signal for transmitting the stored sensor data in a serial data signal. The first feature 210 may be used by sensors (e.g. , linear and angle sensors) as a trigger mechanism to multiple devices to trigger the sampling of data by the sensors.

The sensors 14a-14N detect the first feature 210a of the trigger signal, here a falling edge, samples and stores their respective sensor data in the latch 86 in response. The sensors 14a-14N further detect the second feature 214a of the trigger signal, here a rising edge. Each sensor 14a-14N responds in turn (sequentially) based on a previously configured order. In one particular example, sensor 14a sends a SENT message 224a; after sensor 14a sends the SENT message 224a, the sensor 14b sends a SENT message 224b; and so forth with the sensor 14N sending the last SENT message 224N.

The first sensor in the previously configured order would respond with a serial data signal while the remaining sensors start monitoring the serial data signals from the other sensors to determine when it may send its message. In one example, the previously configured order would be stored in the EEPROM or another type of non-volatile device. In one example, in the event that a next sensor determines that there is no message within a specified amount of time coming from the previous sensor in the previously configured order, the next sensor responds with its serial data signal and a notification that it did not detect the message from the previous sensor. In one example, each sensor may report its identification (address or identifier bit stream) in its Status Nibble. In other examples, based on an address of a particular device the sensor could provide more than just Hall magnetic field data. The sensor could, for example, further provide temperature sensor data or error flag status IF in a read mode command.

In other examples, the sensors 14a-14N would listen to the messages sent by the other sensors. For example, the sensors may compare their output values and register a plausibility error if the sensor's values should be matched. In other examples, other information may be compared such as temperature values between sensors.

While the trigger signal features used in this embodiment are signal edges of a particular direction, various other signal features would alternatively be used, including but not limited to one or more signal pulses (i.e., detection of first and second, opposite edge directions), multiple edge detections of the same or different directions and so forth.

In other examples, a trigger signal from the controller 20 does not necessitate a response from the sensor components 14a-14N that includes data. In one example, no response is required. In another example, the sensor components 14a-14N may send a response that does not include data; but rather, the response is, for example, an

acknowledgment signal that indicates that the trigger signal was received by the sensor.

In one particular example, a trigger signal may include a number of toggling pulses issued from the controller where the pulses are separated by a small number of ticks. In another particular example, a trigger signal maybe used that includes an address not used by the sensors 14a-14N. In one particular example, sensors have addresses 00, 01 and 10; and 1 1 is used as a trigger signal. For example, the trigger signal would instruct all devices to sample the magnetic field level at this specific time.

Referring to FIG. 5 A, if the trigger signal instructs the sensors 14a-14N to store their data but not send the data to the controller 20, then an additional trigger signal is used to retrieve the data. In particular, a second trigger signal may be directed at one specific sensor or a subset of the sensors 14a- 14N. For example, the second trigger signal may be a Manchester encoded signal. The sensors 14a-14N receiving signals from the

communication node 21 will listen to the encoded signal and if a sensor recognizes that it is being addressed sends its data. For example, the sensor sends a serial data signal. FIG. 5 A depicts one particular example, where two zero's are transmitted in a row followed by a 2-bit sensor address flowed by a portion to allow the sensor response.

Referring to FIG. 5B, in another particular example, the address bits may be extended from just 2 bits to, for example, 8 bits, to address internal registers in a sensor device. For example, the first 2 bits of the Address field could be for addressing the particular slave device, the next 2 bits bit could be used to indicate a coded Read/Write message, and then the remaining 4 bits could be used for addressing an internal register/EEPROM in the device.

Referring to FIG. 6A, in another example of retrieving data from the sensors 14a-14N, a serial data signal message may be sent from the controller 20 to the sensors 14a-14N but intended for one of the sensors. For example, the serial data signal may be a SENT message as described in FIG. 3. The selected sensor would interpret the SENT message in the same manner the controller 20 would. FIG. 6A depicts a transmission signal 300 that includes a falling edge 310 which signals the sensors 14a-14N to store their data. The controller 20 sends a SENT message 324 that triggers one of the sensors 14a-14N to respond by sending its data in a SENT message 336. For example, the SENT message is the SENT signal 150 described in FIG. 3 that includes fifty-six ticks for synchronization followed by one or more Nibbles. In one example, the SENT message 324 from the controller 20 includes an address of the desired sensor to respond. For example, a Nibble may include a 4-bit address. In one example, the SENT message 324 may include a cyclic redundancy check (CRC).

Referring to FIG. 6B, in another example, a transmission signal 400 that includes a falling edge 410 which signals the sensors 14a-14N to store their data. The controller 20 sends a Manchester message 424 (e.g., such as described in FIGS. 5A and 5B) that triggers one of the sensors 14a-14N to respond by sending its data in a SENT message 436.

Having described preferred embodiments, which serve to illustrate various concepts, structures and techniques, which are the subject of this patent, it will now become apparent to those of ordinary skill in the art that other embodiments incorporating these concepts, structures and techniques may be used.

Accordingly, it is submitted that that scope of the patent should not be limited to the described embodiments but rather should be limited only by the spirit and scope of the following claims. Elements of different embodiments described herein may be combined to form other embodiments not specifically set forth above.