TIDUA05B June   2015  – March 2025

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. System Description
    1. 1.1 Design Overview
    2. 1.2 Analog Sin/Cos Incremental Encoder
      1. 1.2.1 Sin/Cos Encoder Output Signals
      2. 1.2.2 Sin/Cos Encoder Electrical Parameter Examples
    3. 1.3 Method to Calculate High-Resolution Position With Sin/Cos Encoders
      1. 1.3.1 Theoretical Approach
        1. 1.3.1.1 Overview
        2. 1.3.1.2 Coarse Resolution Angle Calculation
        3. 1.3.1.3 Fine Resolution Angle Calculation
        4. 1.3.1.4 Interpolated High-Resolution Angle Calculation
        5. 1.3.1.5 Practical Implementaion for Non-Ideal Synchronization
        6. 1.3.1.6 Resolution, Accuracy, and Speed Considerations
    4. 1.4 Sin/Cos Encoder Parameters Impact on Analog Circuit Specification
      1. 1.4.1 Analog Signal Chain Design Consideration for Phase Interpolation
      2. 1.4.2 Comparator Function System Design for Incremental Count
  8. Design Features
    1. 2.1 Sin/Cos Encoder Interface
    2. 2.2 Host Processor Interface
    3. 2.3 Evaluation Firmware
    4. 2.4 Power Management
    5. 2.5 EMC Immunity
  9. Block Diagram
  10. Circuit Design and Component Selection
    1. 4.1 Analog Signal Chain
      1. 4.1.1 High-Resolution Signal Path With 16-Bit Dual Sampling ADC
        1. 4.1.1.1 Component Selection
        2. 4.1.1.2 Input Signal Termination and Protection
        3. 4.1.1.3 Differential Amplifier THS4531A and 16-Bit ADC ADS8354
      2. 4.1.2 Analog Signal Path With Single-Ended Output for MCU With Embedded ADC
      3. 4.1.3 Comparator Subsystem for Digital Signals A, B, and R
        1. 4.1.3.1 Non-Inverting Comparator With Hysteresis
    2. 4.2 Power Management
      1. 4.2.1 24-V Input to 6-V Intermediate Rail
      2. 4.2.2 Encoder Supply
      3. 4.2.3 Signal Chain Power Supply 5 V and 3.3 V
    3. 4.3 Host Processor Interface
      1. 4.3.1 Signal Description
      2. 4.3.2 High-Resolution Path Using 16-Bit Dual ADC ADS8354 With Serial Output
        1. 4.3.2.1 ADS8354 Input Full Scale Range Output Data Format
        2. 4.3.2.2 ADS8354 Serial Interface
        3. 4.3.2.3 ADS8354 Conversion Data Read
        4. 4.3.2.4 ADS8354 Register Configuration
    4. 4.4 Encoder Connector
    5. 4.5 Design Upgrades
  11. Software Design
    1. 5.1 Overview
    2. 5.2 C2000 Piccolo Firmware
    3. 5.3 User Interface
  12. Getting Started
    1. 6.1 TIDA-00176 PCB Overview
    2. 6.2 Connectors and Jumper Settings
      1. 6.2.1 Connector and Jumpers Overview
      2. 6.2.2 Default Jumper Configuration
    3. 6.3 Design Evaluation
      1. 6.3.1 Prerequisites
      2. 6.3.2 Hardware Setup
      3. 6.3.3 Software Setup
      4. 6.3.4 User Interface
  13. Test Results
    1. 7.1 Analog Performance Tests
      1. 7.1.1 High-Resolution Signal Path
        1. 7.1.1.1 Bode Plot of Analog Path from Encoder Connector to ADS8354 Input
        2. 7.1.1.2 Performance Plots (DFT) for Entire High-Resulation Signal Path
        3. 7.1.1.3 Background on AC Performance Definitions With ADCs
      2. 7.1.2 Differential to Single-Ended Analog Signal Path
      3. 7.1.3 Comparator Subsystem With Digital Output Signals ATTL, BTTL, and RTTL
    2. 7.2 Power Supply Tests
      1. 7.2.1 24-V DC/DC Input Supply
        1. 7.2.1.1 Load-Line Regulation
        2. 7.2.1.2 Output Voltage Ripple
        3. 7.2.1.3 Switching Node and Switching Frequency
        4. 7.2.1.4 Efficiency
        5. 7.2.1.5 Bode Plot
        6. 7.2.1.6 Thermal Plot
      2. 7.2.2 Encoder Power Supply Output Voltage
      3. 7.2.3 5-V and 3.3-V Point-of-Load
    3. 7.3 System Performance
      1. 7.3.1 Sin/Cos Encoder Output Signal Emulation
        1. 7.3.1.1 One Period (Incremental Phase) Test
        2. 7.3.1.2 One Mechanical Revolution Test at Maximum Speed
    4. 7.4 Sin/Cos Encoder System Tests
      1. 7.4.1 Zero Index Marker R
      2. 7.4.2 Functional System Tests
    5. 7.5 EMC Test Result
      1. 7.5.1 Test Setup
      2. 7.5.2 IEC-61000-4-2 ESD Test Results
      3. 7.5.3 IEC-61000-4-4 EFT Test Results
      4. 7.5.4 IEC-61000-4-5 Surge Test Results
  14. Design Files
    1. 8.1 Schematics
    2. 8.2 Bill of Materials
    3. 8.3 PCB Layout Guidelines
      1. 8.3.1 PCB Layer Plots
    4. 8.4 Altium Project
    5. 8.5 Gerber Files
    6. 8.6 Software Files
  15. References
  16. 10About the Author
    1.     Recognition
  17. 11Revision History

