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

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

Quick Start Guide MagniV MC9S12ZVML128 MCU

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

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

HVP-56F82748 Quick Start Guide

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

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

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

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

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

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

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

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

TWR-KM34Z50MV3 Quick Start Guide

TWR-K21F120MA Quick Start Guide

TWR-SMPS-LVFB Quick Start Guide

TWR-KL43Z48M Quick Start Guide

Freedom FRDM-MC-LVBLDC Development Platform User s Guide

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

56F Phase AC Induction Motor V/Hz Control using Processor ExpertTM Targeting Document 56F bit Digital Signal Controllers

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

56F8300 BLDC Motor Control Application

TWR-K80F150M Quick Start Guide

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers

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

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

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

TWR-K53N512 Quick Start Guide

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

HVP-MC56F82748 User s Guide

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

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

Quick Start Guide. i.mx 6SoloLite Evaluation Kit

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

Qorivva MPC5744P Evaluation Board 144LQFP Expansion Board User s Guide Barbara Johnson Applications Engineering

HVP-KV31F120M User s Guide

Featuring the SM700 RF Engine from Synapse TOWER SYSTEM. Quick Start Guide Wireless Mesh Networking Module featuring SNAP Technology (TWR-RF-SNAP)

HVP-KV10Z32 User s Guide

TWR-K70F120M Quick Start Guide

DEMO9S08LG32 Up to 5V MCU with integrated LCD display driver

Getting Started with Qorivva Fast

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

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

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

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

56F805. Digital Power Factor Correction using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers. freescale.

DG0598 Demo Guide SmartFusion2 Dual-Axis Motor Control Starter Kit

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

LOW VOLTAGE BLDC MOTOR CONTROLLER

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

Working around ERR7026 according to application needs

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

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

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

Quick Start Guide for i.mx28 EVK. i.mx28 EVK Multimedia and connectivity

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

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

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

New 70 MIPS dspic33ep and PIC24EP Family High Performance, Integrated Analog, Easy Migration

56F Phase Switched Reluctance Motor Control With Hall Sensors using Processor Expert Targeting Document

Sensorless BLDC Motor Control Based on MC9S08PT60 Tower Board User Guide

Purchase Agreement. P&E Microcomputer Systems, Inc. 98 Galen St. Watertown, MA

KITVALVECNTLEVM Valve Controller SoC Evaluation Kit

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

Watt Saver Software Component (WSC)

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C- Ware, the Energy Efficient Solutions logo, Kinetis,

Kinetis EA Ultra-Reliable Microcontrollers. Automotive and Industrial Applications

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

XE166 Family AP Application Note. Microcontrollers. X E D r i v e C a r d H a r d w a r e D e s c r i p t i o n Board REV.

Three-Phase Power Meter Hardware Design Reference Manual

TWR-LS1021A Getting Started

TWR-K60F120M Quick Start Guide

Freedom FRDM-KV31F Development Platform User s Guide

Description. January 2019 DB2381 Rev 3 1/5

PMSM Vector Control with Encoder on Kinetis Setup Guide for Demo Kits without a Tablet PC

Freescale High-Voltage Motor Control Platform User's Guide

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

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

SABRE Board for Smart Devices

FRDM-K64F Board Errata

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

TWR-LS1021A Getting Started

Sensorless BLDC Motor Control Using MC9S08AC16 Petr Frgal Freescale Czech System Laboratories Roznov pod Radhostem, Czech Republic

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

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

Description. July 2016 DocID Rev 2 1/6

PMSM Control Reference Solution Package

MasterFlux 48V Cascade BLDC Motor Controller Product Specification 030F0137

Get Started SUPPORT WARRANTY. Visit the i.mx community at

FRDM-KL03Z User s Guide

LPC1768 Industrial Reference Design Platform System Development Kit Version 1.3. May 2009

UM2119 User manual. Graphical user interface (GUI) for EVAL-L9907-H. Introduction

XC2000 Family AP Application Note. Microcontrollers. XC2236N Drive Card Description V1.0,

ECE 480 Team 5 Introduction to MAVRK module

PMSM Sensorless Application Package User's Guide

56F Phase Switched Reluctance Motor Sensorless Control using Processor Expert Targeting Document

UM2255 User manual. SPC58NG-DISP user manual. Introduction

PMSM Field-Oriented Control on MIMXRT10xx EVK

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

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

Transcription:

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

Quick Start Guide Dual 3-Phase Sensorless BLDC Motor Control Development Kit with Qorivva MPC5643L MCU Two 3-Phase Low-Voltage Power Stages Two 3-Phase BLDC Motors Qorivva MPC5643L Controller Board 2

Dual 3-Phase Sensorless BLDC Motor Control Development Kit Contents Hardware Qorivva MPC5643L controller board Two 3-phase PMSM/BLDC low-voltage power stages based on the MC33937A pre-driver integrated circuit Two 3-phase BLDC motors 24 V, 9360 RPM, 0.091 nm, Linux 45ZWN24-90 USB cable +24 VDC power supply Resources Modular PMSM application source code configured for this development kit Automotive math and motor control library set for MPC5643L installation package FreeMASTER installation pack FreeMASTER projects Dual 3-phase PMSM development kit quick start guide Dual 3-phase PMSM development kit fact sheet Dual 3-phase PMSM development kit application note Qorivva MPC5643L controller board user guide 3-phase BLDC/PMSM low-voltage power stage user guide 3

Quick Start Guide 3-Phase Low-Voltage Power Stage Brake Resistor Motor Connector MC33937A Overcurrent Threshold Setup UNI-3 Interface Power Supply Connector Power Supply Terminal MC33937A Interface 4

Qorivva MPC5643L Controller Board Encoder Sensor Interfaces 1 and 2 M1 PWM LED and Fault Indicators M2 PWM LED and Fault Indicators M1 UNI-3 Interface Resolver 2 Interface Resolver 1 Interface Buttons Switch M2 UNI-3 Interface JTAG Connector NEXUS Connector M1 MC33937A Interface M2 MC33937A Interface Power Supply Connector CAN Connector FlexRay Connectors USB Connector LIN Header 5

Quick Start Guide Software Tools Installation 1 Install the FreeMASTER debugging tool. For FreeMASTER application download, please visit freescale.com/ freemaster. 2 Install the CP210x virtual COM port driver. For the CP210x virtual COM port driver installation file, please visit freescale.com/ automcdevkits, Downloads section. 3 Run Device Manager on your system and check which COM port was assigned to the CP210x COM port driver. 6

Kit Installation 1 Connect the USB cable to the Qorivva MPC5643L controller board and the host PC. 2 Connect the power supply to the power stage. The controller board power supply is taken from the power stage. The PMSM motor is designed for phase voltage = 18 V. 3 Download and unzip the application software for the MTRCKTDPS5643L available at freescale.com/automcdevkits. Note: Please make sure the development kit is updated with the downloaded application software before proceeding to step 4. 4 Start the FreeMASTER project MPC5643L_PMSM_Dual.pmp located in MTRCKTDBN5643L\ SW\MPC5643L_BLDC_Sensorless_ Dual project directory. 5 In FreeMASTER \Project\Options, choose the RS232 COM port number that was assigned to the CP210x driver and set the communication speed to 19200 Bd. 6 Enable communication by pressing the STOP button in the FreeMASTER, or by pressing CTRL+K. 7 Successful communication is signalized in the status bar. If the communication is not established, check the USB connection between the PC and Qorivva MPC5643L controller board and the communication port and speed as described in step 5. 7

Quick Start Guide for TWRPI-MMA845xQ Application Control 1 Green LED D19 (GPIO13) related to motor 1 and the green LED D22 (GPIO12) related to motor 2 (on the Qorivva MPC5643L controller board) have the following functionality: OFF if the application is in the READY, INIT states Slow flashing if the application is in the CALIB, ALIGN states (flashing with a period of 2 Hz) ON if the application is in the RUN state Fast flashing if the application is in the FAULT state (flashing with a period of 8 Hz) 2 If no actual faults are present in the system, all the LED-like indicators on the FreeMASTER control page will be dark red. If there is a fault present, identify the source of the fault and remove it. Successful removal is noted by the switching off of the respective LED-like indicator on the FreeMASTER control page. 3 Press the UP + DOWN buttons (SW2+SW1 on the Qorivva MPC5643L controller board) simultaneously to clear the fault status register once in the FAULT state. The application can be restarted by positioning the RUN/STOP switch (SW3 on Qorivva MPC5643L controller board) to the RUN position (transition from STOP to RUN in case the switch was in the RUN state when the fault event occurred). 4 If all the LED-like indicators on the FreeMASTER control page are off, clear pending faults by pressing the green circled button FAULT CLEAR on the FreeMASTER control page, or alternatively by pressing the UP+DOWN buttons (SW2+SW1 on the Qorivva MPC5643L controller board) simultaneously. The RUN/STOP switch (SW3 on the Qorivva MPC5643L controller board) must be in STOP position. 8

Application Control (continued) 5 7 Start the application by pressing 1 - RUN on the flip/flop (ON/ OFF) switch on the FreeMASTER control page or by positioning the RUN/ STOP switch (SW3 on the Qorivva MPC5643L controller board) to the RUN position (transition from STOP to RUN in case the switch was in the RUN state when a fault event occurred). 6 Enter the required speed by assigning this value to the Nreq variable in the variables watch window. The value is in revolutions per minute. Alternatively, the rotor speed can be increased/decreased by pressing the UP/DOWN switches on the Qorivva MPC5643L controller board. Stop the single motor application by pressing 0 - STOP on the flip/flop (ON/OFF) switch on the FreeMASTER control page. 8 Stop the dual motor application by pressing the red circled button Central Stop on the FreeMASTER control page, or by positioning the RUN/STOP switch (SW3 on the MPC5643L Controller Board) to the STOP position. 9 RESET the application at any time by pressing the blue circled button H/W. RESET on the FreeMASTER control page. 9

Quick Start Guide for TWRPI-MMA845xQ Qorivva MPC5643L Controller Board Jumper Options Jumper Selector Function Connections JP100, JP101 JP102 JP103 JP206 J202 J209 J205 J212 J201 J208 J203 J210 CAN Termination MC33905 Debug Mode MC33905 Save Mode Resolver Enable Resolver SIN Input Resolver COS Input Phase A Digital Signal Phase B Digital Signal Terminate CAN bus node Enter SBC driver MC33905 to debug mode Enter SBC driver MC33905 to safe mode closed closed closed Resolver reference input signal from SWG module Resolver reference input signal from etimer1-channel5 2 3 Positive input for SIN OPAM is DC offset voltage set up by trimmer R208, R258 Positive input for SIN OPAM is REFSIN input of resolver 2 3 Positive input for COS OPAM is DC offset voltage set up by trimmer R208, R258 Positive input for COS OPAM is REFCOS input of resolver 2 3 Resolver_X Phase A signals is connected to etimer0- channel[0] resp. etimer1-channel[1] closed Resolver_X Phase A signals is not connected to etimer0- channel[0] resp. etimer1-channel[1] open Resolver_X Phase B signals is connected to etimer0- channel[1] resp. etimer1-channel[1] closed Resolver_X Phase B signals is not connected to etimer0- channel[1] resp. etimer1-channel[1] open 10

Qorivva MPC5643L Controller Board Jumper Options (continued) Jumper Selector Function Connections J301 J302 J17 J18 J19 J500 J501 J502 J503 FAULT1 Selection FAULT5 Selection BOOT Selection Encoder 1 Phase A Encoder 1 Phase B Encoder 0 Index Encoder 1 Home UNI-3 M1 Phase A overcurrent signal is connected to FAULT1 input G[9] UNI-3 M1 DC bus overcurrent signal is connected to FAULT1 input G[9] UNI-3 M2 Phase A overcurrent signal is connected to FAULT5 input I[1] UNI-3 M2 DC bus overcurrent signal is connected to FAULT5 input I[1] FAB MPC5643L boot from internal flash ABS0 see MPC5643L documentation ABS1 see MPC5643L documentation Encoder1 JP500 pin three PHASE A is connected to etimer0-channel[0] 2 3 2 3 closed UNI-3 M1_BEMFZCA is connected to etimer0-channel[0] 2 3 Encoder1 JP500 pin four PHASE B is connected to etimer0-channel[1] UNI-3 M1_BEMFZCB input signal is connected to etimer0-channel[1] Encoder1 JP500 pin five INDEX is connected to etimer0-channel[4] UNI-3 M1_BEMFZCC input signal is connected to etimer0-channel[4] Encoder1 JP500 pin six HOME is connected to etimer0-channel[5] 2 3 2 3 closed 11

