TIDUF56 January   2024

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 Terminology
    2. 1.2 Key System Specifications
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
    3. 2.3 Highlighted Products
      1. 2.3.1 TMS320F28P65x-Q1
      2. 2.3.2 DRV3255-Q1
      3. 2.3.3 LM25184-Q1
      4. 2.3.4 TCAN1044A-Q1
  9. 3System Design Theory
    1. 3.1 Three-Phase PMSM Drive
      1. 3.1.1 Field-Oriented Control of PM Synchronous Motor
        1. 3.1.1.1 Space Vector Definition and Projection
          1. 3.1.1.1.1 ( a ,   b ) ⇒ ( α , β ) Clarke Transformation
          2. 3.1.1.1.2 α , β ⇒ ( d ,   q ) Park Transformation
        2. 3.1.1.2 Basic Scheme of FOC for AC Motor
        3. 3.1.1.3 Rotor Flux Position
    2. 3.2 Field Weakening (FW) Control
  10. 4Hardware, Software, Testing Requirements, and Test Results
    1. 4.1 Hardware Requirements
      1. 4.1.1 Hardware Board Overview
      2. 4.1.2 Test Conditions
      3. 4.1.3 Test Equipment Required for Board Validation
    2. 4.2 Test Setup
      1. 4.2.1 Hardware Setup
      2. 4.2.2 Software Setup
        1. 4.2.2.1 Code Composer Studio™ Project
        2. 4.2.2.2 Software Structure
    3. 4.3 Test Procedure
      1. 4.3.1 Project Setup
      2. 4.3.2 Running the Application
    4. 4.4 Test Results
  11. 5Design and Documentation Support
    1. 5.1 Design Files
      1. 5.1.1 Schematics
      2. 5.1.2 BOM
      3. 5.1.3 PCB Layout Recommendations
        1. 5.1.3.1 Layout Prints
    2. 5.2 Tools and Software
    3. 5.3 Documentation Support
    4. 5.4 Support Resources
    5. 5.5 Trademarks

Code Composer Studio Project

To import the reference project in CCS, click ProjectImport CCS Projects, and browse to <SDK install location>\solutions\tidm_02017_2w_traction_inverter\f28p65x\ccs and click Select Folder. Select the project called tidm_02017_2W_traction_inverter_f28p65x and click Finish. The project is now visible in the Project Explorer pane in CCS.

The tidm_02017_2w_traction_inverter project contains a single build configuration. The default configuration is called Flash and uses the tidm_02017_2w_traction_inverter_config.syscfg file to configure the device clock, memory, peripherals, and also to generate the linker command file. The build configuration also includes the necessary pre-defined symbols.

For evaluation purposes, new build configurations can be created. To build a new configuration, right-click on the project and select Build ConfigurationsManage and select new.

In addition to the single-shunt current sensing mode, there are several more optional features in the software that can be enabled and disabled using predefined symbols in the project properties. The options are as follows:

  • MOTOR_FWC to enable field-weakening control (FWC)
  • SKIP_QEP_CALIB to skip initial position calibration. If enabled, the PWM output of the position sensor to load initial position value.

To view and edit the predefined symbols, right-click on your project and select Properties. Then go to the Predefined Symbols section of the C2000 Compiler options as shown in <broken link>. By default the features listed above are enabled. To disable the features, edit the symbol and append "_N" to the symbol name.