Getting Started with FRDM Development Platform for Low-Voltage, 3-Phase PMSM Motor Control

上次修改时间: 2019-03-23 09:38:00支持 FRDM-MC-LVPMSM | KV1x/KV3x | 电机控制

本文档内容

  • 1

    Plug It In
  • 2

    Get Software
  • 3

    Build, Run

1. Plug It In

Let's take your FRDM-MC-LVPMSM for a test drive! Follow the detailed actions list below.

For these instructions, we will consider the FRDM-KV10Z board as the FRDM microcontroller board, but there are other compatible options like the FRDM-KV31F. Check the FRDM-MC-LVPMSM product page for more information about compatible FRDM microcontroller boards.

1.1 Attach the FRDM Board via Headers

FRDM-MC-LVPMSM-1

FRDM-MC-LVPMSM-1

1.2 Connect the 3-Phase Motor

Plug the 3-Phase wires of the FRDM-MC-LVMTR motor, or your own motor that meets the driver specification, to the screw connector.

FRDM-MC-LVPMSM-2

FRDM-MC-LVPMSM-2

1.3 Attach the USB Cable

Take the micro-B USB cable included in the FRDM-KV10Z package and plug one end into your computer USB port, and the other end into the micro-B port labeled "SDA USB". This USB port provides power to the FRDM-KV10Z board, and via the onboard OpenSDA circuit, it also provides debugging, drag-and-drop flashing and virtual serial port capabilities.

FRDM-MC-LVPMSM-3

FRDM-MC-LVPMSM-3

2. Get Software

2.1 Download the PMSM Motor Control Package

Download the 3-Phase Permanent Magnet Synchronous Motor (PMSM) Motor Control package.

2.2 Program the Microcontroller Board

Follow the Getting Started instructions for your FRDM microcontroller, to download the required driver and the available IDE toolchain for your board. Then, open the corresponding project for your FRDM microcontroller board and IDE toolchain, build it and debug it.

Using a different toolchain?

3. Build, Run

3.1 Power the FRDM Controller Board

Plug a 24 V/5 A power-supply to the power barrel connector of the FRDM-MC-LVPMSM board.

FRDM-MC-LVPMSM-4

FRDM-MC-LVPMSM-4

3.2 Spin the Motor

Motor will start spinning when pressing user button SW2 of the FRDM microcontroller board.

FRDM-MC-LVPMSM-5

FRDM-MC-LVPMSM-5