Advertisement

NXP Semiconductors
User's Guide
BLDC Control Demo User's Guide

1. Introduction

This document provides instructions for running and
controlling the Brushless DC (BLDC) sensorless
application with the Freedom and Tower System
development boards shown in
The required software, hardware setup, jumper settings,
project arrangement, and user interface is described in
the following sections. For more information, see
Section 9, "References"
www.nxp.com/motorcontrol_bldc.
© 2020 NXP B.V.
Table
1.
or visit
Document Number: BLDCDEMOUG
Contents
1.
Introduction ........................................................................1
2.
Supported development boards ...........................................2
3.
4.
Hardware setup ...................................................................2
4.1.
Linix 45ZWN24-40 motor ....................................... 3
4.2.
MIGE 60CST-MO1330 motor ................................ 3
4.3.
Tower System .......................................................... 4
4.4.
Tower System assembly .......................................... 8
4.5.
Freedom development platform ............................... 9
4.6.
High-Voltage Platform .......................................... 15
5.
Project file structure .......................................................... 15
6.
User Interface ................................................................... 17
6.1.
Control button ........................................................ 17
6.2.
Remote control using FreeMASTER ..................... 17
7.
Instructions ....................................................................... 21
7.1.
Running the motor ................................................. 21
7.2.
Stopping the motor ................................................ 21
7.3.
Clearing a fault ...................................................... 21
7.4.
Turning on demonstration mode ............................ 21
8.
Acronyms and abbreviations ............................................ 21
9.
References ........................................................................ 22
10. Revision history ................................................................ 22
Rev. 6 , 06/2020

Advertisement

Table of Contents
loading

Summary of Contents for NXP Semiconductors BLDC

  • Page 1: Table Of Contents

    BLDC Control Demo User's Guide 1. Introduction Contents This document provides instructions for running and Introduction ................1 controlling the Brushless DC (BLDC) sensorless Supported development boards ...........2 Motor Control vs. SDK Peripheral Drivers ......2 application with the Freedom and Tower System Hardware setup ..............2...
  • Page 2: Supported Development Boards

    The particular mcdrv_< board&MCU >.c source file contains configuration functions of allocated peripherals. 4. Hardware setup The BLDC sensorless application runs on Tower System and Freedom development platforms with a default 24-V Linix motor. BLDC Control Demo User's Guide, Rev. 6, 06/2020...
  • Page 3: Linix 45Zwn24-40 Motor

    Table 3) is primarily used for the Permanent Magnet Synchronous Motor (PMSM) sensorless application but you can also use it for the BLDC sensorless application. You can also adapt the application to other motors by defining and changing the motor- related parameters.
  • Page 4: Tower System

    Hardware setup Figure 2. MIGE motor 4.3. Tower System To run the BLDC application using the Tower System, these Tower boards are required: • Tower board with a Kinetis V series MCU (TWR-KV46F150M or TWR-KV58F220M). • Tower board with Kinetis E series MCU (TWR-KE18F).
  • Page 5 Tower System. The phase voltage and current feedback signals are provided. These signals enable a variety of algorithms to control the 3-phase PMSM and BLDC motors. A high level of board protection (over-current, under-voltage, over-temperature) is provided by the MC33937 pre-driver.
  • Page 6 Jumper Setting Jumper Setting Jumper Setting open open J505 open open J506 J512 open J514 1-2, 3-4 open J517 J519 J520 — — J521 J522 Figure 4. TWR-KV46F150M MCU module BLDC Control Demo User's Guide, Rev. 6, 06/2020 NXP Semiconductors...
  • Page 7 -M7 core. This MCU has enough power for use in multi-motor control applications (such as the PMSM or BLDC motors with simple or advanced control techniques). The MCU has a wide range of motor-control peripherals, lots of memory (depending on the model used), and a powerful core.
  • Page 8: Tower System Assembly

    Arm Cortex-M4 core. This MCU has enough power for use in motor-control applications (such as PMSM or BLDC motors with simple or advanced control techniques). The MCU has a wide range of peripherals, lots of memory (depending on the model used), and a powerful core.
  • Page 9: Freedom Development Platform

    Figure 7. Assembled Tower System 4.5. Freedom development platform To run the BLDC application using Freedom, you need these Freedom boards: • Kinetis KV11Z Freedom board (see FRDM-KV11Z), Kinetis KV31F Freedom board (see FRDM-KV31F), Kinetis KE15Z, or Kinetis KE16Z Freedom board.
  • Page 10 Freedom development platform into a complete motor-control reference design compatible with the existing Freedom development platforms (FRDM-KV31F, FRDM-KV11Z, FRDM-KE15Z, and FRDM-KE16Z). The FRDM-MC-LVBLDC board does not require any hardware configuration or jumper settings. It contains no jumpers. Figure 8. FRDM-MC-LVBLDC BLDC Control Demo User's Guide, Rev. 6, 06/2020 NXP Semiconductors...
  • Page 11 To begin, configure the jumpers on the FRDM-KV11Z Freedom System module properly. Table 10 lists the specific jumpers and their settings for the FRDM-KV11Z Freedom System module. Table 8. FRDM-K11Z jumper settings Jumper Setting Figure 9. FRDM-KV11Z Freedom development board BLDC Control Demo User's Guide, Rev. 6, 06/2020 NXP Semiconductors...
  • Page 12 Arm Cortex-M4 processor. The FRDM-KV31F board hardware is form-factor compatible with the Arduino R3 pin layout, providing a broad range of expansion board options, including FRDM- MC-LVPMSM and FRDM-MC-LVBLDC for PMSM and BLDC motor control. The FRDM-KV31F platform features OpenSDA, the open-source hardware embedded serial and debug adapter running an open-source bootloader.
  • Page 13 To begin, configure the jumpers and 0-Ω resistors on the FRDM-KE16Z Freedom System module properly. Table 13 lists the specific jumpers and Table 14 lists the 0-Ω resistor position settings for the FRDM-KE16Z Freedom System module. BLDC Control Demo User's Guide, Rev. 6, 06/2020 NXP Semiconductors...
  • Page 14 1. Connect the FRDM-MC-LVBLDC shield on top of the FRDM-KVxxx board. 2. Connect the BLDC motor 3-phase wires into the screw terminals on the board. 3. Plug in the USB cable from the USB host to the OpenSDA micro USB connector.
  • Page 15: High-Voltage Platform

    Project file structure Figure 13. Assembled Freedom system 4.6. High-Voltage Platform To run the BLDC application within the High-Voltage Platform, you need these components: • Kinetis KV31F High-Voltage Daughter Board (HVP-KV31F512), Kinetis KV46F High-Voltage Daughter Board (HVP-KV46F150), Kinetis KV58F220M High-Voltage Daughter Board (HVP-KV58F220M), or Kinetis KE18F High-Voltage Daughter Board (HVP-KE18F).
  • Page 16 The folder contains the subfolders common to the entire project in this package: • mc_algorithms—contains the control algorithms used to control the BLDC motor. • mc_drivers—contains the source and header files used to initialize and run motor-control applications.
  • Page 17: User Interface

    Remote operation is provided by the FreeMASTER software via the USB interface. FreeMASTER 3.0 is required for optimal operation of the application. The FreeMASTER 3.0 application installation is available for download at www.nxp.com/freemaster. Perform these steps to control a BLDC motor using FreeMASTER: 1. Open the FreeMASTER project file (bldc.pmp) in the <sdk_package_folder>middleware/motor_control/freemaster folder.
  • Page 18 Figure 15. FreeMASTER communication status when communication is established successfully 3. Control the BLDC motor using the control page. If the communication setup fails, perform these troubleshooting steps: 1. Go to the “Project->Options->Comm” tab and make sure that “COM_ALL” is set in the “Port”...
  • Page 19 Figure 17. FreeMASTER symbol file selection 6.2.2. Control page After launching the application and performing all necessary settings, control the BLDC motor using the FreeMASTER control page. The FreeMASTER control page contains: • Speed gauge—shows the actual and required speeds.
  • Page 20 Each tab represents one submodule of the embedded-side control, and tunes its parameters. For more information, see Sensorless BLDC Control on Kinetis KV (document AN4642). Here are the basic instructions: •...
  • Page 21: Instructions

    8. Acronyms and abbreviations Table 13. Acronyms and abbreviations Term Meaning Application Note BLDC Brushless DC motor Design Reference Manual Microcontroller Mass Storage Device BLDC Control Demo User's Guide, Rev. 6, 06/2020 NXP Semiconductors...
  • Page 22: References

    9. References See these documents at www.nxp.com: Embedded Software Libraries User’s Guides 2. 3-Phase BLDC Sensorless Motor Control Application (document DRM144) 3. Sensorless BLDC Control on Kinetis KV (document AN5263) 4. Getting Started with MCUXpresso SDK (document MCUXSDKGSUG) 10. Revision history Table 14.
  • Page 23 Information in this document is provided solely to enable system and software How to Reach Us: implementers to use NXP products. There are no express or implied copyright licenses Home Page: granted hereunder to design or fabricate any integrated circuits based on the www.nxp.com information in this document.

Table of Contents