Rev. 1.00
19�
��ne ��� �01�
Rev. 1.00
193
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
8. The Hall sensor decoder contains a total of 12 phase change logic registers for motor forward and
backward directions. To implement the required phase change logic, these registers should be
established in advance and can be controlled by the hardware decoder or by the HDCD register
using the application program. And then use the HDCR register to implement motor operating,
motor brake and motor direction control.
9. Motor operating current sampling is achieved using the current sampling resistor, R_Shunt. When
the current flows through the register, a tiny voltage signal will be produced. This signal will first
be amplified by the OPA in the OCP circuit, and then read by the ADC or checked by the DAC
and CMP to detect the over current situation, which once occurred will trigger the corresponding
over current protection measures.
10. Lastly, by coordinating all the relevant peripheral circuits the BLDC motor control circuit will
configure the motor driving PWM signals and phase change logic according to the Hall sensor
signals and protection signals to implement motor operating control.
Hardware Circuit
+DC Bus
+5V
GND
Vin
1
GND
2
Vo
ut
3
78L05
1
2
DC Power
U
S1N
1
G1N
2
S2N
3
G2N
4
D1N
5
D1N
6
D2N
7
D2N
8
P-N MOSFET
AT
GND
+DC Bus
+DC Bus
GND
AB
+DC Bus
S1N
1
G1N
2
S2N
3
G2N
4
D1N
5
D1N
6
D2N
7
D2N
8
P-N MOSFET
GND
+DC Bus
+DC Bus
GND
+DC Bus
BB
BT
V
R_Shunt
GND
S1N
1
G1N
2
S2N
3
G2N
4
D1N
5
D1N
6
D2N
7
D2N
8
P-N MOSFET
GND
+DC Bus
GND
+DC Bus
W
CB
CT
+DC Bus
GND
+5V
Det_VDC
+DC Bus
GND
CB
CT
BB
BT
AB
AT
+5V
1
2
3
4
OCDS
GND
FG
FG_OUT
GND
AP
AP
+5V
GND
VI
1
G
N
D
2
OUT
3
U6
Hall-A
GND
VI
1
G
N
D
2
OUT
3
U7
Hall-B
GND
VI
1
G
N
D
2
OUT
3
U8
Hall-C
H
C
H
B
H
A
HC
HB
HA
Hall sensor Circuit
Pre-Driver
Current Sensing
PA6/OPA1O/C1N/AN7
1
PA7/OPA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