background image

Software Design

System Description, Rev. 1

Freescale Semiconductor

2-7

 

Preliminary

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. The Torque PI controller’s output determines the duty cycle of the generated 
PWM output signals.

The rotor commutation process performs mask and swap calculations’ control. The proper PWM output 
can be generated by changing the PWM value (duty cycle) registers only. This has two disadvantages: 
The first is that the speed controller, which changes the duty cycle, affects the commutation algorithm 
(performed by changing the duty cycle). The second disadvantage is that a change in the duty cycle is 
synchronized with PWM reload, which may cause a delay between a proper commutation moment and 
the PWM reload. This is especially pronounced at high speed when the commutation period is very short.

The 56F801x device has two features dedicated to BLDC motor control: the ability to swap odd and even 
PWM generator outputs and the ability to mask (disable) any PWM generator outputs. These two features 
allow creation of a rotational field without changing the contents of the PWM value registers. The 
commutation algorithms calculate PWM mask and swap values based on the 

SensorState

 variable and the  

ClockWiseCommTable

 look-up table. The mask and swap values are written into the PWM Channel 

Control Register.

The DCBus voltage measurement acts as a fault detection, which disables PWM if voltage drops below 
7V.

Содержание 56F8000

Страница 1: ...56F8000 16 bit Hybrid Controllers freescale com 3 Phase BLDC Motor Control with Hall Sensors Using the MC56F8013 Targeting User Guide 56F8013BLDCUG Rev 1 11 2005...

Страница 2: ......

Страница 3: ...s Acronyms and Abbreviations Preface vii References Preface vii Chapter 1 Introduction 1 1 Application Benefits 1 1 Chapter 2 System Description 2 1 Application Description 2 2 2 2 Hardware Design 2 4...

Страница 4: ...3 Phase BLDC Motor Control Rev 1 ii Freescale Semiconductor Preliminary...

Страница 5: ...URES List of Figures Rev 1 Freescale Semiconductor iii Preliminary 2 2 System Concept 2 3 2 3 Main Data Flow 2 5 2 4 Speed Capture 2 6 3 1 56F8000 Motor Control Daughter Card and 56F8013 Demonstration...

Страница 6: ...3 Phase BLDC Motor Control Rev 1 iv Freescale Semiconductor Preliminary...

Страница 7: ...or control with Hall sensors for the 56F8013 processor Chapter 3 Setting Up the Application explains how to set up the application Chapter 4 Running the Application describes how the BLDC with Hall Se...

Страница 8: ...s applications software CodeWarrior project 3des mcp is the pConfig argument defined in the C header file aec h Bold Reference sources paths emphasis refer to the Targeting DSP56F80x Platform manual s...

Страница 9: ...Integral PWM Pulse Width Modulation References The following sources were used to produce this book 1 56F8000 Peripheral Reference Manual MC56F8000RM Freescale Semiconductor Inc 2 56F8013 Demonstrati...

Страница 10: ...3 Phase BLDC Motor Control Rev 1 viii Freescale Semiconductor Preliminary...

Страница 11: ...and explains how it is targeted for Freescale s 56F8013 dedicated motor control device The software design takes advantage of the Processor ExpertTM PE tool included with CodeWarrior The theoretical...

Страница 12: ...Introduction 3 Phase BLDC Motor Control Rev 1 1 2 Freescale Semiconductor Preliminary...

Страница 13: ...drive introduced in this manual is designed to power a low voltage BLDC motor equipped with Hall sensors which is supplied with the Motor Control Daughter Card The motor has the following specificatio...

Страница 14: ...8013 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...

Страница 15: ...cept The control process is as follows The state of the user interface is periodically scanned while the speed of the motor is measured with each new edge from the Hall sensors only one phase is used...

Страница 16: ...is 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 Ma...

Страница 17: ...g via Button Calculate Desired Speed DesiredVoltageFraction PI Speed Controller PI Speed Controller DCBus Current ADC Conversion Interrupt Calculate Moving Average ADCAvg PI Torque Controller Mask and...

Страница 18: ...5 6 1 Electrical Rev 1 Electrical Rev 1 Electrical Rev 1 Electrical Rev 1 Mechanical Revolution Hall Sensor Phase A Hall Sensor Phase B Hall Sensor Phase C Speed Capture Commutation 1 2 3 4 5 6 7 8 F...

Страница 19: ...performed by changing the duty cycle The second disadvantage is that a change in the duty cycle is synchronized with PWM reload which may cause a delay between a proper commutation moment and the PWM...

Страница 20: ...System Description 3 Phase BLDC Motor Control Rev 1 2 8 Freescale Semiconductor Preliminary...

Страница 21: ...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...

Страница 22: ...Setting Up the Application 3 Phase BLDC Motor Control Rev 1 3 2 Freescale Semiconductor Preliminary...

Страница 23: ...e 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 Initially pressing and releasing the IRQ...

Страница 24: ...Running the Application 3 Phase BLDC Motor Control Rev 1 4 2 Freescale Semiconductor Preliminary...

Страница 25: ...k 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 Prefa...

Страница 26: ...Index Rev 1 Freescale Semiconductor Index 2 Preliminary...

Страница 27: ......

Страница 28: ...uits based on the information in this document Freescale Semiconductor reserves the right to make changes without further notice to any products herein Freescale Semiconductor makes no warranty repres...

Отзывы: