SBAS646A November   2018  – August 2020 DRV5057

PRODUCTION DATA  

  1. Features
  2. Applications
  3. Description
  4. Revision History
  5. Pin Configuration and Functions
    1.     Pin Functions
  6. Specifications
    1. 6.1 Absolute Maximum Ratings
    2. 6.2 ESD Ratings
    3. 6.3 Recommended Operating Conditions
    4. 6.4 Thermal Information
    5. 6.5 Electrical Characteristics
    6. 6.6 Magnetic Characteristics
    7. 6.7 Typical Characteristics
  7. Detailed Description
    1. 7.1 Overview
    2. 7.2 Functional Block Diagram
    3. 7.3 Feature Description
      1. 7.3.1 Magnetic Flux Direction
      2. 7.3.2 Sensitivity Linearity
      3. 7.3.3 Operating VCC Ranges
      4. 7.3.4 Sensitivity Temperature Compensation for Magnets
      5. 7.3.5 Power-On Time
      6. 7.3.6 Hall Element Location
    4. 7.4 Device Functional Modes
  8. Application and Implementation
    1. 8.1 Application Information
      1. 8.1.1 Selecting the Sensitivity Option
      2. 8.1.2 Decoding a PWM
        1. 8.1.2.1 Decoding a PWM (Digital)
          1. 8.1.2.1.1 Capture and Compare Timer Interrupt
          2. 8.1.2.1.2 Oversampling and Counting With a Timer Interrupt
          3. 8.1.2.1.3 Accuracy and Resolution
        2. 8.1.2.2 Decoding a PWM (Analog)
    2. 8.2 Typical Applications
      1. 8.2.1 Full-Swing Orientation Example
        1. 8.2.1.1 Design Requirements
        2. 8.2.1.2 Detailed Design Procedure
        3. 8.2.1.3 Application Curve
      2. 8.2.2 Half-Swing Orientation Example
        1. 8.2.2.1 Design Requirements
        2. 8.2.2.2 Detailed Design Procedure
    3. 8.3 What to Do and What Not to Do
  9. Power Supply Recommendations
  10. 10Layout
    1. 10.1 Layout Guidelines
    2. 10.2 Layout Examples
  11. 11Device and Documentation Support
    1. 11.1 Documentation Support
      1. 11.1.1 Related Documentation
    2. 11.2 Receiving Notification of Documentation Updates
    3. 11.3 Support Resources
    4. 11.4 Trademarks
    5. 11.5 Electrostatic Discharge Caution
    6. 11.6 Glossary
  12. 12Mechanical, Packaging, and Orderable Information

Package Options

Mechanical Data (Package|Pins)
Thermal pad, mechanical data (Package|Pins)
Orderable Information

Decoding a PWM (Analog)

If an analog signal is needed at the end of a large travel distance, first use a microcontroller to digitally decode the PWM, then use a DAC to produce the analog signal. If an analog signal is needed after a short signal travel distance, use an analog output device, such as the DRV5055.

If an analog signal is needed at the end of a large travel distance and a microcontroller is unavailable, use a low-pass filter to convert the PWM signal into an analog voltage, as shown in Figure 8-1. When using this method, note the following:

  • A ripple appears at the analog voltage output, causing a decrease in accuracy. The ripple intensity and frequency depend on the values chosen for R and C in the filter.
  • The minimum and maximum voltages of the PWM must be known to calculate the magnetic field strength from the analog voltage. Thus, if the signal is traveling a large distance, then the minimum and maximum values must be either measured or buffered back to a known value.
GUID-298E043E-E7B9-470E-9E3A-090207FB4DAF-low.gifFigure 8-1 Low-Pass RC Filter