SPRUHW1A June   2014  – October 2021 TMS320F28052-Q1 , TMS320F28052M , TMS320F28052M-Q1 , TMS320F28054-Q1 , TMS320F28054M , TMS320F28054M-Q1

 

  1. 1Read This First
    1. 1.1 About This Manual
    2. 1.1 Glossary
    3. 1.1 Support Resources
    4.     Trademarks
  2. 1 F2805xM InstaSPIN-MOTION Enabled MCUs
  3. 2InstaSPIN-MOTION Key Capabilities and Benefits
    1. 2.1 Overview
    2. 2.2 FAST Unified Observer
    3. 2.3 SpinTAC Motion Control Suite
      1.      IDENTIFY
      2.      CONTROL
      3.      MOVE
      4.      PLAN
    4. 2.4 Additional InstaSPIN-MOTION Features
  4. 3InstaSPIN-MOTION Block Diagrams
    1.     Scenario 1: InstaSPIN-MOTION Speed Control with FAST Software Encoder
    2.     Scenario 2: InstaSPIN-MOTION Speed Control with a Mechanical Sensor
    3.     Scenario 3: InstaSPIN-MOTION Position Control with Mechanical Sensor and Redundant FAST Software Sensor
  5. 4Application Examples
    1. 4.1 Treadmill Conveyor: Smooth Motion Across Varying Speeds and Loads
    2. 4.2 Video Camera: Smooth Motion and Position Accuracy at Low Speeds
    3. 4.3 Washing Machine: Smooth Motion and Position Accuracy at Low Speeds
      1.      Agitation Cycle
      2.      Spin Cycles
    4. 4.4 InstaSPIN-MOTION Works Over the Entire Operating Range
  6. 5Evaluating InstaSPIN-MOTION Performance
    1. 5.1 Overview
    2. 5.2 Velocity Control Performance: SpinTAC vs PI
      1. 5.2.1 Disturbance Rejection
      2. 5.2.2 Reference Tracking
      3. 5.2.3 Step Response
    3. 5.3 Position Control Performance: SpinTAC vs PI
      1. 5.3.1 Disturbance Rejection
      2. 5.3.2 Reference Tracking
      3. 5.3.3 Step Response
      4. 5.3.4 Inertia Estimation Repeatability
  7. 6Microcontroller Resources
    1. 6.1 CPU Utilization
    2. 6.2 Memory Utilization
    3. 6.3 Security Zones
    4. 6.4 Linker Command File Settings
    5. 6.5 Interfacing FAST ROM Libraries
    6. 6.6 Pin Utilization
    7. 6.7 Consideration of Analog Front-End (AFE) Module
      1. 6.7.1 Routing Current Signals
      2. 6.7.2 Voltage Reference Connection
      3. 6.7.3 Routing Voltage Signals
        1.       A Resources
          1.        B Definition of Terms and Acronyms
            1.         C Revision History

Voltage Reference Connection

Current can flow through the shunt in both positive and negative directions which will create both a positive and negative voltage that is fed back to the shunt amplifier circuit. Most cost-effective motor inverters do not have both positive and negative power supplies that can handle this bipolar signal. A bipolar current signal is brought into an amplifier that will only be effective from zero to the positive voltage supply. To allow the unipolar op-amp circuit to measure a bipolar signal, a voltage reference is summed into the non-inverting side of the current feedback op-amps. The AFE of the 2805x device contains a 6-bit DAC with a voltage follower for providing an output reference for this reason. A circuit configuration that can use a voltage reference to measure the bipolar current signal is shown in Figure 7-6.

GUID-C00B1210-16EB-4496-8D16-3D972222DF85-low.gifFigure 6-6 Using the AFE's Built-In Voltage Reference For Measuring a Bipolar Signal

 

Equation 1 shows how to calculate the voltage at VPGA. As an example, set the PGA gain = 3. VADCIN will be 2VBIPOLAR + VREF. Assume the system's VREFHI is 3.3 V. To allow for maximum voltage swing in both directions, VREF is set to 1.65 V. Now the maximum peak VBIPOLAR voltage that can be measure is ±0.825 V.

Equation 1. GUID-A27C637B-D7B5-4B4C-8842-1C8D90C7DDF9-low.gif

Suppose the same hardware is used and a higher resolution is required. The PGA gain = 6. VADCIN is 4VBIPOLAR + 2VREF. VREF must be adjusted to be 0.825 V. The maximum peak VBIPOLAR voltage that can be measured is ±0.4125 V.

The voltage reference output is adjusted by a 6-bit DAC. The VREFOUTCTL register controls the DAC's voltage output by Equation 2.

Equation 2. GUID-FD330E54-FC91-411D-AF51-D6B4D4362766-low.gif