SPRUHJ0C April   2013  – October 2021 TMS320F28068M , TMS320F28069-Q1 , TMS320F28069M , TMS320F28069M-Q1

 

  1. 1Read This First
    1. 1.1 About This Manual
    2. 1.1 Glossary
    3. 1.1 Support Resources
    4.     Trademarks
  2. 1 F2806xM 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 Pin Utilization
      1.      A Resources
        1.       B Definition of Terms and Acronyms
          1.        C Revision History

Disturbance Rejection

The disturbance rejection tests demonstrate the controller's ability to compensate for external disturbances, which impact the motor position. In this test a load torque is applied to the system, held for short period of time, and then removed from the system. Figure 6-10 is an example of a disturbance rejection test. The response of the controller is measured using the maximum position error and settling time. The maximum position error shows the deviation from the goal position, and is an indication of how aggressively the controller is tuned. Aggressive tuning produces a low maximum error. In Figure 6-10, the PI controller presents a greater maximum error than the SpinTAC controller, indicating that the SpinTAC controller is more responsive in compensating for system error.

GUID-311760FD-4E58-4991-AD46-03BBB8EA1F83-low.pngFigure 5-10 Disturbance Rejection Test of Maximum Position Error and Settling Time

 

Settling time refers to the amount of time from the point when the disturbance occurs until the position feedback returns to a fixed band around the goal position reference. This is also an indication of how aggressively the control loop is tuned. If the controller is tuned too aggressively it will have a long settling time, and will oscillate around the goal position before settling. Figure 6-10 shows that the PI controller has a longer settling time than the SpinTAC controller. Note that there is little oscillation from either controller as they return to the goal position.

When doing disturbance rejection testing it is important to test at multiple speed and load combinations. In order to properly evaluate the effectiveness of your position controller, tests should be done across the entire speed range since the speed at which the motor is running will impact the ability to control the position. The test results will indicate whether the controller will meet the application specifications or whether the controller needs to be tuned multiple times for different operating points. The disturbance rejection tests were conducted at nine different speed and load combinations (Table 6-7 and Table 6-8) in order to test a wide range of operation.

It is also important to be able to create repeatable disturbances. This can be accomplished using a dynamometer or a disturbance motor. Creating repeatable disturbance is an important factor when evaluating multiple controllers. If test conditions cannot be replicated, it is difficult to adequately compare the responses of multiple controllers.

For the following test results, a disturbance load profile was created that applied 25%, 50%, and 100% of rated torque to the motor. The test results compare the performance of SpinTAC Position Control to a standard PI position control system. The following parameters were measured:

  • Average Recovery Time (from the point of disturbance until within 2% of the reference position) - the average recovery time was measured when the load was applied, and when the load was removed from the system.
  • Absolute Average Position Error - positive or negative deviation from the reference position (in mechanical degrees) when a system disturbance is introduced.
  • Maximum Position Error - maximum deviation (in mechanical degrees) from the goal position when a disturbance is introduced.
Table 5-7 SpinTAC vs PI Position Control Disturbance Rejection Test Results (Teknic Motor)
1000 rpm2000 rpm4000 rpm
SpinTACPISpinTAC Advantage (percentage improvement over PI)SpinTACPISpinTAC Advantage (percentage improvement over PI)SpinTACPISpinTAC Advantage (percentage improvement over PI)
25% rated torque
Avg Recovery Time(s) - load applied0.400.5525.90.440.5215.20.410.5323.2
Avg Recovery Time(s) - load removed0.20.5059.60.250.3833.60.200.3949.5
Abs Avg Error (mechanical degrees)3.22e-12.3886.42.70e-11.9486.12.63e-11.9886.7
Avg Max Error (mechanical degrees)17.57132.0186.717.06130.4386.915.80127.6287.6
50% rated torque
Avg Recovery Time(s) - load applied0.280.3927.90.440.4911.00.270.5651.4
Avg Recovery Time(s) - load removed0.230.5155.30.250.3935.50.250.4544.2
Abs Avg Error (mechanical degrees)6.12e-14.8687.45.04e-14.2188.05.04e-14.1887.9
Avg Max Error (mechanical degrees)35.68270.5486.834.63267.0187.033.41253.8486.8
100% rated torque
Avg Recovery Time(s) - load applied0.240.3937.40.380.6541.60.320.4326.6
Avg Recovery Time(s) - load removed0.260.6459.70.280.4335.30.320.4223.8
Abs Avg Error (mechanical degrees)1.1511.5290.01.0813.7592.18.64e-18.1489.4
Avg Max Error (mechanical degrees)61.16479.8887.359.76730.5591.851.843.48e+285.1

 

Table 5-8 SpinTAC vs PI Position Control Disturbance Rejection Test Results (Estun Motor)
750 rpm 1500 rpm 3000 rpm
SpinTAC PI SpinTAC Advantage (percentage improvement over PI) SpinTAC PI SpinTAC Advantage (percentage improvement over PI) SpinTAC PI SpinTAC Advantage (percentage improvement over PI)
25% rated torque
Avg Recovery Time(s) - load applied 0.40 0.62 34.3 0.38 0.54 46.4 0.40 0.51 20.5
Avg Recovery Time(s) - load removed 0.22 0.3 24.8 0.18 0.29 34.0 0.20 0.33 39.5
Abs Avg Error (mechanical degrees) 9.21e-2 1.08 91.5 8.16e-2 1.01 90.6 8.36e-2 1.12 91.6
Avg Max Error (mechanical degrees) 2.63 2.85e+1 90.8 2.45 2.71e+1 90.9 2.27 4.1e+1 94.5
50% rated torque
Avg Recovery Time(s) - load applied 0.29 0.46 36.2 0.24 0.42 43.0 0.27 0.35 21.7
Avg Recovery Time(s) - load removed 0.27 0.35 22.9 0.19 0.32 40.0 0.24 0.42 41.2
Abs Avg Error (mechanical degrees) 1.53e-1 1.73 91.1 1.58e-1 1.69 90.7 1514e-1 1.41e+1 98.9
Avg Max Error (mechanical degrees) 3.35 5.64e+1 94.1 3.35 5.52e+1 93.9 3.53 5.38e+1 93.4
100% rated torque
Avg Recovery Time(s) - load applied 0.58 0.76 23.0 0.54 0.78 30.9 0.46 5.00 90.7
Avg Recovery Time(s) - load removed 0.29 0.41 28.9 0.25 0.36 29.0 0.28 5.00 94.1
Abs Avg Error (mechanical degrees) 2.55 2.64e+1 89.9 2.08 2.67e+1 92.2 1.38 1.8e+3 99.9
Avg Max Error (mechanical degrees) 1.35e+2 1.24e+3 89.2 1.15e+2 1.23e+3 90.7 8.37e+1 1.8e+3 95.4