Microchip Technology DM183021 User Manual
System Level Architecture of the Board
© 2006 Microchip Technology Inc.
DS51554B-page 13
2.3.4
Hall Sensor Interface
Hall sensors on the motor are open-collector outputs. Individual pull-up resistors are
provided on the board for each Hall sensor. The Hall sensor signals, HA, HB and HC,
are connected to the input capture pins, IC1, IC2 and IC3, respectively.
provided on the board for each Hall sensor. The Hall sensor signals, HA, HB and HC,
are connected to the input capture pins, IC1, IC2 and IC3, respectively.
2.3.5
Back EMF Signal Conditioning
When a sensorless algorithm is used to control the BLDC motor speed, Back EMF
(BEMF) signals are used. Based on zero crossing of BEMF signals, motor com-
mutation is decided in the firmware. The signal conditioning circuit has mainly two
blocks: the first is a low-pass filter for each phase voltage and the second is a
comparator circuit for determining the zero crosspoint. When using the PIC18F MCU,
the jumpers are set to use both of these blocks. The output is connected to the input
capture pins, IC1, IC2 and IC3. When a dsPIC30F DSC is used, the low-pass filters are
used in the circuit. Using the on-chip Analog-to-Digital Converters, the BEMF zero
crosspoint is determined. In order to configure this, the board has 8 jumpers. Refer to
Chapter 3. “Getting Started with PIC18FXX31 MCUs” and Chapter 6. “Getting
Started with dsPIC Digital Signal Controllers” for jumper settings for the PIC18F
and dsPIC30F, respectively. Also, refer to Appendix C. “Jumper Settings” for the
complete list of jumper settings. In addition, the silk screen on the non-component side
of the board has the jumper settings printed for quick reference.
(BEMF) signals are used. Based on zero crossing of BEMF signals, motor com-
mutation is decided in the firmware. The signal conditioning circuit has mainly two
blocks: the first is a low-pass filter for each phase voltage and the second is a
comparator circuit for determining the zero crosspoint. When using the PIC18F MCU,
the jumpers are set to use both of these blocks. The output is connected to the input
capture pins, IC1, IC2 and IC3. When a dsPIC30F DSC is used, the low-pass filters are
used in the circuit. Using the on-chip Analog-to-Digital Converters, the BEMF zero
crosspoint is determined. In order to configure this, the board has 8 jumpers. Refer to
Chapter 3. “Getting Started with PIC18FXX31 MCUs” and Chapter 6. “Getting
Started with dsPIC Digital Signal Controllers” for jumper settings for the PIC18F
and dsPIC30F, respectively. Also, refer to Appendix C. “Jumper Settings” for the
complete list of jumper settings. In addition, the silk screen on the non-component side
of the board has the jumper settings printed for quick reference.
2.3.6
Temperature Measurement Circuit
A temperature sensor is placed next to the PCB heat sink near Q5. The sensor,
Microchip’s TC74, has an I
Microchip’s TC74, has an I
2
C™ interface. It measures the temperature and converts it
to a digital value. This value can be read using the I
2
C protocol. The code on the CD
does not include the temperature reading routines. The routines for the Master mode
I
I
2
C, using the SSP module, can be found on Microchip’s web site.
2.4
POWER INVERTER SECTION
The inverter section consists of three half-bridge gate drivers and three phase inverter
bridges using MOSFETs. Figure 2-2 shows a half-bridge gate driver and half-bridge
inverter. This circuit is repeated for each motor phase winding. PWM pairs,
PWM0-PWM1, PWM2-PWM3 and PWM4-PWM5, control three half-bridge inverters.
The DC bus is either derived from the 24V power supply connected to the input
connector J20, or from the ‘+’ and ‘–’ terminals on connector J9.
bridges using MOSFETs. Figure 2-2 shows a half-bridge gate driver and half-bridge
inverter. This circuit is repeated for each motor phase winding. PWM pairs,
PWM0-PWM1, PWM2-PWM3 and PWM4-PWM5, control three half-bridge inverters.
The DC bus is either derived from the 24V power supply connected to the input
connector J20, or from the ‘+’ and ‘–’ terminals on connector J9.
FIGURE 2-2:
HALF-BRIDGE GATE DRIVER AND INVERTER
Note:
When using the temperature sensor, jumpers J16 and J17 should be open.
When the temperature sensor is used, LEDs D2 and D3 are not available.
When the temperature sensor is used, LEDs D2 and D3 are not available.
Q1
DC+
PWM0
PWM1
PWM0
PWM1
M1
PIC
®
/d
s
P
IC
®
D
evi
ce
DC-
Driver
IR2101
Q0