Software Variables - Motorola M68HC08 Reference Manual

Sensorless bldc motor control using the mc68hc908mr32
Hide thumbs Also See for M68HC08:
Table of Contents

Advertisement

Software Design
5.3.1 Software Variables and Defined Constants
Name
Sys1
Speed_Min_U8
Sp_Input
Coef_Speed_Inp
Speed_Desired
PIParamsScl_U8_Spe
ed
Per_Speed_MAX_Ran
ge
Per_ZCrosFlt
T2
T_ZCros
T_ZCros0
T_Cmt
Curr
Curr_Align
PIParamsScl_S8_Currr Structure
Volt
V_TASC2
V_MUX
Designer Reference Manual
76
Freescale Semiconductor, Inc.
Important system variables are listed in
Table 5-1. Software Variables
Type
Representing Range
Sys1_Def
8flags
< 0;
U8
Speed_Range_Max_RPM)
U8
< 0; 255>
U8
< 0;
U8
Speed_Range_Max_RPM)
Structure
U16
[UNIT_PERIOD_T2_US]
U16
[UNIT_PERIOD_T2_US]
U16(union
[UNIT_PERIOD_T2_US]
)
U16
[UNIT_PERIOD_T2_US]
U16(union
[UNIT_PERIOD_T2_US]
)
U16
[UNIT_PERIOD_T2_US]
<-Curr_Range_Max_cA;
S8
Curr_Range_Max_cA)
<-Curr_Range_Max_cA;
S8
Curr_Range_Max_cA)
<-VOLT_RANGE_MAX;
U8
VOLT_RANGE_MAX)
U8
U8
Software Design
For More Information On This Product,
Go to: www.freescale.com
Table
5-1.
Description
System variable #1
Minimal speed [system units]
Speed input variable used for required
speed calculation
Coeficient Sp_Inp to Speed_Desired
calculation
Desired speed
Speed PI regulator parameters
Minimal commutation period of the speed
range
(at Speed_Range_Max_RPM)
Zero crossing period — filtered
Timer 2 variable
Zero crossing time [n]
Zero crossing time [n-1]
Commutation time
dc-bus current
Required current during alignment state
Current PI regulator parameters
dc-bus voltage
Back-EMF zero crossing expecting edge
Preset value of back-EMF zero crossing
phase multiplexer
DRM028 — Rev 0
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908mr32

Table of Contents