Hardware Setup

Last modified by Microchip on 2025/02/26 14:59

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.

Back to Top


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.

Back to Top


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.

OpAmp Configuration matrix board

Back to Top


Update jumpers J12-J13-J14 to 1-2 position and J11 to 5-6 position as shown below:

jumpers JP1-JP2-JP3

Back to Top


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:

USB-to-logic-level-UART converter

Back to Top


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:

24V power supply barrel connector

Back to Top


Connect the PICkit™ 4 or MPLAB ICD 4 to one of the USB ports on PC.

Back to Top


Connect the PICkit 4 to J12 or ICD4 to J11 of the MCLV-2 board.

PICkit4 to J12

Back to Top


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.

phase wires

Back to Top


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.

Back to Top


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.

Please refer to the "Appendix" page for more information on the calibration load. Once you have the calibration load on hand, you can start by stripping off the insulation on the wires coming from the M1, M2 and M3 terminals of the Calibration load. Then connect these wires into M1, M2, and M3 terminals of the J7 connector on the MCLV-2 board.

Board Calibration

Back to Top

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:

USB Micro-B cable

Back to Top


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:

24V power supply barrel connector j1

Back to Top


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.

24V BLDC motor phase wires

Back to Top


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.

Back to Top

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.

Please see "motorBench 2.45.0 Release Notes" for additional information.

Back to Top


Connect the USB Micro-B cable to J16 of the MCLV-48V-300W board and one of the USB ports on your computer:

USB Micro-B cable to J16

Back to Top


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:

MCLV-48V-300W board

Back to Top


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.

[black, red, white] phase wires

Back to Top


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.

Back to Top

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.

See "motorBench 2.45.0 Release Notes" for additional information.

Back to Top


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.

Back to Top


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.

MCHV-2 and MCHV-3 boards

Back to Top


Update the jumpers J12-J13-J14 to 1-2 position and J11 to 5-6 position as shown below:

J12-J13-J14

Back to Top


Connect the USB-to-UART converter cable into RS232 labeled port on MCHV-3 board and one of the USB ports on your PC:

Please note that in the event of mechanical interference with the USB-to-UART cable, you may need to use an UART extension cable.

USB-to-UART converter cable

Back to Top


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:

ac power supply cable to MCHV-3

Back to Top


Connect the provided USB cable to PROGRAM/DEBUG connector on MCHV-3 board and to one of the USB ports on your PC.

USB cable to PROGRAM/DEBUG

Back to Top


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.

phase wires of the Leadshine

Back to Top


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.

Back to Top


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.

Please refer to the "Appendix" page for more information on the calibration load. Once you have the calibration load on hand, you can start by stripping off the insulation on the wires coming from the M1, M2 and M3 terminals of the Calibration load. Then connect these wires into the M1, M2, M3 terminals of connector on the MCHV-3 board.

Warning

Hazard warning
Whenever connecting or disconnecting a motor or calibration load from MCHV-2/ MCHV-3 board, please disconnect the power from the MCHV-2/ MCHV-3 board. Also, use an insulated screwdriver that is recommended for high voltage rating.

Back to Top

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:

pins 31 and 36

Information

Note that if you are using an encoder, the sequence/order of the motor phase connections is important for the correct motor direction, as is the proper wiring of the encoder connections. Consult the encoder datasheet to determine the proper wiring.

Back to Top