TIDUF67 April   2024  – December 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 Highlighted Products
      1. 2.2.1 AM263x Microcontrollers
        1. 2.2.1.1 TMDSCNCD263
        2. 2.2.1.2 LP-AM263
  9. 3System Design Theory
    1. 3.1 Three-Phase PMSM Drive
      1. 3.1.1 Mathematical Model and FOC Structure of PMSM
      2. 3.1.2 Field Oriented Control of PM Synchronous Motor
        1. 3.1.2.1 The (a, b) → (α, β) Clarke Transformation
        2. 3.1.2.2 The (α, β) → (d, q) Park Transformation
        3. 3.1.2.3 The Basic Scheme of FOC for AC Motor
        4. 3.1.2.4 Rotor Flux Position
      3. 3.1.3 Sensorless Control of PM Synchronous Motor
        1. 3.1.3.1 Enhanced Sliding Mode Observer With Phase Locked Loop
          1. 3.1.3.1.1 Design of ESMO for PMSM
          2. 3.1.3.1.2 Rotor Position and Speed Estimation with PLL
      4. 3.1.4 Hardware Prerequisites for Motor Drive
      5. 3.1.5 Additional Control Features
        1. 3.1.5.1 Field Weakening (FW) and Maximum Torque Per Ampere (MTPA) Control
        2. 3.1.5.2 Flying Start
  10. 4Hardware, Software, Testing Requirements, and Test Results
    1. 4.1 Hardware Requirements
    2. 4.2 Software Requirements
      1. 4.2.1 Importing and Configuring Project
      2. 4.2.2 Project Structure
      3. 4.2.3 Lab Software Overview
    3. 4.3 Test Setup
      1. 4.3.1 LP-AM263 Setup
      2. 4.3.2 BOOSTXL-3PHGANINV Setup
      3. 4.3.3 TMDSCNCD263 Setup
      4. 4.3.4 TMDSADAP180TO100 Setup
      5. 4.3.5 TMDSHVMTRINSPIN Setup
    4. 4.4 Test Results
      1. 4.4.1 Level 1 Incremental Build
        1. 4.4.1.1 Build and Load Project
        2. 4.4.1.2 Setup Debug Environment Windows
        3. 4.4.1.3 Run the Code
      2. 4.4.2 Level 2 Incremental Build
        1. 4.4.2.1 Build and Load Project
        2. 4.4.2.2 Setup Debug Environment Windows
        3. 4.4.2.3 Run the Code
      3. 4.4.3 Level 3 Incremental Build
        1. 4.4.3.1 Build and Load Project
        2. 4.4.3.2 Setup Debug Environment Windows
        3. 4.4.3.3 Run the Code
      4. 4.4.4 Level 4 Incremental Build
        1. 4.4.4.1 Build and Load Project
        2. 4.4.4.2 Setup Debug Environment Windows
        3. 4.4.4.3 Run the Code
    5. 4.5 Adding Additional Functionality to Motor Control Project
      1. 4.5.1 Using DATALOG Function
      2. 4.5.2 Using PWMDAC Function
      3. 4.5.3 Adding CAN Functionality
      4. 4.5.4 Adding SFRA Functionality
        1. 4.5.4.1 Principle of Operation
        2. 4.5.4.2 Object Definition
        3. 4.5.4.3 Module Interface Definition
        4. 4.5.4.4 Using SFRA
    6. 4.6 Building a Custom Board
      1. 4.6.1 Building a New Custom Board
        1. 4.6.1.1 Hardware Setup
        2. 4.6.1.2 Migrating Reference Code to a Custom Board
          1. 4.6.1.2.1 Setting Hardware Board Parameters
          2. 4.6.1.2.2 Modifying Motor Control Parameters
          3. 4.6.1.2.3 Changing Pin Assignment
          4. 4.6.1.2.4 Configuring the PWM Module
          5. 4.6.1.2.5 Configuring the ADC Module
          6. 4.6.1.2.6 Configuring the CMPSS Module
  11. 5General Texas Instruments High Voltage Evaluation (TI HV EVM) User Safety Guidelines
  12. 6Design and Documentation Support
    1. 6.1 Design Files
      1. 6.1.1 Schematics
      2. 6.1.2 BOM
      3. 6.1.3 PCB Layout Recommendations
        1. 6.1.3.1 Layout Prints
    2. 6.2 Tools and Software
    3. 6.3 Documentation Support
    4. 6.4 Support Resources
    5. 6.5 Trademarks
  13. 7About the Author

TMDSHVMTRINSPIN Setup

WARNING:
  • This EVM is meant to be operated in a lab environment only and is not considered by TI to be a finished end-product fit for general consumer use.
  • This EVM must be used only by qualified engineers and technicians familiar with risks associated with handling high voltage electrical and mechanical components, systems and subsystems.
  • This EVM operates at voltages and currents that can result in electrical shock, fire hazard and/or personal injury if not properly handled. Equipment must be used with necessary caution and appropriate safeguards must be employed to avoid personal injury or property damage.
  • Always use caution when using the EVM electronics due to presence of high voltages. DC bus Capacitors remain charged for a long time after the mains supply is disconnected.
  • The EVM can accept power from the AC Mains/wall power supply, only uses the live and neutral line from the wall supply, the protective earth is unconnected (floating). The power ground is floating from the protective earth ground, all of the ground planes are the same. Hence appropriate caution must be taken and proper isolation requirements must be met before connecting scopes and other test equipment to the board. Isolation transformers must be used when connecting grounded equipment to the EVM.
  • The power stages on the board are individually rated. The user is responsible to make sure that these ratings (for example, voltage, current and power levels) are well understood and complied with, prior to connecting these power blocks together and energizing the board. When energized, the EVM or components connected to the EVM must not be touched.

