Motorola M68HC08 Reference Manual page 82

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

Advertisement

Software Design
5.3.9 Process Alignment Control
5.3.10 Processes Commutation and Zero Crossing Preset and Set
Designer Reference Manual
82
Freescale Semiconductor, Inc.
This information is compared with the reference set point and the error
signal is generated. The magnitude and polarity of the error signal
corresponds to the difference between the actual and desired speeds.
Based on the speed error, the PI controller generates the corrected
motor voltage in order to compensate for the error. The speed regulator
parameters (gain...), internal, and input/output variables are located in
the structure PIParamsScl_U8_Speed.
The speed controller works with a constant execution (sampling) period.
The period is timed by timer 3, with the constant PER_T3_RUN_US.
PWM duty cycle is set for all six PWM channels according to regulator
output, OutReg_U8. The maximum duty cycle is at OutReg_U8 = 255.
The implementation is described in
BLDC Speed Control and
The process alignment control controls the current, Curr, using the PI
regulator during alignment state (see
current is regulated to required value Curr_Align. The current regulator
parameters (gain...), internal, and input/output variables are located in
the structure PIParamsScl_S8_Curr.
The current controller works with a constant execution (sampling)
period. The period is timed by timer1, with the constant
PER_CS_T1_US.
The processes commutation and zero crossing preset and set provides
the BLDC commutation and zero crossing selection. Here the BLDC
commutation means generation of the six step commutation which
creates the voltage system shown in
motor voltage system and commutation is provided using the
MC68HC08MR32 PWM block.
The zero crossing selection means the selection of the required zero
crossing phase as described in
Software Design
For More Information On This Product,
Go to: www.freescale.com
Implementation Notes
Calculation.
5.5 State
Diagram). The dc-bus
Figure
3-2. The required BLDC
3.2.4.2 Indirect Back EMF Sensing
5.6.3
and
DRM028 — Rev 0
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908mr32

Table of Contents