Datasheet

© 2008 Microchip Technology Inc. DS01208A-page 15
AN1208
SETTING UP THE EXPLORER 16 BOARD
The following steps outline the procedure to set up the
the board:
1. Place jumper J7 in the PIC24 position.
2. Switch S2 to the PIM position.
3. Remove the LCD connections. Some LCDs
have internal pull-up resistors; therefore, it is
recommended to remove the LCD.
CONFIGURING AND SETTING THE MOTOR
CONTROL INTERFACE PICtail PLUS
DAUGHTER BOARD
Use these steps to configure and set up the board:
1. On jumper J4, connect Pin 1 to Pin 2.
2. On jumper J10, connect Pin 2 to Pin 3.
3. On jumper J11, connect Pin 2 to Pin 3.
4. Place Jumper J27.
CONFIGURING THE dsPIC33FJ12MC202
PLUG-IN MODULE
The following steps outline the procedure to set up the
the board:
1. Connect RP1 to pin 34.
2. Connect RP2 to pin 33.
3. Connect RP3 to pin 20.
4. Connect RP5 to pin 18.
5. Connect RP6 to pin 83.
6. Connect RP7 to pin 92.
7. Connect RP8 to pin 84.
8. Place the following zero ohm resistors:
R12, R13, R14, R15, R16, R17, R18, R19, R20,
R24, and R25.
9. Remove the following zero ohm resistors:
R5, R6, R7, R8, R9, R10, R11, R21, R22, R23,
R26, R27, R28, R29, R30, R31, R32, and R33.
Interconnecting the Hardware
To set up the system, complete the following steps:
1. Configure the hardware properly. Refer to
“Hardware Setup” for more information on
hardware modifications.
2. Place the dsPIC33FJ12MC202 PIM on the
Explorer 16 Development Board.
3. Connect the Explorer 16 Development Board to
the Motor Control Interface PICtail Plus
Daughter Board by using the 120-pin connector.
4. Connect the Motor Control Interface PICtail Plus
Daughter Board to the dsPICDEM High Voltage
Power Module by using the 37-pin connector.
5. Connect the 9V DC power supply to the Explorer
16 Development Board.
6. Connect the variable AC supply to the
dsPICDEM MC1 3-Phase High Voltage Power
Module.
7. Power on the 9V supply.
8. Power on the input AC supply.
System Execution Procedure
Complete the following steps to execute the algorithm
on a dsPIC33F DSC device:
1. Launch the MPLAB software and open the
program.
2. Build All and Flash the device. Make sure the
Debug option is selected in MPLAB IDE.
3. Run the algorithm.
4. Apply an AC input voltage to the dsPICDEM
MC1 3-Phase High Voltage Power Module.
5. Make sure R6, the Speed Reference POT on the
Explorer 16 Development Board, is in its
minimum position (CCW).
6. Start the motor by pressing the S3 switch.
The motor starts in Open Loop mode and ramps
up the speed until it is equal to 900 rpm, and
then makes a transition from Open Loop mode
to Closed Loop mode.
7. When the motor enters the Closed Loop mode
and stabilizes, start the PFC calculations by
pressing the S5 switch.
8. The DC bus voltage boosts from its initial value
based on the amplitude of the applied AC input
voltage.
9. Change values of the R6 POT to operate the
motor at a different speed.
10. Stop the motor by pressing the S3 switch.