Hardware Setup
The following sections outline the hardware setup of MCLV-2, dsPIC33CK LVMC, MCLV-48V-300W, MCHV-2, and MCHV-3.
MCLV-2
This section provides detailed steps that will help you setup your hardware to work with the motorBench® Development Suite:
The MCLV-2 board comes pre-installed out of the box with dsPIC33EP256MC506 Internal Op-Amp Motor Control Plug-In Module (PIM) (MA330031). This PIM may be replaced with any of the supported PIMs listed in the motorBench 2.45.0 Release Notes.
If using the dsPIC33EP256MC506 External Op-Amp PIM, make sure that the PIM is populated with a silicon mask rev-A8 or later. To verify this, read out the device revision from MPLAB® X IDE and verify that the Device ID revision is equal to or greater than 0x4008.
Ensure the op-amp configuration matrix board installed in J14 matches the installed PIM. External OpAmp PIMs require the External matrix board; Internal Op Amp PIMs require the Internal matrix board.
Update jumpers J12-J13-J14 to 1-2 position and J11 to 5-6 position as shown below:
Connect the USB-to-logic-level-UART converter cable into J10 of the MCLV-2 board and one of the USB ports on your PC:
Plug in the 24V power supply barrel connector into J2 of the MCLV-2 board and then plug the power supply into the mains outlet:
Connect the PICkit™ 4 or MPLAB ICD 4 to one of the USB ports on PC.
Connect the PICkit 4 to J12 or ICD4 to J11 of the MCLV-2 board.
Connect the black, red, and white phase wires of the 24V BLDC motor to M1, M2, and M3 terminals of J7 connector on the MCLV-2 board. You may leave the green color phase wire unconnected or connect it to the G terminal of J7 connector on the MCLV-2 board. Then, plug in the other end with a Molex® connector to the 24V BLDC motor.
Keep the motor on a stable surface and use a clamp (if available) to secure the motor from jumping around. (If using a metal C-clamp, make sure there is a thin shim of rubber, cloth, wood, or other mechanically-compliant material between the clamp and the motor, to avoid deforming the motor housing). Alternatively, you can also place the motor on a rubber mat. Also, do not disturb the motor or hold its shaft while motor parameter measurement is running.
While running the Board Calibration within motor parameter measurement feature in motorBench Development Suite, you will need to use a calibration load of three equal-value resistors connected in place of the 24V BLDC motor.
dsPIC33CK LVMC
This section provides detailed steps that will help you set up your hardware to work with the motorBench Development Suite:
Connect the USB Micro-B cable between J13 of the dsPIC33CK LVMC board and one of the USB ports on your computer:
Plug in the 24V power supply barrel connector into J1 of the dsPIC33CK LVMC board and then plug the power supply into the mains outlet:
Connect the [black, red, white] phase wires of the 24V BLDC motor to PHA, PHB, and PHC terminals of J14 connector on the dsPIC33CK LVMC board.
Keep the motor on a stable surface and use a clamp (if available) to secure the motor from jumping around. (If using a metal C-clamp, make sure there is a thin shim of rubber, cloth, wood, or other mechanically-compliant material between the clamp and the motor, to avoid deforming the motor housing). Alternatively, you can also place the motor on a rubber mat. Also, do not disturb the motor or hold its shaft while motor parameter measurement is running.
MCLV-48V-300W
This section provides detailed steps that will help you set up your hardware to work with the motorBench Development Suite:
The MCLV-48V-300W board comes with the dsPIC33CK256MP508 Internal OpAmp Motor Control DIM (EV62P66A); install the DIM in J8 on the MCLV-48V-300W board. This DIM may be replaced with any of the supported DIMs.
Connect the USB Micro-B cable to J16 of the MCLV-48V-300W board and one of the USB ports on your computer:
Plug in the 24V power supply barrel connector into J1 of the MCLV-48V-300W board and then plug the power supply into the mains outlet:
Connect the black, red, and white phase wires of the 24V BLDC motor to PHA, PHB, and PHC terminals of J4 connector on the MCLV-48V-300W board.
Keep the motor on a stable surface and use a clamp (if available) to secure the motor from jumping around. (If using a metal C-clamp, make sure there is a thin shim of rubber, cloth, wood, or other mechanically-compliant material between the clamp and the motor, to avoid deforming the motor housing). Alternatively, you can also place the motor on a rubber mat. Also, do not disturb the motor or hold its shaft while motor parameter measurement is running.
MCHV-2 and MCHV-3
This section provides detailed steps that will help you set up your hardware to work with the motorBench Development Suite. Although the setup is similar for MCHV-2 or MCHV-3, pictures of MCHV-3 are shown in the below section.
MCHV-2 and MCHV-3 boards come pre-installed out of the box with dsPIC33EP256MC506 Internal Op-Amp Motor Control PIM (MA330031); replace this PIM with any of the supported PIMs.
If using the dsPIC33EP256MC506 External Op-Amp PIM, make sure that the PIM is populated with a silicon mask rev-A8 or later. To verify this, read out the device revision from MPLAB X IDE and verify that the Device ID revision is equal to or greater than 0x4008.
Ensure that the op-amp configuration matrix board installed in J14 matches the installed PIM. External op-amp PIMs require the external matrix board; internal op-amp PIMs require the internal matrix board.
Update the jumpers J12-J13-J14 to 1-2 position and J11 to 5-6 position as shown below:
Connect the USB-to-UART converter cable into RS232 labeled port on MCHV-3 board and one of the USB ports on your PC:
Plug in an appropriate ac power supply cable to MCHV-3 board and then plug in the AC power supply cable into the mains outlet:
Connect the provided USB cable to PROGRAM/DEBUG connector on MCHV-3 board and to one of the USB ports on your PC.
Connect the red, black, and blue phase wires of the Leadshine® 400W 220VAC Servo Motor (AC300025) to the M1, M2, and M3 terminals on the MCHV-3 board. Connect the green-yellow combination color wire to the Ground terminal provided on the MCHV-3 board.
Keep the motor on a stable surface and use a clamp (if available) to secure the motor from jumping around. (If using a metal C-clamp, make sure there is a thin shim of rubber, cloth, wood, or other mechanically-compliant material between the clamp and the motor, to avoid deforming the motor housing). Alternatively, you can also place the motor on a rubber mat. Also, do not disturb the motor or hold its shaft while motor parameter measurement is running.
While running the board calibration within motor parameter measurement feature in motorBench Development Suite, you will need to use a calibration load of three equal-value resistors connected in place of the BLDC motor.
MCHV-2 and MCHV-3 Hardware Design Limitation
There is a known hardware design limitation with MCHV-2 and MCHV-3 boards that can cause the device on a dsPIC33EP256MC506 External OpAmp Motor Control PIM to reset when running motors with large phase currents. This issue does not affect dsPIC33CK devices.
If you observe the dsPIC® device reset issues while using the MCHV-2 or MCHV-3 board with this PIM and with certain test motors, power down the board, unplug the AC power cable, wait until LED D13 is OFF. Then use a short length of jumper wire to connect the digital ground signal to the analog ground signal on the PIM. To do this, connect pins 31 and 36 on the dsPIC33EP256MC506 External OpAmp Motor Control PIM: