Table 8: Six-Step Advanced Parameters For Motor Driving (Voltage Mode); Table 9: Six-Step General Parameters For Motor Driving - ST STM32 User Manual

Hide thumbs Also See for STM32:
Table of Contents

Advertisement

UM2124
Closed loop control
KP_GAIN_VM
KI_GAIN_VM
KP_DIV_VM
LOWER_OUT_LIMIT_VM
UPPER_OUT_LIMIT_VM
DUTY_CYCLE_INIT_VALUE
Notes:
(1)
This parameter is available in firmware v.1.1.0 or higher
(2)
The maximum duty cycle value is limited by the autoreload (ARR) register of high frequency timer.
Closed loop control
SYNCHRONOUS_RECTIFICATION
BEMF_THRSLD_DOWN
BEMF_THRSLD_UP
BEMF_CONSEC_DOWN_MAX
BEMF_CNT_EVENT_MAX
GPIO_ZERO_CROSS
DEMO_START_TIME

Table 8: Six-step advanced parameters for motor driving (voltage mode)

(1)
KI_DIV_VM
(2)

Table 9: Six-step general parameters for motor driving

FILTER_DEEP
HFBUFFERSIZE
ADC_SPEED_TH
GPIO_COMM
(2)
DocID029868 Rev 1
Getting started with the STM32 six-step firmware
Voltage mode
Proportional term of PI regulator
Integral term of PI regulator
Divider for proportional term of PI
regulator
Divider for integral term of PI
regulator
Minimum output value of PI
regulator
Maximum output value of PI
regulator
Duty cycle initial value
Voltage mode
Enable the complementary output of high
(1)
frequency leg
BEMF threshold for down direction
BEMF threshold for up direction
Number of elements for speed or bemf
filtering
Buffer size for potentiometer value filtering
at the High-frequency ADC conversion
Fixed threshold to change the target speed
Maximum value of BEMF Consecutive
Threshold Falling Crossings Counter in
closed loop (Motor stall detection)
Maximum number of BEMF Counter in
open loop (Motor stall detection)
Enable the GPIO toggling output for zero
crossing detection
Enable the GPIO toggling output for
commutation detection.
Time to keep the motor in run mode
library
Unit
16 bit signed
16 bit signed
16 bit signed, power of two
16 bit signed, power of two
16 bit signed
16 bit signed
16 bit unsigned (max PWM
ARR)
Unit
0 or 1
16 bit
unsigned,
ADC value
16 bit
unsigned,
ADC value
16 bit
unsigned
16 bit
unsigned
16 bit
unsigned
8 bit unsigned
16 bit
unsigned
0 or 1
0 or 1
msec, 16 bit
unsigned
27/39

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents