Quick Start Guide KEA128BLDCRD. 3-phase Sensorless BLDC Motor Control Reference Design using Kinetis KEA128

Similar documents
Quick Start Guide. 3-Phase Sensorless BLDC Motor Control Development Kit with MC9S12G128 MCU

Quick Start Guide TRK-KEA. Kinetis EA Series MCUs for Automotive Electronics Applications. StarterTRAK

Quick Start Guide. Dual 3-Phase Sensorless BLDC Motor Control Development Kit with Qorivva MPC5643L MCU

HVP-56F82748 Quick Start Guide

Quick Start Guide. TWR-KV10Z32 Development Kit for Kinetis KV1x Family TOWER SYSTEM

Quick Start Guide TWR-PXR bit Power Architecture MCU for High-Performance Real-Time Applications TOWER SYSTEM

Quick Start Guide TRK S12ZVFP64. S12 MagniV MCU for Automotive Heating, Ventilation and Air Conditioning (HVAC) Applications

TWR-SMPS-LVFB Quick Start Guide

Quick Start Guide. TWR-S12G128 Scalable platform for automotive applications TOWER SYSTEM

Quick Start Guide MagniV MC9S12ZVML128 MCU

Getting Started with Freescale MQX RTOS for Kinetis SDK and MDK-ARM Keil

Freedom FRDM-MC-LVBLDC Development Platform User s Guide

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

TWR-K80F150M Quick Start Guide

Quick Start Guide TWR-PXS bit Dual-Core Power Architecture MCU for Industrial Control and Safety Applications TOWER SYSTEM

HVP-KV31F120M User s Guide

Quick Start Guide. TWR 56F8200 Tower System Module for MC56F823xx and MC56F827xx. Digital Signal Controllers TOWER SYSTEM

Quick Start Guide. TWR-VF65GS10 For Vybrid Controller Solutions Based on ARM Cortex -A5 and Cortex-M4 Processors with the DS-5 Toolchain TOWER SYSTEM

TWR-KV10Z32 Sample Code Guide for CodeWarrior Board configuration, software, and development tools

TWR-KL43Z48M Quick Start Guide

TWR-KV10Z32 Sample Code Guide for IAR Board configuration, software, and development tools

HVP-KV10Z32 User s Guide

PMSM Field-Oriented Control Using MC56F84789 DSC With Encoders Demo Guide

Quick Start Guide for TWR-MC56F8257 TOWER SYSTEM MC56F8257. For power conversion and motor control applications

TWR-KM34Z50MV3 Quick Start Guide

Kinetis EA Ultra-Reliable Microcontrollers. Automotive and Industrial Applications

TWR-K60F120M Quick Start Guide

Quick Start Guide. USB Packet Sniffer/Dongle for Kinetis MKW22D and MKW24D Wireless MCUs USB-KW24D512

Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide

PMSM Sensorless Application Package User's Guide

TWR-KE18F. Quick Start Guide. 32-bit Kinetis MCU based on ARM Cortex -M4 provides up to 168 MHz CPU performance, up to 512 KB flash with 64 KB SRAM

Quick Start Guide. S12VR64EVB S12 MagniV Mixed-Signal MCUs. S12 MagniV

TRK-S12ZVL Quick Start Guide. MagniV Mixed-signal MCUs for LIN Applications

Quick Start Guide for TRK-MPC5634M. Starter TRAK. TRK-MPC5634M Automotive powertrain and precision timed industrial applications

TWR-LS1021A Getting Started

Quick Start Guide TWR-S08PT60. 5-Volt S08P Family of 8-bit MCUs for Industrial and Appliance Applications TOWER SYSTEM

FRDM-K64F Board Errata

PMSM Control Reference Solution Package

TWR-K21F120MA Quick Start Guide

Quick Start Guide. TWR-P1025 QorIQ Processor with Networking and Industrial Connectivity and Protocol Offload Engine TOWER SYSTEM

Quick Start Guide. EVBUSB2SER board for USB-to-serial bridge. Ready Play Solutions

Freedom FRDM-KV31F Development Platform User s Guide

S32K144 EVB QUICK START GUIDE REV4.2 APPLIES FOR: S32K144 EVB (SCH REV B) EXTERNAL USE

Quick Start Guide for the Freescale Freedom Development Platform FRDM-KL43Z

Getting Started with Freescale MQX RTOS for Kinetis SDK and Kinetis Design Studio IDE

Load Position-Independent Code (PIC) on a Kinetis Platform Using the IAR EWARM Compiler

Quick Start Guide for FRDM-KL05Z

Quick Start Guide TWR-S08DC-PT60. Tower System Daughter Card for the 5-Volt 8-bit MC9S08P Family TOWER SYSTEM

Quick Start Guide. TWR-K70F120M High-Performance MCUs with Graphics LCD, Connectivity and Security TOWER SYSTEM

OpenSDA on TWR-KW2x. User s Guide Rev 1.1

FRDM-KL03Z User s Guide

Quick Start Guide. TWR-K60D100M Low-Power MCU with USB, Ethernet and Encryption TOWER SYSTEM

DEMO9S08LG32 Up to 5V MCU with integrated LCD display driver

S32K118 EVB QUICK START GUIDE APPLIES FOR: S32K118 EVB (SCH_29945 REV B) EXTERNAL USE

HVP-MC56F82748 User s Guide

Three-Phase Power Meter Hardware Design Reference Manual

S32K148 EVB QUICK START GUIDE REV1 APPLIES FOR: S32K148 EVB (SCH REV A/B) EXTERNAL USE

Quick Start Guide for FRDM-KL46Z Rev 1

Quick Start Guide for FRDM-KL46Z Rev 1

Kinetis USB-KW41Z Wireless Protocol Sniffer Quick Start Guide

Emulating Dual SPI Using FlexIO

Offline Flash Programmer for Kinetis K- and L-series MCUs

FRDM-KE02Z User s Manual

TWR-K70F120M Quick Start Guide

TWR-LS1021A Getting Started

TWR-KV11Z75M Tower System Module User s Guide

Freescale MKW40Z IEEE Software Quick Start Guide

Quick Start Guide. TWR-MPC8309 PowerQUICC Processor with Industrial Connectivity and Protocol Off-Load Engine TOWER SYSTEM

SABRE for Automotive Infotainment Quick Start Guide. Smart Application Blueprint for Rapid Engineering Based on the i.mx 6 Series

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

Quick Start Guide. EVBCRTOUCH Xtrinsic CRTouch Capacitive and Resistive Touch-Sensing Platform Evaluation Board. Xtrinsic READY PLAY SOLUTIONS

S32K142 EVB QUICK START GUDE REV3.1 APPLIES FOR: S32K142 EVB (SCH_29701 REV D/C) EXTERNAL USE

TWR-KV58F220M Tower Module User's Guide

S32K118 EVB QUICK START GUIDE APPLIES FOR: S32K118 EVB (SCH_29945 REV B) EXTERNAL USE

Lab Tutorial for TWR-S08GW64 TOWER SYSTEM. MC9S08GW64 LCD segment MCU for flow meters and energy metering applications

Quick Start Guide for TWR-S08LL64 TOWER SYSTEM MC9S08LL64. S08 ultra-low-power LCD segment MCU

PMSM Field-Oriented Control on MIMXRT10xx EVK

FRDM-KL26Z User s Guide

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

MQX RTOS Release Notes for Kinetis SDK v1.2.0 for KL33Z64 for FRDM-KL43Z Freescale Freedom Development Platform

Quick Start Guide (QSG) for - FRDM-KEAZ128 - FRDM-KEAZ64 - FRDM-KEAZN32

Lab Tutorial for TWR-S08MM128-KIT TOWER SYSTEM LAB MC9S08MM128. Electrocardiogram (EKG) with Freescale USB stack

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM MC9S08MM128. The industry s most complete solution for portable medical applications

WPR1500-LDO MP Receiver V2.1 Reference Design User s Guide

KITVALVECNTLEVM Valve Controller SoC Evaluation Kit

Quick Start Guide. TWR-LCDC-EPSON Epson Display Controller Module TOWER SYSTEM

MQX RTOS Release Notes for Kinetis SDK FRDM- KV10Z Freescale Freedom Development Platform

Adding a run control interface into an existing CodeWarrior for MCU v10.x project

Quick Start Guide. MED-SPO2 Pulse Oximetry Plug-in Board TOWER SYSTEM

Getting Started with Freescale MQX RTOS for Kinetis SDK and ARM GCC

Quick Start Guide TWR-56F8400. The Ultimate Solution in Performance and Precision for Energy-Efficient Innovation TOWER SYSTEM

Quick Start Guide. MED-SPI Spirometry Plug-in Board TOWER SYSTEM

Quick Start Guide. SABRE Platform for Smart Devices Based on the i.mx 6 Series

Working around ERR7026 according to application needs

56F8300 BLDC Motor Control Application

Quick Start Guide. TWR-IND-IO Industrial I/O Module TOWER SYSTEM

TWR-K53N512 Quick Start Guide

FRDM-KEA QUICK START GUIDE (QSG) FRDM-KEAZ128 FRDM-KEAZ64 FRDM-KEAZN32 Ultra-Reliable MCUs for Industrial and Automotive Applications

i.mx 6UltraLite Evaluation Kit Quick Start Guide s datasheet has been downloaded from at this pag

BLD04A Brushless DC Motor Driver

Transcription:

Quick Start Guide KEA128BLDCRD 3-phase Sensorless BLDC Motor Control Reference Design using Kinetis KEA128

Quick Start Guide Get to Know: 3-phase Sensorless BLDC Motor Control Reference Design using Kinetis KEA128 SBC Configuration CAN/LIN Connector Power Supply Terminals Open SDA Status LED OpenSDA USB Port Speed Up Switch Speed Down Switch Rot. Direction Switch Motor Phase Terminals Reset Switch Reset LED Status LEDs KEA128 SWD Connector KEA128 MCU MC33903D SBC MC33937A Pre-driver Figure 1: Reference design printed circuit board 2

Reference Design Features Hardware KEA128 32-bit ARM Cortex -M0+ MCU (80-pin LQFP) MC33903D system basis chip MC33937A FET pre-driver LIN & CAN connectivity support OpenSDA programming/debugging interface 3-phase BLDC motor, 24 V, 9350 RPM, 90 W, Linix 45ZWN24-90-B Software Sensorless control using back-emf zero-crossing detection Closed-loop speed control and dynamic motor current limitation DC bus overvoltage, undervoltage and overcurrent detection Application built upon Automotive Math and Motor Control Library Set for Cortex -M0+ functions FreeMASTER run-time debugging tool for instrumentation/visualization Motor Control Application Tuning (MCAT) tool 3

Quick Start Guide Step-by-Step Installation Instructions Install CodeWarrior Development Studio 1 3 2 CodeWarrior Development Studio for Microcontrollers installation file is included on the supplied media for your convenience. The most recent version of CodeWarrior for MCUs (Eclipse IDE) can be downloaded from freescale.com/codewarrior. Install FreeMASTER FreeMASTER run-time debugging tool installation file is included on the supplied media for your convenience. For FreeMASTER updates, please visit freescale.com/freemaster. 4 5 Download Application Software Download and install the reference design application software available at freescale.com/kea128bldcrd. Connect the Motor Connect the Linix 45ZWN24-90-B 3-phase BLDC motor to the motor phase terminals. Connect the Power Supply Connect the 12 V power supply to the power supply terminals. Keep the DC supply voltage within the range of 8 to 18 V. The DC power supply voltage affects the maximum motor speed. 4

6 7 Connect the USB Cable Connect the reference design board to the PC using the USB cable. Allow the PC to automatically configure the USB drivers if needed. Re-program the MCU using CodeWarrior Import the downloaded reference design application project in the CodeWarrior Development Studio: 1. Start the CodeWarrior application 2. Click File Import 3. Select General Existing Projects into Workspace 4. Select Select root directory and click Browse 5. Navigate to the extracted application directory: KEA128BLDCRD\SW\KEA128_ BLDC_Sensorless and click OK 6. Click Finish 7. Click Run Run, select KEA128_FLASH_OpenSDA configuration when prompted 8 FreeMASTER Setup Start the FreeMASTER application Open the FreeMASTER project KEA128BLDCRD\SW\ KEA128_BLDC_Sensorless\ KEA128_BLDC_Sensorless.pmp by clicking File Open Project Set up the RS232 communication port and speed in the menu Project Options Set the communication speed to 115200 Bd. The COM port number can be found using Windows Device Manager under Ports (COM & LPT) section as OpenSDA CDC Serial Port (http://www. pemicro.com/opensda) (COMn). Click the red STOP button in the FreeMASTER toolbar or press Ctrl+K to enable the communication. Successful communication is signalized in the status bar as RS232;COMn;speed=115200. 5

Quick Start Guide Application Control in FreeMASTER 1 6 2 3 4 5 Click App Control in the Motor Control Application Tuning tool tab menu to display the application control page. Select the rotation direction using SW3 on the reference design board. To start the motor, click either the ON/OFF flip-flop switch or press the switch SW1 on the board. Set the required speed by changing the requiredspeed variable value manually in the variable watch window, by double clicking the speed gauge, or by pressing the switch SW1 (speed up) or switch SW2 (speed down) on the board. Automatic motor speed stimulus can be enabled by double clicking the Speed Response [requiredspeed] in the Variable Stimulus pane. 7 8 The speed response of the motor can be observed by clicking the Speed Scope in the Project Tree pane. Additional scopes and a back-emf voltage recorder are also available. To stop the motor, click the ON/OFF flip-flop switch or press the switches SW1 and SW2 on the board simultaneously. In case of pending faults, click the green Clear Faults button or press the switches SW1 and SW2 on the board simultaneously. Faults present in the system are signalized by the red fault indicators. Pending faults are signalized by small red circle indicators next to the respective fault indicator, and by the red status LED on the reference design board. 6

Jumper Options The following is a list of all jumper options. The default installed jumper settings are shown in white text within red boxes. Jumper Option Setting Description J6 System Basis Chip Mode and RESET Interconnect Configuration 1-2 MC33903D Debug mode enable 3-4 MC33903D Fail-safe mode enable 5-6 MC33903D/KEA128 RESET interconnection enable Headers and Connectors List Header/ Connector J1 J2 J3 J7 Description Kinetis KEA128 Serial Wire Debug (SWD) header OpenSDA micro USB A-B connector Kinetis K20 (OpenSDA) JTAG header CAN and LIN physical interface signal header J8, J9, J10 Motor phase terminals (J8 phase A, J9 phase B, J10 phase C) J11, J12 12 V DC power input terminals (J11-12 V, J12 - GND) J13 Braking resistor terminal (not assembled) 7

Quick Quick Start Start Guide Guide Support Visit freescale.com/support for a list of phone numbers within your region. Warranty Visit freescale.com/warranty for complete warranty information. For more information, visit freescale.com/kea128bldcrd Freescale, the Freescale logo, CodeWarrior and Kinetis are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. ARM and Cortex are registered trademarks of ARM Limited (or its subsidiaries) in the EU and/or elsewhere. All rights reserved. 2014 Freescale Semiconductor, Inc. Doc Number: KEA128BLDCRDQSG REV 0 Agile Number: 926-78864 REV A