3-Hall Sensor based BLDC Motor Control Example for XMC13xx. 1 Introduction. 2 Features Offered. 1.1 Hall Sensor Based BLDC Motor Control

Similar documents
XMC1000 / XMC4000 Motor Control Application Kit

Motor Control Application Tuning (MCAT) Tool for 3-Phase PMSM

VADC Versatile Analog to Digital Converter. XMC Microcontrollers August 2014

XMC in Motor Control Applications. XMC Microcontrollers January 2015

Principles of Adjustable Frequency Drives

Speed Control Methods of Various Types of Speed Control Motors. Kazuya SHIRAHATA

How to Turn an AC Induction Motor Into a DC Motor (A Matter of Perspective) Steve Bowling Application Segments Engineer Microchip Technology, Inc.

Application Information Fully Integrated Hall Effect Motor Driver for Brushless DC Vibration Motor Applications

AN2680 Application note

3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers

XMC 750 Watt Motor Control Application Kit. Getting Started PMSM Motor Sensorless dual shunt Field Oriented Control (FOC) (PMSMFOCSL02)

DC Motor control Reversing

DRV8312-C2-KIT How to Run Guide

Motors and Generators

Design of a PM Brushless Motor Drive for Hybrid Electrical Vehicle Application

WHITE PAPER. DC Motors Explained. DC Motors Explained: White Paper, Title Page

APPLICATION NOTE. Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor. Atmel AVR 8-bit Microcontrollers. Features.

Application Note AN-1187

Setup for PWM Tests of BLDC Motor

Microcontroller for Variable Speed BLDC Fan Control System. T.C. Lun System Engineer, Freescale Semiconductor, Inc.

AN1946 APPLICATION NOTE

Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors

FREQUENCY CONTROLLED AC MOTOR DRIVE

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015

AC Induction Motor Slip What It Is And How To Minimize It

AMZ-FX Guitar effects. (2007) Mosfet Body Diodes. Accessed 22/12/09.

Phase-Control Alternatives for Single-Phase AC Motors Offer Smart, Low-Cost, Solutions Abstract INTRODUCTION

UM0708 User manual. STM8Sxxx three-phase BLDC motor control software library V1.0. Introduction

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

8 Speed control of Induction Machines

WIND TURBINE TECHNOLOGY

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE ELECTRICAL MACHINES II UNIT-I SYNCHRONOUS GENERATOR

THIS paper reports some results of a research, which aims to investigate the

Micro-Step Driving for Stepper Motors: A Case Study

AC Kinetics Variable Frequency Drive Comparative Transient Inertial Testing. This document was prepared by Advanced Energy.

Tamura Closed Loop Hall Effect Current Sensors

Chen. Vibration Motor. Application note

Diode Applications. by Kenneth A. Kuhn Sept. 1, This note illustrates some common applications of diodes.

Transmitter Interface Program

BLDC Motor Control with Hall Effect Sensors Using the 9S08MP

FASTERCNC CO,. LTD. FASTERCNC CO,. LTD.

EET272 Worksheet Week 9

Unit 33 Three-Phase Motors

Application Note, V 1.0, Oct AP16090 XC164CM. Driving of a Brushless DC Motor without Sensors. Microcontrollers. Never stop thinking.

Motor Fundamentals. DC Motor

EXPERTS IN WATER COOLING SINCE aquastream ULTIMATE SUPER SILENT PUMP TECHNOLOGY. The ultimate pump system.

Pulse Width Modulated (PWM)

MATHEMATICAL MODELING OF BLDC MOTOR WITH CLOSED LOOP SPEED CONTROL USING PID CONTROLLER UNDER VARIOUS LOADING CONDITIONS

SECTION 4 ELECTRIC MOTORS UNIT 17: TYPES OF ELECTRIC MOTORS

IGBT Protection in AC or BLDC Motor Drives by Toshio Takahashi

Technology In-Depth. Processor Core. By Mike Copeland, Senior Staff Applications Engineer, Infineon Technologies

Simulation and Analysis of PWM Inverter Fed Induction Motor Drive

AC/DC Power Supply Reference Design. Advanced SMPS Applications using the dspic DSC SMPS Family