TMDSHVMTRINSPIN is a DIMM100 controlCARD based motherboard evaluation module showcasing control of the most common types of high voltage, three-phase motors including AC induction (ACI), brushless DC (BLDC), and permanent magnet synchronous motors (PMSM). The High Voltage Motor Control Kit has individual DC bus and three-phase voltage sensing making this board for BLDC/PMSM control with TI controlCARD™ an excellent choice for use with the sensorless FOC algorithm.

This section explains the steps needed to run the TMDSHVMTRINSPIN with the software supplied through MotorControl SDK. The kit ships with the jumper and switch settings correctly positioned for connecting with the controlCARD. Make sure that these settings are valid on the board as described in the following, and then insert the controlCARD with the TMDSADAP180TO100 adapter into the TMDSHVMTRINSPIN board as shown in Figure 4-10.

TIDM-02018 TMDSHVMTRINSPIN Connected to the
          TMDSCNCD263 with TMDSADAP180TO100 Figure 4-10 TMDSHVMTRINSPIN Connected to the TMDSCNCD263 with TMDSADAP180TO100
  • Make sure nothing is connected to the board, and no power is being supplied to the board.
  • Insert the Control card with TMDSADAP180TO100 adapter into the [Main]-J1 controlCARD connector if not already populated.
  • Make sure the following jumpers & connector settings are correctly implemented as shown in Figure 4-11.
    • [Main]-J3, J4, J5 and J8 are populated.
    • [Main]-J9 and [M3]-J5 are not populated for using a controlCARD with the onboard emulation to disable the XDS100 on HVKIT.
    • [Main]-J7 is populated between pins 2-3 (pins furthest from the DIMM 100 socket).
    • Make sure that the DC Fan shipped with the kit is connected to the DC Fan Jumper [Main]-J17 when operating the motor under load > 150W.
  • Two options to get DC Bus power are as follows, recommend using the external 15V DC power supply.
    • [Main]-J2 is not populated if using the +15V from an external 15VDC power supply. Verify that [M6]-SW1 is in the “Off” position, connect 15V DC power supply to [M6]-JP1.
    • [Main]-J2 is populated with a jumper between bridge and the middle pin if using the +15V power supply from aux power supply module.
  • Turn on [M6]-SW1. Now [M6]-LD1 turns on. Notice the control card LED lights up as well indicating the control card is receiving power from the board.
  • Connect the motor, encoder, and Hall sensors to the kits as described in Table 4-2 and shown in Figure 4-11.
  • Connect a supply voltage from an AC or a DC voltage source to the voltage supply pins. Power is applied when instructed to do so in Section 4.4, keep disconnected otherwise.

Table 4-6 shows the various connections available on the board. The location of these connections on the board are shown in Figure 4-11.

Table 4-6 Key Jumpers, Connectors Explanation
[Main]-P1 AC input connector (110V – 220VAC)
[Main]-TB3 Terminal Block to connect motor
[Main]-BS1 Banana Jack for Output from AC Rectifier
[Main]-BS2, BS6 Banana Jack for GND Connection
[Main]-BS3 Banana Jack for connecting an input voltage for the PFC stage, this is typically rectified AC voltage from the [Main]-BS1 connector.
[Main]-BS4 Banana Jack for connecting a load to the output from the PFC stage, When using PFC+Motor project the output of the PFC stage is connected to the input for the inverter bus for example [Main]-BS5
[Main]-BS5 Banana Jack for input of DC bus voltage for the inverter
[Main]-J2 Aux power supply module input voltage selection jumper,
  • When jumper connected to Bridge position the aux power supply module sources power from the AC rectifier bridge output.
  • When Jumper connected to PFC position the aux power supply module sources power from the output of the PFC stage.
[Main]-J3, J4, J5 Jumpers J3,J4 and J5 are used for sourcing 15V, 5V and 3.3V power respectively for the board from the 15V DC Power supply.
[Main]-J7 J7 is used to select the over current protection threshold source
[Main]-J8 J8 is used to enable/disable the IPM over current protection
[Main]-J9 JTAG TRSTn disconnect jumper, populating the jumper enables JTAG connection to the Microcontroller. The jumpers need to be unpopulated when no JTAG connection is required such as when booting from FLASH.
[Main]-J14 PWMDAC outputs: Gives voltage outputs that result from a PWM being attached to a first-order low-pass filter. Pins 1,2,3 and 4 are attached to low pass filtered PWM output pins respectively to observe system variables on an oscilloscope.
[Main]-J16 Isolated CAN bus connector
[Main]-J17 Connector to supply power to the DC fan (shipped with the board) that is attached to the IPM heat sink.
[Main]-H1 QEP connector: connects with a 0-5V QEP sensor to gather information on a motor’s speed and position.
CAP/Hall effect sensor connector: connects with a 0-5V sensor to gather information on a motor’s speed and position.
[M1]-F1 Fuse for the AC input
[M3]-JP1 USB connection for on-board emulation
[M3]-J2 External JTAG interface: this connector gives access to the JTAG emulation pins. If external emulation is desired, place a jumper across [M3]-J5 and connect the emulator to the board. To power the emulation logic a USB connector still needs to be connected to [M3]-JP1.
[M3]-J5 On-board emulation disable jumper: Place a jumper here to disable the on-board emulator and give access to the external interface.
TIDM-02018 TMDSHVMTRINSPIN Kit Jumpers and
          Connectors Diagram Figure 4-11 TMDSHVMTRINSPIN Kit Jumpers and Connectors Diagram