NXP Semiconductors MC56F8013 Targeting User Manual
NXP Semiconductors MC56F8013 Targeting User Manual

NXP Semiconductors MC56F8013 Targeting User Manual

3-phase bldc motor control with hall sensors, 16-bit hybrid controllers

Advertisement

Quick Links

3-Phase BLDC Motor Control
with Hall Sensors Using the
MC56F8013
Targeting User Guide
56F8000
16-bit Hybrid Controllers
56F8013BLDCUG
Rev. 1
11/2005
freescale.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MC56F8013 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for NXP Semiconductors MC56F8013

  • Page 1 3-Phase BLDC Motor Control with Hall Sensors Using the MC56F8013 Targeting User Guide 56F8000 16-bit Hybrid Controllers 56F8013BLDCUG Rev. 1 11/2005 freescale.com...
  • Page 3: Table Of Contents

    TABLE OF CONTENTS About This Book Audience ............. Preface-v Organization .
  • Page 4 3-Phase BLDC Motor Control, Rev. 1 Freescale Semiconductor Preliminary...
  • Page 5 LIST OF FIGURES System Concept ............2-3 Main Data Flow .
  • Page 6 3-Phase BLDC Motor Control, Rev. 1 Freescale Semiconductor Preliminary...
  • Page 7: About This Book

    Chapter 4, Running the Application application operates Suggested Reading We recommend that you have a copy of the following references: • 56F8013 Technical Data, MC56F8013 • 56F8013 Motor Control Demonstration System using the 56F8013 Demonstration Board User Guide, 56F8013MCSUG •...
  • Page 8: Conventions

    Conventions This document uses the following notational conventions: Typeface, Meaning Examples Symbol or Term Code examples Courier //Process command for line flash Monospaced Type Italic Directory names, ...and contains these core directories: project names, applications contains applications software... calls, functions, ...CodeWarrior project, 3des.mcp is...
  • Page 9: Definitions, Acronyms, And Abbreviations

    3. 56F8000 Motor Control Board User Guide, 56F8000MCBUG, Freescale Semiconductor, Inc. 4. DSP56800E Reference Manual, DSP56F800ERM, Freescale Semiconductor, Inc. 5. 56F8013 Technical Data, MC56F8013, Freescale Semiconductor, Inc. 3-Phase BLDC Motor Control with Hall Sensors using 56800/E Digital Signal Controllers, AN1916, Freescale Semiconductor, Inc.
  • Page 10 3-Phase BLDC Motor Control, Rev. 1 viii Freescale Semiconductor Preliminary...
  • Page 11: Introduction

    Chapter 1 Introduction 1.1 Application Benefits This document describes the design of a 3-phase BLDC (Brushless DC) motor control applciation with Hall Sensors, and explains how it is targeted for Freescale’s 56F8013 dedicated motor control device. The software design takes advantage of the Processor Expert (PE) tool, included with CodeWarrior.
  • Page 12 Introduction 3-Phase BLDC Motor Control, Rev. 1 Freescale Semiconductor Preliminary...
  • Page 13: System Description

    Chapter 2 System Description The system is designed to drive a 3-phase BLDC motor. The application meets the following performance specifications: • Speed/Voltage control of BLDC motor using Hall sensors • Torque/Current control • Start from any motor position without rotor alignment •...
  • Page 14: Application Description

    56F8000 Motor Control Daughter Card (Part #APMOTOR56F8000) • Demostration board for MC56F8013 (Part #DEMO56F8013 or DEMO56F8013-E) The 56F8013 runs the main control algorithm and generates 3-phase PWM output signals for a 3-phase inverter according to the user interface and feedback signals.
  • Page 15: System Concept

    Application Description DEMO56F8013 DEMO56F8013 9V DC 9V DC 56F8013 56F8013 PWM1-6 PWM1-6 PC Remote PC Remote Monitoring Monitoring Duty Cycle Duty Cycle APMOTOR56F8000 APMOTOR56F8000 Motor Control Motor Control Daughter Card Daughter Card Fault Fault Under-Voltage Under-Voltage Fault Detection Fault Detection DC Bus Voltage DC Bus Voltage DC Bus Current...
  • Page 16: Hardware Design

    System Description 2.2 Hardware Design This application utilizes the following HW modules: • 56F8000 Motor Control Daughter Card (Part #APMOTOR56F8000) • Demostration board for 56F8013 (Part #DEMO56F8013 or DEMO56F8013-E) Refer to corresponding User Manual for more information on these boards. 2.3 Software Design This section descibes the design of software blocks.
  • Page 17: Data Flow

    Software Design 2.3.1 Data Flow The control algorithm of a closed-loop BLDC drive is described in Figure 2-3. The individual processes are described in the following sections. Speed DCBus Setting Hall DCBus Current Sensors Voltage Button ADC Conversion Calculate Desired Calculate Actual ADC Conversion Capture Interrupt...
  • Page 18: Speed Capture

    System Description Speed control starts with the DesiredVoltageFraction variable, which is set by the user button. This variable is used as one of the inputs to a Speed PI controller. The second input to the Speed PI controller is the MeasuredVoltageFraction variable, which is derived from the Velocity Calculation algorithm. Velocity calculation is done by counting CPU clocks between the edges on one of the Hall Sensor phases (phase A).
  • Page 19 Software Design The output from the Speed PI controller is used as one of the inputs to a Torque PI controller. The second input to the Torque PI controller is the ADCAvg variable, which is derived from the DCBus current’s moving average algorithm.
  • Page 20 System Description 3-Phase BLDC Motor Control, Rev. 1 Freescale Semiconductor Preliminary...
  • Page 21: Setting Up The Application

    Chapter 3 Setting Up the Application 3.1 Required Parts and Instructions To run this application, the user will need the 56F8013 Demonstration Board (DEMO56F8013 or DEMO56F8013-E) and the 56F8000 Motor Control Daughter Card (APMOTOR56F8000). These parts can be ordered through the Freescale website. Please follow the instructions printed in the kit installation guide included in each kit to install and connect both boards, as well as to install CodeWarrior development tools.
  • Page 22 Setting Up the Application 3-Phase BLDC Motor Control, Rev. 1 Freescale Semiconductor Preliminary...
  • Page 23: Running The Application

    Chapter 4 Running the Application 4.1 BLDC with Hall Sensor Demonstration Once this demonstration application is downloaded into the 56F8013 Demonstration Board, (DEMO56F8013), the user can control the speed of the BLDC motor by pressing and releasing the IRQ #2 button (S2) located on the demonstration board. Button control works as follows: •...
  • Page 24 Running the Application 3-Phase BLDC Motor Control, Rev. 1 Freescale Semiconductor Preliminary...
  • Page 25 INDEX Numerics 3-Phase BLDC Motor Control with Hall Sensors using 56800/E Digital Signal Controllers Preface-vii 56800/E Accelerated Development System Resource Pak CD-ROM Preface-vii 56F8000 Motor Control Board User Guide Preface-vii 56F8000 Peripheral Reference Manual Preface-vii 56F8013 Demonstration Board User Manual Preface-vii 56F8013 Technical Data Preface-vii...
  • Page 26 Index, Rev. 1 Freescale Semiconductor Index-2 Preliminary...
  • Page 28 How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com USA/Europe or Locations Not Listed: Freescale Semiconductor Technical Information Center, CH370 1300 N. Alma School Road Chandler, Arizona 85224 +1-800-521-6274 or +1-480-768-2130 support@freescale.com Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany...

This manual is also suitable for:

56f8000

Table of Contents