Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

How to spin a PMSM motor with EVAL_IMD700A_FOC_3SH using MOTIX™ BPA Motor Control Workbench GUI

How to spin a PMSM motor with EVAL_IMD700A_FOC_3SH using MOTIX™ BPA Motor Control Workbench GUI

Shawn_Wu
Employee
Employee
25 sign-ins First question asked 10 sign-ins

EVAL_IMD700A_FOC_3SH is an evaluation board fully integrated BLDC/PMSM motor drive solution based on the MOTIX™ IMD701A. MOTIX™ BPA (Battery Powered Applications) Motor Control Workbench GUI is a graphical user interface with parameter configuration for motor control application. The GUI simplifies the process of spinning a PMSM motor using sensorless FOC with the evaluation board, making it easy and convenient for users.

The MOTIX™ IMD701A is Infineon’s fully programmable motor controller integrating XMC1404 microcontroller with 6EDL7141 3-phase gate driver IC in one package.  The sensorless FOC firmware functions and all of the 6EDL7141 settings can be quickly changed with the available simple-to-use PC based GUI tool. In addition, with a full suite of system protection features such as OCP, UVLO, and over-temperature, this dedicated motor controller will increase reliability and robustness in severe operating fault conditions.

Despite the many configurations available in the GUI, running a motor can still be accomplished with simple steps, due to the robustness of the algorithm and the intelligence of the gate driver.

1.     Installing the GUI


The GUI can be found from Infineon Developer Center. To install the GUI, you need to log in, search for the GUI and then click on “install”.

Shawn_Wu_0-1695732170350.png

Figure 1 Installing the GUI

2.     Create a new project

In the “Getting Started” tab, click on the “New Project” icon under the “IMD700A 3 Shunts” board.

Shawn_Wu_1-1695732203214.png

Figure 2 Create a new project

3.     Configuration for hardware

Check the current sense shunt value. Modify the value if it is not correct.

Shawn_Wu_2-1695732248199.png

Figure 3 Current sense shunt resistor value

Set a proper gain for the amplifier if necessary according to your current rating of the motor.

Shawn_Wu_3-1695732272840.png

Figure 4 Amplifier gain configuration

Make sure the DC link voltage is correct according to your system.

Shawn_Wu_4-1695732297811.png

Figure 5 DC link voltage configuration

4.     Configuration for protection

Protections must be configured properly to protect the system in case any fault happens.

  • Enable the DC link over/under voltage protection.
Shawn_Wu_5-1695732329166.png

Figure 6  Enable the DC link over/under voltage protection

  • Configure the OCP from the shunt resistors.

Modify the OCP configuration according to your system requirement and the shunt value.

Suggest to enable “Brake on OCP” option, and to set “Brake Configuration” -> “Hi Z” at the beginning. 

Shawn_Wu_6-1695732364624.png

Figure 7 Configuration for OCP

Shawn_Wu_7-1695732395325.png

Figure 8 Brake Configuration

5.     Motor parameters configuration

Modify the motor parameters.

Shawn_Wu_8-1695732443834.png

Figure 9  Motor parameters configuration 

Note: The above mentioned configurations are critical to run a motor. However, it is recommended to check all the configurations in the GUI. It is your responsibility to ensure the safety of the board and the motor.

6.     Flash XMC firmware

By clicking “Flash XMC Firmware”, the firmware is flashed into the MCU.

Shawn_Wu_9-1695732486010.png

Figure 10 Flash XMC Firmware

The default firmware can be selected.

Shawn_Wu_11-1695732543074.png

Figure 11 Select the DEFAULT firmware

7.     Write configuration parameters

The configured parameters have to be written to the firmware to make it work. By clicking on “WRITE TO FLASH”, the parameters are written to the flash.

Shawn_Wu_12-1695732587039.png

Figure 12  Write parameters to the flash

8.     Run the motor in the Test Bench

Now we can run the motor by adjusting the potentiometer on the board. The running status can be seen from the Test Bench tab.

Shawn_Wu_13-1695732622070.png

Figure 13   Test Bench

“PID Tuning” and “Oscilloscope” can be launched to tune the control loops PI parameters and to monitor the running waveforms.

9.     Finalize the configurations

When the configurations are validated, you can either use the GUI to evaluate the solution, or export the configurations to your firmware project.

As for running the firmware project, refer to this article:

How to run the code example for EVAL_IMD700A_FOC_3SH on ModusToolbox™

Shawn_Wu_14-1695732661428.png

Figure 14  Export the configuration as firmware source code file

More information   

Datasheet:

Infineon-IMD701A-DS-v01_00-EN

Application Notes:

Evaluation board EVAL_IMD700A_FOC_3SH 18 V brushless DC motor drive board

Sensorless FOC tuning guide for BPA motor control GUI

User Manual:

Quick start guide Evaluation board EVAL_IMD700A_FOC_3SH 

0 Likes
125 Views