24-V Input to 6-V Intermediate Rail

A switching DC-DC converter is provided to achieve the intermediate voltage rail of 6 V that supplied the three LDOs. This is a basically mandatory choice since the high VIN / VOUT ratio makes any LDO unsuitable for the power conversion. Indeed the efficiency of any LDO could be simply calculated as VOUT / VIN that, in the worst case (maximum VIN) would lead to 5.25 V / 36 V ≈ 14%. The remaining 86% of the power consumption is dissipated by the LDO package: having indeed a maximum current of 200 mA would lead to 36 V × 200 mA × 86% = 6.2-W power dissipated on the LDO package that would simply and quickly blow up any reasonable package.

Starting with the input filter, it is widely known that conducted EMI are generated by the normal operation of switching circuits. Large discontinuous currents are generated by the power switches turn on and off very fast. In a buck topology, large discontinuous currents (high di/dt) are present at the input of the converter. The selected values for the input filter are shown in Figure 4-9.

For more details about how to design an input EMI filter, please refer to the application report, AN-2162 Simple Success With Conducted EMI From DC/DC Converters (SNVA489).

TIDA-00176 Input Filter Including Reverse Polarity ProtectionFigure 4-9 Input Filter Including Reverse Polarity Protection

The DC/DC buck converter has been designed to meet the following specifications:

  • Input voltage: VIN = 17 to 36 V, 24 V nominal
  • Output voltage: 6 V @ 500 mA
  • Switching frequency: 500 kHz nominal
  • Output voltage ripple: 25 mVPP max
  • Efficiency: > 80% at full load
  • Non-isolated topology

The TPS54040A is selected for the purpose: this is a buck converter with an integrated FET, 3.5 to 42-V input voltage, and 0.8 to 39-V output voltage at a 500-mA output current. Its frequency can be adjusted from 100 kHz to 2.5 MHz or can be synchronized with an external clock. It can also be enabled and disabled. These features make the TPS54040A a very good fit to the requirements/specifications listed above.

Note that the TPS54040A is pin-to-pin compatible with the TPS5401, which is a lower cost version of the TPS54040A with similar performance but a less accurate output voltage and enabled threshold.

Also note that the TPS54040A is pin-to-pin compatible also with the TPS54140A, TPS54240, TPS54340, and TPS54540: this widens the part selection and offers the possibility to modulate costs and power level (in case of future system upgrades).

TIDA-00176 Schematic of 24-V to 6-V DC-DC Buck Converter With TPS54040AFigure 4-10 Schematic of 24-V to 6-V DC-DC Buck Converter With TPS54040A

For a detailed explanation of the design process, refer to the TPS54040A datasheet or the TI Design TIDA-00180.

On a typical application the output voltage is set thanks to a simple resistor divider network. Equation 12 gives the value of the upper resistor according to the output voltage, the reference voltage (0.8 V for the TPS54040A) and the lower resistor (with R10 usually fixed to 10 kΩ).

Equation 12. TIDA-00176

With VOUT = 6 V and R10 = 10 kΩ, R7 yields 65 kΩ.

The tolerance of the 6-V output voltage will be 6 V ±4%. This assumes feedback resistors with a 1% tolerance and the internal bandgap tolerance from the TPS54040A of ±2%.

The switching frequency is set with R8 = 237 kΩ to 500 kHz.

On the TPS54040A schematics, some components are marked as do not populate (DNP). This is the case of the snubber network formed by R4 and C11. The snubber network is not needed with the TPS540040A design. A snubber network is a solution to reduce the ringing on the switch node and overshoot of the MOSFET if needed. For more details of other option, refer to the application note Ringing Reduction Techniques for NexFETTM High Performance MOSFETs (SLPA010) on how to use and calculate the snubber network.