SLYA051A october   2020  – april 2023 DRV5055 , DRV5055-Q1 , DRV5057 , DRV5057-Q1 , TMAG5170 , TMAG5170-Q1 , TMAG5170D-Q1 , TMAG5173-Q1 , TMAG5273

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
  4. 2Linear Transit Position Sensing
  5. 3Linear Array Design
  6. 4Absolute Rotational Position
  7. 5Identifying Sources of Error
  8. 6Summary
  9. 7References
  10. 8Revision History

Introduction

The best Hall-effect sensor for any given application depends on the type of motion being detected and the various mechanical limitations of the system. Latches and switches operate relative to a fixed threshold. When the sufficient magnetic field is present, the outputs state of these devices changes. Linear sensors however produce a variable output relative to the input magnetic field. Latches and switches are primarily useful where discrete fixed operating positions are used. For example, you might detect the closure of a lid or setting of a 3 position switch using a single DRV5032. Linear Hall-effect sensors are typically needed where absolute position or fine control is required, such as tracking the fluid level in a tank, dial or slider state, or seat adjustment setting.

Selecting a linear Hall-effect sensor depends on system constraints. In the case of long stroke linear transit, the following devices offer design flexibility to suit the application each can provide an appropriate solution.

Table 1-1 Comparison of Linear Hall Sensors

Device

Axis of Sensitivity

Output Mode

Package Options

Automotive Grade Available

DRV5055

Z

Analog

SOT-23, TO-92

DRV5057

Z

PWM

SOT-23, TO-92

TMAG5170,
TMAG5170D-Q1

X, Y, Z

SPI

VSSOP

For simple applications, DRV5055 and DRV5057 can be quickly implemented, and their outputs update immediately upon change in magnetic flux density. However, both of these devices are constrained mechanically due to only having sensitivity along a single axis. TMAG5170 offers three integrated sensors with each sensor oriented along a different axis. This allows the greatest flexibility in system design, and allows the user to observe the entire magnetic flux density. Upon completing each conversion TMAG5170 transmits the resulting digital code over SPI, which eliminates the need for an ADC to convert the output signal.

In every case, the number of sensors required to implement a linear transit solution is primarily dictated by magnet length and the total travel distance. Magnet strength and distance from the sensor also impact the quality of measurement. Fortunately, there is a simple algorithm that scales easily in this application that can be used to determine position of a magnet with an array of sensors.

This discussion demonstrates a basic design procedure focused around DRV5055. The observations and principles discussed apply equally to the DRV5057 and TMAG5170. The TMAG5170D-Q1 is a dual-die version of the TMAG5170 that can be used in a system where redundancy is required.