How To Make A High Efficiency Thermostat

Understanding Variable Speed Drives

FRENIC5000MS5 for Machine Tool Spindle Drives

Pulse Width Modulated (PWM) Drives. AC Drives Using PWM Techniques

VLT AutomationDrive for Marine winch applications

Analysis of Space Vector Pulse Width Modulation VSI Induction Motor on various conditions

Quick Start Tutorial. Presentation Tutorial for a Quick Start Handson Session: Creating a simple Project using PWM and Count Apps.

with Electronic Assistant

Motor Control using NXP s LPC2900

Power Analysis of PWM Motor Drives

Frequency Converter Fv

Embedded Component Based Programming with DAVE 3

Stepper motor I/O. Application Note DK Motion Control. A General information on stepper motors

Equipment: Power Supply, DAI, Synchronous motor (8241), Electrodynamometer (8960), Tachometer, Timing belt.

Influence of PWM Schemes and Commutation Methods. for DC and Brushless Motors and Drives

Simulation of VSI-Fed Variable Speed Drive Using PI-Fuzzy based SVM-DTC Technique

Rotating Machinery Diagnostics & Instrumentation Solutions for Maintenance That Matters

The VOLTECH HANDBOOK of PWM MOTOR DRIVES. Andrew Tedd

Design and Simulation of Z-Source Inverter for Brushless DC Motor Drive

Variable Frequency Drives - a Comparison of VSI versus LCI Systems

Application Information

Parameter Settings for PowerFlex Drives Using Sine Wave Filters, dv/dt Filters, and Adjustable Voltage

Sensorless Field Oriented Control (FOC) for Permanent Magnet Synchronous Motors (PMSM)

Talon and Talon SR User Manual

TwinCAT NC Configuration

IQAN MDM Operation Manual

Designing Event-Controlled Continuous Processing Systems Class 325

Specifying a Variable Frequency Drive s

Relationship between large subject matter areas

Addendum to the Operating Instructions

DAC Digital To Analog Converter

Modelling, Simulation and Performance Analysis of A Variable Frequency Drive in Speed Control Of Induction Motor

ENGINEERING BULLETIN No. EB 039 Product: Cooling Towers, Closed Circuit Coolers & Evaporative Condensers Date: June 2003

Using DAVE with MDK Version 5

BLWR23MDA Series. 24V, 15A Brushless Controller / Motor. User s Guide. 910 East Orangefair Lane, Anaheim, CA info@anaheimautomation.

A1000 Cheat Sheet (Open Loop Vector)

Analog Servo Drive 25A8

Modern Robotics, Inc Core Device Discovery Utility. Modern Robotics Inc, 2015

Simulation and Analysis of Parameter Identification Techniques for Induction Motor Drive

TURBOtech srl. SED-635 Digital Excitation System. Industrial Electronics Sector FEATURES

EFC Frequency converters

Eliminate Ripple Current Error from Motor Current Measurement

Simple Analysis for Brushless DC Motors Case Study: Razor Scooter Wheel Motor

Digital Signal Controller Based Automatic Transfer Switch

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Transcription:

1 Introduction This document provides information about BLDC scalar control example software on Infineon's XMC130x microcontrollers platform. BLDC scalar control example software is offered as "simple main project in DAVE IDE". BLDC scalar control example project consists of Hall based 3-Phase BLDC Motor control algorithm software, primarily targeted end applications are fans, pumps, power tools and e-bike segment. This example project will provide high level of configurability and modularity to address different segments. This project can be easily configured as per requirements with the help of configuration files. 1.1 Hall Sensor Based BLDC Motor Control 3-phase BLDC motors are synchronous motors and exhibits trapezoidal shape phase back-emf. Due to nature of back-emf wave shape, these motors require rectangular current pulses during 120 degree flat portion of back-emf for both positive and negative half, to prevent torque ripple. In addition, to produce maximum torque for applied stator phase current, the stator magnetic fields must rotate in synchronism with rotor, and its orientation should be in space quadrature to rotor magnetic field. To achieve these objectives, trapezoidal control algorithm requires rotor position feedback for every 60 electric degrees. In hall-sensor based schemes, rotor position feedback for every 60 degree provided by 3-hall sensors. 2 Features Offered This example software offers following features: 1. Control Schemes - Open loop voltage control, speed control, current control and speed inner current control 2. PWM modulation schemes - High side modulation, low side modulation, high side with synchronous rectification 3. Seamless bi-directional control - Reverse the motor direction without stopping the motor. 4. Catch free running motor - Catch spinning motor at start up from existing speed without stopping the motor. 5. Hall pattern learning - Detect the hall pattern and phase excitation pattern relation during start-up. 6. Protection - Over-current, Short circuit, Under/Over voltage and ctrap with MCU HW features, Stall protection. 7. Low speed measurement - Able to detect very low motor speed using floating pre-scaler feature of CCU4 peripheral. 8. Enhanced current measurement - Configurable low pass filter, ADC on chip gain, Demagnetization spike blanking for current measurement. 9. DC bus voltage clamping during fast braking. Set Value Digital Set Value Analog Ramp Generator Control Scheme Voltage Compensator Modulator... PWM-Unit CCU8 3-Phase 2-Level Voltage Source Inverter (VSI) u Motor v w Trigger ADC VDC Current/ Voltage Calcuation ADC Vv Vu Vw Gain Rshunt Legend: SW XMC HW HW Speed & Position Calculation CCU4 POSIF Hall Sensors Infineon Technologies 1/5 2016-05-25

3 Usage By default, BLDC_SCALAR_HALL_XMC13 example software parameters are configured to drive 3-phase Maxon's BLDC motor using XMC1000 motor control application kit, Part no:kit_xmc1x_ak_motor_001. Default configuration in Example Software: 1. Control scheme: MOTOR0_BLDC_SCALAR_SPEED_CTRL. 2. PWM modulation: MOTOR0_BLDC_SCALAR_PWM_HIGHSIDE. 3. PWM frequency: 20000Hz. 4. Speed set: 2000 RPM. 5. Ramp up and ramp down rate: 500 RPM/s. 6. Over-current protection with direct DC link current measurement. Prerequisite: The Example software is supported on DAVE v4.2.6 or later. 3.1 Step to download BLDC_SCALAR_HALL_XMC13 example project from DAVE 1. Open DAVE. Go to Help->Install DAVE APP/Example/Device Library. Infineon Technologies 2/5 2016-05-25

2. Select DAVE Project Library Manager. This will show the list of available example projects as shown in below figure. BLDC_SCALAR_HALL_XMC13 example project is available at Boards and Kits -> XMC1000 Motor Control Application Kit or XMC1000->XMC1300 Series->DAVE v4 Example Projects with XMC Lib->Motor Control 3. Select YES to import the example project in workspace. 4. Example project gets downloaded at local repository C:\Users\<username>\Infineon\D_LibraryStore_4.1\resources\DAVE\Lib\DaveExampleProject 5. Build and download the software into XMC of above mentioned motor control kit. Please make sure that the BMI mode of the XMC1302 in the motor control kit is set to SPD 0 by using the BMI Set Get functionality position. integrated in DAVE and SWCLK dip switch should be in OFF 6. Execute the project. Observations: Motor should ramp to 2000RPM with ramp rate of 500RPM/s. Infineon Technologies 3/5 2016-05-25

3.2 Steps to import BLDC_SCALAR_HALL_XMC13 example project from web link 1. Download the example software from here. Use the key word BLDC to filter of this example, accept the license terms and download the example zip file by double click on it. 2. Open DAVE 3. Click on file->import->infineon->dave Project->Next as below, Infineon Technologies 4/5 2016-05-25

4. Select Archive File and Browse to the BLDC_SCALAR_HALL_XMC13 Example Project and Click on Finish. Now project is imported in to workspace. 5. Build and download the software into XMC of above mentioned motor control kit. Please follow same instructions as described in 3.1.5 6. Execute the project. Observations: Motor should ramp to 2000RPM with ramp rate of 500RPM/s. For more details, refer BLDC_SCALAR_HALL_UserGuide.chm file that is part of BLDC_SCALAR_HALL_XMC13 example software. Infineon Technologies 5/5 2016-05-25