TIDUC26A April   2022  – April 2024

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
      1. 2.2.1 Inductive Touch Buttons
      2. 2.2.2 Sensor Coil Placement
      3. 2.2.3 Collecting Data from Multiple LDCs
      4. 2.2.4 Magnetic Dial Implementation
      5. 2.2.5 CORDIC Algorithm
    3. 2.3 Highlighted Products
      1. 2.3.1 LDC3114-Q1
      2. 2.3.2 TMAG5273
      3. 2.3.3 DRV2605
      4. 2.3.4 TLV75518
      5. 2.3.5 TCA9534
      6. 2.3.6 PCA9543
      7. 2.3.7 Sensor Control Board
  9. 3Hardware, Software, Testing Requirements, and Test Results
    1. 3.1 Firmware and Programming
      1. 3.1.1 Operational Mode 1
      2. 3.1.2 Operational Mode 2
      3. 3.1.3 Operational Mode 3
    2. 3.2 Test Setup
    3. 3.3 Test Results
      1. 3.3.1 ABS Force Response
      2. 3.3.2 ABS Gain Corrected
      3. 3.3.3 Nylon Force Response
      4. 3.3.4 Nylon Gain Corrected
  10. 4Hardware Components
  11. 5Design and Documentation Support
    1. 5.1 Design Files
      1. 5.1.1 Schematics
      2. 5.1.2 BOM
    2. 5.2 Tools and Software
    3. 5.3 Documentation Support
    4. 5.4 Support Resources
    5. 5.5 Trademarks
  12. 6Revision History

Magnetic Dial Implementation

The TMAG5273 is a 3D Hall-effect sensor used to implement the dial in this design. Being a 3D device allows the device to detect the angle and magnitude of the magnet which enables the push-button functionality on the dial. The integrated CORDIC engine of this device makes angular position sensing easy to implement in this application. The angle of magnet is reported through the device register so no calculations are needed from the MCU. Two similar alternatives that can be used in this application are the TMAG5170-Q1 and TMAG5173-Q1. Both devices offer similar functionality while also providing an automotive-qualified option. All these devices have the built-in CORDIC engine and reports the magnet angle and magnitude through the registers. The three parts are slightly different in that the TMAG5170-Q1 and TMAG5173-Q1 are high precision devices that use SPI and I2C respectively for communication while the TMAG5273 is a general purpose low power device that communicates over I2C. This reference design does not need high resolution to display the angle and has I2C as the main communication protocol so the TMAG5273 was chosen. If automotive qualification is needed, the TMAG5170-Q1 or TMAG5173-Q1 can be used instead.

The magnet used in this device is an N42 diametric cylinder measuring 1/4th in diameter by 1/8th inch thick. This magnet was chosen because the magnet provides an input that uses a significant portion of the full-scale output range. This provides a better SNR performance for the device when used at a desirable distance for the design while still being small and it is easy to obtain.

GUID-20220302-SS0I-S1SM-1FC6-K73GPSRRCFRH-low.svg Figure 2-5 Magnetic Field Strength Over Distance

The push functionality of the dial is achieved by adding a spring to the design. Most springs are ferromagnetic and interact with the magnetic field but the magnet chosen for this design has a field strong enough that the spring can still be implemented without needing to find a specific non-ferromagnetic version. However, the decrease in field strength also reduces the SNR for this design. This is combated by implementing averaging in the magnetic measurement. The TMAG5273 has a register setting that can be used to change the averaging of the sensor data. Since high speed measurements are not needed in this application, the maximum averaging is chosen for consistent results. Alternatively, the averaging can be turned down to the necessary value and the sleep timer in the device can be used to put the device in low-power mode between samples for lower power applications.

GUID-20220331-SS0I-DRFP-N7MG-TL0BZWMJZPZN-low.png Figure 2-6 Magnetic Dial Push Button Stackup

Knowing the distance between the magnet and the sensor as well as the magnet properties, the angle error can be estimated using the Angle Error Calculation Tool. However, since this application does not require a fast sampling rate, the CORDIC algorithm with a high sample averaging applied gives accurate enough information about the position of the dial.