Commissioning A Motor Using ST Motor Control
Commissioning A Motor Using ST Motor Control
• Resistance
• Inductance
• Pole pairs
• Back EMF
Earth/Chassis Connection
(1x Green or Clear)
Motor Connections
(3x thick wires)
B C
INSTALLING ST MOTOR CONTROL DEVELOPMENT SUITE AND INPUTTING THE MOTOR DRIVE AND MOTOR
PARAMETERS INTO A PROJECT
Install STM32CubeMX A
Refer to ST website to install following software, follow
exactly the steps indicated in ST website
1. Register/Login at the st.com website (A)
2. Download the STM32CubeMX-Win (B)
Note: ST Motor Profiler does NOT work with EPC power
boards. If you try, you may damage the EPC power
board.
3. Install the STM32CubeMX-Win downloaded executable
file, following the default installation settings.
Note: This procedure has been tested with version 6.2.0
and version 6.3.0
It may be better to disable Antivirus and firewall
programs during installation
Install STM32Cube-IDE
A
Refer to ST website to install following software, follow
exactly the steps indicated in ST website
1. Register/Login at the st.com website (A)
2. Download the STM32CubeIDE-Win (B)
3. Install the STM32CubeMX-Win downloaded executable
file, following the default installation settings.
Note: This procedure has been tested with version 1.6.0
and version 1.7.0
It may be better to disable Antivirus and firewall
programs during installation
Install STM32CubeProg A
Refer to ST website to install following software, follow
exactly the steps indicated in ST website
1. Register/Login at the st.com website (A)
2. Download the STM32CubeProg (B)
3. Install the STM32CubeProg downloaded executable file,
following the default installation settings.
Note: The STM32CubeProg can be used to flash the
device with a .elf file, if the .elf file is already available.
The steps are explained in ECP9147C quick start guide.
The aim of this guide is to show the process to generate
the .elf file
It may be better to disable Antivirus and firewall
programs during installation
B C
D
Note:
1. If you downloaded the project for the
specific power board, it is already set
properly to work for the
Teknic_M-3411P-LN-08D motor.
2. To adapt to a new motor you have to
change only the motor parameters by
clicking on the motor icon circled in
red (D)
3
2
1
5
6 4
11
13 10
7
12 8
14 15
9
Legend:
1. AC Input info 9. Drive Management - Speed Position Feedback Management
2. Power Stage - Rated Bus Voltage Info 10. User Interface
3. Power Stage - Bus Voltage Sensing 11. Drive Management
4. Motor Parameters 12. MCU and Clock Frequency Selection
5. Power Stage - Power Switches 13. Control Stage - Digital I/O
6. Power Stage - Driving Signals Polarity - U Driver 14. Control Stage - DAC Functionality
7. Power Stage - Current Sensing 15. Control Stage - Analog Input and Protection
8. Power Stage - Overcurrent Protection
3
2
1
1 3
5
6 4a, 4b
4a 5
4b
7
8
9a, 9b
7 9a
8
9b
10
10a 10b
11a-d
11a 11b
11d
11c
11e-g
13
12
14
12
14
13
15a-d
15a 15b
15c
15d
A B
B
A
A B
OPERATING THE MOTOR DRIVE SYSTEM CONNECTED TO THE PC AND USING ST MOTOR
CONTROL WORKBENCH MONITOR OPTION
Launch the Monitor
When the ST Nucleo board is properly programmed and connected via the EPC9147C to the proper power board, it is also possible to use the ST
Motor Control Workbench GUI to change the speed and the direction of the motor.
Open the ST Motor Control Workbench and load the proper .stmcx file that is relevant to the project
you are working at (e.g. G431-EPC9145-DummyNema34_50k_100n.stmcx).
Note: Depending on the installation, you may have different versions.
Monitor
1. Click on the Open Monitor Button (A).
2. Connect the USB cable to the PC and power up the 48 V to the power board. Click on the Connect button (B).
3. Wait for the successful connection message (C).
Press Fault Ack button (A) if any fault was detected. Then press Start Motor button (B). Motor should spin. It is now possible to move the graphic
potentiometer on the GUI to change the speed of the motor and to change the motor direction. Refer to ST user guide manual for more details on
how to work with the ST Motor Control Workbench for further customization.
Refer to ST Motor Control Workbench Guide for further information
Note: ST Motor Profiler does NOT work with EPC power boards. If you try, you may damage the EPC power board.
Sign-up to receive
EPC updates at
bit.ly/EPCupdates
or text “EPC” to 22828