Quick Start Guide for TWRPI-MMA845xQ Qorivva MPC5643L Controller Board Jumper Options (continued) Jumper Selector Function Connections J504 J505 J506 J507 Encoder 2 Phase A Encoder 2 Phase B Encoder 2 Index Encoder 2 Home M1 DC BUS Voltage M1 DC BUS Current M2 DC BUS Voltage M2 DC BUS Current Encoder2 JP501 pin three PHASE A is connected to etimer1-channel[1] UNI-3 M2_BEMFZCA input signal is connected to etimer1-channel[1] Encoder2 JP501 pin four PHASE B is connected to etimer1-channel[2] UNI-3 M2_BEMFZCB input signal is connected to etimer1-channel[2] Encoder2 JP501 pin five INDEX is connected to etimer1-channel[3] UNI-3 M2_BEMFZCC input signal is connected to etimer1-channel[3] Encoder2 JP501 pin six HOME is connected to etimer1- channel[4] M1 DC BUS Voltage signal from UNI-3 is connected to GPIO B[8], ADC0 channel1 M1 DC BUS Current signal from UNI-3 is connected to GPIO B[14], ADC1 channel1 M2 DC BUS Voltage signal from UNI-3 is connected to GPIO C[0], ADC0 channel3 M2 DC BUS Current signal from UNI-3 is connected to GPIO C[2], ADC1 channel3 2 3 2 3 2 3 closed R336 R338 R337 R339 12

Qorivva MPC5643L Controller Board Jumper Options (continued) Jumper Selector Function Connections Analog Input 11 Analog Input 12 ADC0 Analog Input 2 Analog Input 13 Analog Input 14 ADC1 Analog Input 2 UNI-3 M1 Phase A current is connected to GPIO B[9], ADC 0/1 input 11 UNI-3 M1 Phase A Back-EMF Voltage is connected to GPIO B[9], ADC 0/1 input 11 UNI-3 M1 Phase B current is connected to GPIO B[10], ADC 0/1 input 12 UNI-3 M1 Phase B Back-EMF Voltage is connected to GPIO B[10]m ADC 0/1 input 12 UNI-3 M1 Phase C current is connected to GPIO C[1], ADC 0 input 2 UNI-3 M1 Phase C Back-EMF Voltage is connected to GPIO C[1]m ADC 0 input 2 UNI-3 M2 Phase A current is connected to GPIO B[11], ADC 0/1 input 13 UNI-3 M2 Phase A Back-EMF Voltage is connected to GPIO B[11], ADC 0/1 input 13 UNI-3 M2 Phase B current is connected to GPIO B[12], ADC 0/1 input 14 UNI-3 M2 Phase B Back-EMF Voltage is connected to GPIO B[12]m ADC 0/1 input 14 UNI-3 M2 Phase C current is connected to GPIO B[15], ADC 1 input 2 UNI-3 M2 Phase C Back-EMF Voltage is connected to GPIO B[15]m ADC 1 input 2 R343 R348 R352 R354 R358 R360 R344 R349 R353 R355 R359 R361 13

Quick Start Guide for TWRPI-MMA845xQ Qorivva MPC5643L Controller Board Jumper Options (continued) Jumper Selector Function Connections M1 TEMP M2 TEMP M1 Brake M2 Brake M1 PFC M2 PFC UNI-3 Temperature signal is connected to ADC0 input four UNI-3 Temperature signal is connected to ADC1 input four UNI-3 M1 Brake output signal is connected to GPIO G[6] (PWM0-A3) UNI-3 M2 Brake output signal is connected to GPIO H[14] (PWM1-A3) UNI-3 M1 PFC output signal is connected to GPIO G[7] (PWM0-B3) UNI-3 M2 PFC output signal is connected to GPIO H[15] (PWM1-B3) M1 PFC_EN UNI-3 M1 PFC Enable signal is connected to GPIO C[10 M2 PFC_EN UNI-3 M2 PFC Enable signal is connected to GPIO E[13] R370 R371 R362 R363 R364 R365 R366 R367 14

Qorivva MPC5643L Board Jumper Position J505 Enc2 Phase A J505 Enc2 Phase B J505 Enc2 Index J506 Enc2 Home J201, J209 Phase A J203, J210 Phase B J202 Resolver 2 SIN Input J206 Resolver Enable J503 Enc1 Home J205 Resolver 2 COS Input J500 Enc1 Phase A J501 Enc1 Phase B J502 Enc1 Index J202 Resolver 1 SIN Input ABS0 J205 Resolver 1 COS Input ABS1 FAB Fault1 Selection Fault5 Selection J102 MC33905 Debug Mode J100, J101 CAN Termination J103 MC33905 Save Mode 15

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/automcdevkits Freescale, the Freescale logo and Qorivva 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. 2012, 2013 Freescale Semiconductor, Inc. Doc Number: MTRCKTDBN5643LQSG REV 2 Agile Number: 926-78751 REV C