background image

9V DC

APMOTOR56F8000

Motor Control 

Daughter Card

BLDC

motor

Hall Sensors

PWM1-6

P
W
M

Speed

Control

56F8013 

G

P

I

O

S
C

I

PC Remote

Monitoring

DEMO56F8013

Commutation

Handler

Req

PI (Speed)
Controller

T

I

M

E
R

Speed

Calculation

Act

Duty Cycle

A
D
C

PI (Torque)

Controller

Under-Voltage

Fault Detection

Fault

LED

DC Bus Voltage

DC Bus Current

9V DC

APMOTOR56F8000

Motor Control 

Daughter Card

BLDC

motor

Hall Sensors

PWM1-6

P
W
M

Speed

Control

56F8013 

G

P

I

O

S
C

I

PC Remote

Monitoring

DEMO56F8013

Commutation

Handler

Req

PI (Speed)
Controller

T

I

M

E
R

Speed

Calculation

Act

Duty Cycle

A
D
C

PI (Torque)

Controller

Under-Voltage

Fault Detection

Fault

LED

DC Bus Voltage

DC Bus Current

Application Description

System Description, Rev. 1

Freescale Semiconductor

2-3

 

Preliminary

Figure 2-2.   System Concept

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 for speed measurement. The speed command is 
calculated according to the state of the control signals. The comparison between the actual speed 
command and the measured speed generates a speed error, which is input to the PI Speed controller that 
acts as an input to the PI Torque controller. Together with measured current, it forces the PI Torque 
controller to generate a new corrected duty cycle. The duty cycle value, together with the commutation 
algorithm, creates the PWM output signals for the BLDC power stage.

The Hall sensor signals are scanned independently of speed and torque controls. Each new coming edge 
of any Hall sensor signal calls the interrupt routine, which executes the commutation algorithm.

If  undervoltage occurs, the PWM outputs are disabled and the fault state is displayed.

Содержание 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...

Отзывы: