Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

System Description

2.3.1

Software Specification

 

 

 

 

 

The application software is practically the same for all three hardware

 

 

platforms. The only modification needed is to include one of three

 

 

constants that customize the hardware and motor parameter settings.

 

 

The software (written in C language) specifications are listed in

 

 

Table 2-1. A useful feature of the software is serial communication with

 

 

PC master software protocol via RS232. The PC master software is PC

 

 

computer software which allows reading and setting of all the system

 

 

variables, and can also run html script pages to control the application

 

 

from the PC. Another feature of the BLDC control software, is on-line

 

 

parameter modification with PC master software, which can be used for

 

 

software parameter tuning to a customer motor.

 

 

 

 

 

.

 

 

 

 

Table 2-1. Software Specifications

 

 

 

 

 

 

 

 

 

 

3-phase trapezoidal BLDC motor control star or delta!

 

 

 

 

connected

 

 

 

 

 

 

 

 

Control Algorithm

Sensorless, with back-EMF zero crossing commutation

 

 

control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Speed closed loop control

 

 

 

 

 

 

 

 

 

 

 

Motoring mode

 

 

 

 

 

 

 

 

 

Target Processor

 

MC68HC908MR32

 

 

 

 

 

 

 

 

Language

 

C-language with some arithmetical functions in assembler

 

 

 

 

 

 

 

Compiler

 

Metrowerks ANSI-C/cC++ Compiler for HC08

 

 

 

 

 

 

 

 

 

Manual interface (start/stop switch, speed potentiometer

 

 

Application

 

control, LED indication)

 

 

 

Control

 

PC master software (remote) interface (via RS232 using PC

 

 

 

 

computer)

 

 

 

 

 

 

 

 

 

MCU Oscillator

 

4 MHz (with default software setting)

 

 

 

Frequency

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MCU Bus

 

8 MHz (with default software setting)

 

 

 

Frequency

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Minimal BLDC

 

 

 

 

 

Motor

 

 

 

 

 

Commutation

 

333 s (with default software setting and COEF_HLFCMT =

 

 

Period

 

 

 

(Without PC

 

0.450)

 

 

 

Master

 

 

 

 

 

Software

 

 

 

 

 

Communication)

 

 

 

 

 

 

 

 

Designer Reference Manual

 

 

DRM028 — Rev 0

 

 

 

 

 

 

 

 

 

 

18

 

System Description

MOTOROLA

For More Information On This Product,

Go to: www.freescale.com

Page 18
Image 18
Motorola M68HC08 manual Software written in C language specifications are listed, Software Specifications