Professional Documents
Culture Documents
• Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
• Microchip is willing to work with the customer who is concerned about the integrity of their code.
• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
WARNING – The output terminals are NOT isolated from the incoming AC mains
supply and may be at up to 410V with respect to earth ground, regardless of the input
mains supply voltage applied. These terminals are live during operation AND for five
minutes after disconnection from the supply. Do not attempt to access the terminals or
remove the cover during this time.
WARNING – The unit may obtain power through the output terminals if these are
connected to a rotating motor acting as a generator. If this is the case, then the previous
warning also applies (i.e., the output terminals are live when connected to the genera-
tor and for five minutes after the generator has been stopped). Note that this case can
arise even when the unit has been disconnected from the incoming AC mains supply.
CAUTION – The system should not be installed, operated, serviced or modified except
by qualified personnel who understand the danger of electric shock hazards and have
read and understood the user instructions. Any service or modification performed by
the user is done at the user’s own risk and voids all warranties.
CAUTION – If a motor is connected to the output of this unit, the frame should be
connected to the output protective ground terminal provided. Particular care should be
taken to mechanically guard such a motor, bearing in mind that unexpected behavior
is likely to result from the process of code development.
CAUTION – For continued protection against the risk of fire, replace the fuse with one
of the same type only (i.e., Fast Act Fuse 5A/250V).
• The system is intended for evaluation and development purposes and should only
be operated in a normal laboratory environment as defined by IEC 61010-1:2001
• Clean with a dry cloth only
• Operate flat on a bench, do not move during operation and do not block the
ventilation holes
• The system should not be operated without all the supplied covers fully secured in
place
• The system should not be connected or operated if there is any apparent damage
to the unit
• The unit is designed to be connected to the AC mains supply via a standard non-
locking plug. As the unit has no mains switch, this plug constitutes the means of
disconnection from the supply and thus the user must have unobstructed access
to this plug during operation.
NOTES:
Table of Contents
Safety Notice ................................................................................................................. 3
Preface ........................................................................................................................... 3
Chapter 1. Introduction
1.1 Overview ........................................................................................................ 9
1.2 Features ....................................................................................................... 10
Chapter 2. Getting Started
2.1 Introduction ................................................................................................... 13
2.2 Board Layout ................................................................................................ 13
2.3 User Interface ............................................................................................... 14
Chapter 3. Hardware
3.1 Hardware Setup ........................................................................................... 19
Chapter 4. Running the Demonstration
4.1 Demonstration Requirements ....................................................................... 21
4.2 Software Setup and Run .............................................................................. 21
Appendix A. Board Schematics and Layout.............................................................. 25
A.1 Board Schematics and Layout ..................................................................... 25
Appendix B. Power Rating of Inverter or Integrated Power Module (IPM) ............. 33
B.1 Introduction .................................................................................................. 33
B.2 Power Loss .................................................................................................. 33
Worldwide Sales and Service .................................................................................... 35
DOCUMENT LAYOUT
This user’s guide describes how to use the Low Power High Voltage Board. The doc-
ument is organized as follows:
• Chapter 1. “Introduction” – This chapter introduces the Low Power High Volt-
age Board and provides a brief overview of its features.
• Chapter 2. “Getting Started” – This chapter provides information on getting
started with the Low Power High Voltage Board.
• Chapter 3. “Hardware” – This chapter describes the hardware on the Low Power
High Voltage Board.
• Chapter 4. “Running the Demonstration” – This chapter describes the
demonstration software that is intended for the Low Power High Voltage Board
and the procedure to run the board.
• Appendix A. “Board Schematics and Layout” – This appendix displays the
schematics and layout of the board.
• Appendix B. “Power Rating of Inverter or Integrated Power Module (IPM)” –
This appendix discusses the power rating/power loss related issues.
DOCUMENTATION CONVENTIONS
Description Represents Examples
Arial font:
Italic characters Referenced books MPLAB® IDE User’s Guide
Emphasized text ...is the only compiler...
Initial caps A window the Output window
A dialog the Settings dialog
A menu selection select Enable Programmer
Quotes A field name in a window or “Save project before build”
dialog
Underlined, italic text with A menu path File>Save
right angle bracket
Bold characters A dialog button Click OK
A tab Click the Power tab
N‘Rnnnn A number in verilog format, 4‘b0010, 2‘hF1
where N is the total number of
digits, R is the radix and n is a
digit.
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
Plain Courier New Sample source code #define START
Filenames autoexec.bat
File paths c:\mcc18\h
Keywords _asm, _endasm, static
Command-line options -Opa+, -Opa-
Bit values 0, 1
Constants 0xFF, ‘A’
Italic Courier New A variable argument file.o, where file can be
any valid filename
Square brackets [ ] Optional arguments mcc18 [options] file
[options]
Curly braces and pipe Choice of mutually exclusive errorlevel {0|1}
character: { | } arguments; an OR selection
Ellipses... Replaces repeated text var_name [,
var_name...]
Represents code supplied by void main (void)
user { ...
}
RECOMMENDED READING
This user’s guide describes how to use the Low Power High Voltage Board. The device-
specific data sheets contain current information on programming the specific microcontrol-
ler or digital signal controller devices. Other useful documents are listed below. The follow-
ing Microchip documents are available and recommended as supplemental reference
resources:
Readme Files
For the latest information on using other tools, read the tool-specific Readme files in
the Readme subdirectory of the MPLAB® IDE installation directory. The Readme files
contain updated information and known issues that may not be included in this user’s
guide.
To obtain any of these documents, visit the Microchip web site at www.microchip.com.
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
Customers should contact their distributor, representative or FAE for support. Local
sales offices are also available to help customers. A listing of sales offices and loca-
tions is included in the back of this document.
Technical support is available through the web site at: http://support.microchip.com
NOTES:
Figure 1-2 shows a block diagram showing the main components of the Low Power
High Voltage Motor Control Board.
RX/TX
Low Power High Voltage Motor Control Board
Communication
User Interface
External Programmer/
90 VAC-230V AC
Debugger
Motor
1.2 FEATURES
Some of the key features of the Low Power High Voltage Motor Control Board are:
• 3-phase motor control evaluation board for driving Low Power High Voltage
BLDC/ PMSM motors.
• Current amplification and over-current protection through Op-Amps/comparators
internal to the dsPIC33EP64MC206.
• The motor drive stage uses an Integrated Power Module (IPM) with a built-in
temperature sensing circuit.
• Phase voltage feedback for sensorless BLDC operation and windmilling.
• DC bus and Phase current sensing for single/dual shunt sensorless FOC control.
• Non-isolated connector for Hall sensors/Quadrature Encoder Interface (QEI) for
sensored motor control algorithms.
• Isolated logic level (5V) UART interface.
• Four LEDs for debug/indication.
• Four user configurable push buttons.
For applications such as air conditioners (outdoor fan motor) where the main control
unit needs the information of the fan speed, the board features 15V level non-isolated
FG signal which can be used to generate a pulsed signal proportional to the motor
speed. There is also an isolated user-interface consisting of four push buttons and a
5V logic level communication interface. The push buttons can be programmed in the
firmware for various functions, such as command input and debugging. The tempera-
ture sensor of the IPM is connected to one of the analog inputs of
dsPIC33EP64MC206.
60
50
100W
40
125W
30
150W
20
10
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Time in Minutes
NOTES:
12
4
3
5 11
1 10
7
13
6
9
1 2 3
Note: The user should only access the power terminals when the system is fully
discharged (See “Safety Notice” on page 3.).
1 2 3 4
CAUTION
All the terminals on this connector are non-isolated.
1 2 3 4 5 6
The first pin MCLR (marked as “M”) can be used to correct the orientation of the pro-
grammer when interfacing with the board. For detailed information on how to program
the microcontroller, refer to Section 3.1.2 “Programming”.
CAUTION
Since the program/debug connector is non-isolated care should be taken while pro-
gramming/debugging the target. Following are some of the suggested ways to pro-
gram/debug the target.
1. Use an isolation transformer to power the board and operate the computer on
battery.
2. Use a USB-isolator (KXUSB-150) to isolate the programmer/debugger.
3. If there is no need for debugging, the user may use ICD3 or PICKIT3 to program the
target as described in Section 3.1.2.1 “Programming using MPLAB® ICD3 or PICkit 3”.
1 2345
Note: Similarly, other serial communication adapters can be used with the Low
Power High Voltage Motor Control Board.
1 2 3 4
CAUTION
The user must be aware of the operating procedures outlined in this chapter and
ensure that they are executed accordingly. Failure to do so may result in damage to the
system.
3.1.2 Programming
Execute the following steps to set up the programming tool:
1. Ensure that there is no power on the Low Power High Voltage Motor Control
Board and then remove the enclosure to access the programming interface.
2. Mount the RJ11 to ICSP™ adapter matching the MCLR (marked as “M”) pin.
Refer to Figure 3-1 for correct orientation.
The dsPIC33EP64MC206 on the Low Power High Voltage Motor Control Board can be
programmed in two ways which are explained in the following sections.
CAUTION
Since the programming interface on Low Power High Voltage Motor Control Board is
non-isolated, care should be taken while programming.
Note 1: The firmware supplied is already configured for enabling the basic
demonstration.
2: If both MPLAB X IDE and MPLAB IDE are used, ensure that the program-
mer/debugger is set to run on the MPLAB X IDE. To set this, the user
must run the MPLAB driver switcher, for Microsoft Windows the user
must run the driver switcher as Administrator.
Execute the following procedure to run the motor using a push button (SW1) and vary
the speed of the motor using another set of push buttons (SW2 and SW3):
1. Start MPLAB X IDE and open the LPHV_MTR80.X workspace.
Note: It is recommended to use MPLAB X v3.40 or later with compiler XC16 v1.26
or later.
2. Set LPHV_MTR80.X as main project and Build the project by selecting the Clean
and Build Main Project button available either on the toolbar or in the Run
menu.
CAUTION
Failure to disconnect the programmer/debugger before proceeding to operate the
board cause potential damage to the programmer/debugger or the board or the user's
computer.
The motor starts running (500 RPM) and the corresponding LEDs will glow as
described in the Table 4-1.
Ensure that the speed of the motor stabilizes before the next press of SW2 or
SW3.
Note: If the temperature of the IPM increases due to continuous operation, the con-
troller shuts down the motor at 80°C (user configurable) and turns on the red
LED LD2 indicating a fault. The board can be restarted when the temperature
comes down to 30°C (user configurable) and the LED LD2 turns off indicating
that the board is ready for operation. Refer to Table 1-1 for the power rating
of the board.
NOTES:
2
L2 C5 D1 2.43M C12 D3.3V
TERMINAL 1x3
3
8 SB150-E3/73 1 3 2.2k
E_GND C6 8 1 Vin
C2 S EN
EN/UV
EN/UV Vout
L5 3.3μH 10μH
D
GND
GBJ1506-FDI-ND 7 2 9 R6 18R C17
4700pF
Tab
GN
4700pF S BP/M
/ 560pF C20
G
DC- C21 C22
680μF
6 C10 C19
S C18 10μF 10μF
5 4 100μF 1μF
L6
2
4
S D LD1
2200pF GREEN
TC1262-3.3VDB 10μH
D_GND C23 U3
0.10μF 4 1 R7 680R
3 2 R8 D_GND A_GND D_GND
1k D7
R43 LTV-817A
MCLR U1 13V
470R
D3.3V D3.3V D3.3V D3.3V A3.3V 7 13
MCLR MCLR AN0/OA2OUT/RA0 AN0/OA2OUT C71
D3.3V 14
AN1/C2IN1+/RA1 AN1/C2IN1+
R44 56 33
J3 VCAP CVREF2O/SDO1/RP20/T1CK/RA4 CVREF2O 15V C501uF
1
TDI/RA7 R33 470R
4.7k 10 34 3.3μF
1 2 3 4 5
TERMINAL 1x4
D_GND 44 IN (UH) U, Vs(u)
PGEC2/ASCL2/RP38/RB6 PGEC 5
46 IN (UL)
1 2 3 4
D_GND RP39/INT0/RB7 Switch3 6
TP1 53 48 PWM2H C46 NC
A_GND 54 RD5 TCK/CVREF1O/ASCL1/RP40/T4CK/RB8 49 HA/QEA R93 R35 470R 7
VB(V) Nu
19
IA+
TP2 RD6 TMS/ASDA1/RP41/RB9(4) HB/QEB 1uF 8
42 60 VCC(V) 20
Switch1 RD8 RP42/PWM3H/RB10 PWM3H 9 Nv IB+
61
RP43/PWM3L/RB11 PWM3L R92 4.7k 10
IN (VH)
21 IBUS-
27 62 IN (VL) V, Vs(v)
Temp AN12/C2IN2-(3)/U2RTS/BCLK2/RE12 RPI44/PWM2H/RB12 PWM2H D_GND 11 R40 R41
C31 28 63 C47 VTS R42
VBus AN13/C3IN2-(3)/U2CTS/RE13 RPI45/PWM2L/CTPLS/RB13 PWM2L 4.7k R36 470R 12 0.1R 0.1R E_GND
29 2 V B(W) 0.1R
A_GND AN7/C3IN1- NEUT 30 AN14/RPI94/RE14 RPI46/PWM1H/T3CK/RB14 3 PWM1H PWM2L 0.1uF 13
V CC(W) 22
470pF TP3 AN15/RPI95/RE15 RPI47/PWM1L/T5CK/RB15 PWM1L 14 Nw IBUS+
PWM3H IN (WH)
R10 R12 R14 R37 470R 15 W
58 21 IN (WL)
IBUS+ AN6/OA3OUT TP4 RPI96/RF0 AN6/OA3OUT/C4IN1+/OCFB/RC0 AN6/OA3OUT R91 16 23
59 22 NC W, Vs(w)
1k 1k 20K TP5 RP97/RF1 AN7/C3IN1-/C4IN1-/RC1 AN7/C3IN1- C48
C32 TP20 31 23
TP6 SDA2/RPI24/RA8 AN8/C3IN1+/U1RTS/BCLK1/FLT3/RC2 AN8/C3IN1+ 4.7k FSB50660SF
1000pF TP7 32 36 R90 1uF
FLT32/SCL2/RP36/RB4 SDA1/RPI52/RC4 LED1
35 37 C49 C52
R11 R13 R15 LED2 SCK1/RPI51/RC3 SCL1/RPI53/RC5 Fault D_GND 3.3μF
50 4.7k
IB+ VREF RP54/RC6 HC/INDX
4 51 PWM3L 0.1uF
1k 1k 20K TP8 RP118/RG6 RP55/RC7 PULSE C73
C33 5 52 R38 470R
TP9 RPI119/RG7 RP56/RC8 TX
AN8/C3IN1+ 6 55 1uF
A_GND TP10 RP120/RG8 RP57/RC9 RX
8 45 Temp
470pF TP11 RPI121/RG9 RPI58/RC10 Switch2
24
AN11/C1IN2-(3)/U1CTS/FLT4/RC11 VC
39
OSC1/CLKI/RC12
47 C70
RC13 Switch4
40 0.1uF
OSC2/CLKO/RC15
Y1
C34 dsPIC33EP64MC206
2017 Microchip Technology Inc.
15V
D3.3V ISO_5V
ISO_5V D3.3V
D3.3V ISO_5V
A3.3V
R62
10k R75 R77
R64 U6 R76 R78
J4 4.7k 4.7k
D8 FG 8 1 1k 1k
2 VDD2V
VDD2VDD1
V
R46 R47 R48 3 100R 7 2
1 2 3 4 5
3 R63 VIA VOA RX C63 U11 U8
DC+ VBUS 1 Q1 C62 6 3 4 1 4 1
1 PULSE VOB VIB TX 0.1uF Switch1 Switch2
150k 150k 300R MMBT2222A-7-F 0.1uF 5 4
1k GND2
G
GND2G
GND1
GN
G D1 3 2 3 2
BAR43S R65 2
FOD8012
C54 R49 100k LTV-817A LTV-817A
2.2k HDR-2.54 Male 1x5 D_GND D_GND
1 SW1 1 SW2
4700pF
4 4
D_GND 2 3 2 3
TACT SPST TACT SPST
D_GND
C64 C65
ISO_GND
A_GND
0.1uF 0.1uF
ISO_GND ISO_GND
A3.3V
ISO_5V
D3.3V D3.3V ISO_5V
D9
2
R50 R51 R52 R79
LED1
LED2
LED3
Fault
3 R80 R81
U
1
VA 4.7k R82
150k 150k 300R A3.3V 1k 4.7k
CVREF2O 1k
BAR43S A_GND U9
R53 4 1 U10
2
C55 4 U7 Switch3 4 1
2.2k R83 R84 R85 R86 R30 R31 Vin-
in- Switch4
4700pF MCP6001 3 2
2.2k 2.2k 2.2k 2.2k 0R (DNP) 10k VSS
S
1 3 2
VOUT
T VREF
VDD
V
VDD LTV-817A
3 D_GND LTV-817A
Vin+
in+ 1 SW3 D_GND
1 SW4
A3.3V 4
4
5
RED GREEN GREEN GREEN C40
A_GND
LD2 LD3 LD4 LD5 0.1uF R32 2 3
10k A3.3V TACT SPST 2 TACT SPST 3
C41
C66
0.1uF C67
A3.3V 0.1uF
0.1uF
A_GND
A_GND ISO_GND ISO_GND
D10 D_GND D_GND D_GND D_GND
2
R54 R55 R56
3
V VB
1
150k 150k 300R
BAR43S D3.3V
C56 R57
2.2k R87
4700pF
VA
R71 10k
R69 R70
FG R88
4.7k 4.7k 4.7k VB NEUT
D3.3V
R66 J5 10k
A_GND
HA/QEA 1
R89
47k R67 2 VC
3
HB/QEB 10k
A3.3V 4
47k
R68 5
HC/INDX 6
47k
D11 C61
Appendix A
2 0.1uF
R58 R59 R60
3
W VC
1
150k 150k 300R
R72 C58 R74 C60
BAR43S R73 C59
90.9k 90.9k
1000pF 90.9k 1000pF
C57 R61 1000pF D_GND
2.2k
4700pF
NOTES:
NOTES: