Skip to end of banner
Go to start of banner

Board application setup PMSM

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

The board application setup for the 3-phase PMSM FOC example incorporates the following:

Hardware ComponentSupplier WebsitePart NumberData Sheet
NXHX 90-MC development board*1)Hilscher7833.100NXHX 90-MC
NXHX-DH adapter accessory board*1)Hilscher7924.100NXHX-DH
ECl-42.20-K1-B00 with IQ-Encoder ebm-papst932 4220 130
ECl-42.20-K1-B00 connection cableebm-papst992 0160 200Cable (15 Pins)

EC-i 30 Ø30 mm with Hall sensors*2)

Maxon539477

Encoder ENC 16 EASY, 1024 pulses*2)

Maxon499361
+24V DC / 3A power supply unitRIGOLDP832A

Table 1: Hardware components list with parts order number

Note 1: Please note that one NXHX-DH adapter is included in each NXHX 90-MC board delivery box.

Note 2: Alternative to the ECl-42.20-K1-B00 with IQ-Encoder.

As illustrated in Figure 1, the motor supply is at the same time the power supply for the NXHX 90-MC board. The integrated DC/DC converter of the 3-phase gate driver, with a wide voltage input range, generates the 3.3V single supply for the netX 90. Depending on the motor of choice, the power inverter is designed to enable a DC board supply for a 3-phase BLDC/PMSM of +12V, 24V or 36V.

Hilscher uses as reference in this particular case a 24V/2.5A servomotor from ebm-past, which serves as example for a specific PMSM with integrated digital hall sensors and optional quadrature encoder. The NXHX-DH adapter as depicted provides the power supply for integrated motor electronics and converts the position and speed feedback signals to 3.3V inputs for the netX 90.

Figure 1: NXHX 90-MC board application with NXHX-DH adapter

The NXHX-DH adapter mirrors the connectors X901 (digital hall sensors), J3, J4 (quadrature encoder interface) and J7 (supply header) of the NXHX 90-MC board. Interconnect X901, J3, J4 and J7 of both boards by plugging the NXHX-DH adapter onto the NXHX 90-MC board. Interconnect the ECl-42.20-K1-B00 with the NXHX-DH adapter and the NXHX 90-MC board as follows:

Connector X1 NXHX-DH

Connector & Cable ECl-42.20-K1-B00 (Page 16)

Connector & Cable EC-i 30 Ø30 mm

Pin

Signal

Pin

Wire colour

Function

Pin AWG 26

Pin AWG 28

Wire colour

Function

1

HA

1WhiteHall signal1
YellowHall signal

2

A

8RedEncoder signal



3

HB

2BrownHall signal2
BrownHall signal

4

B

9BlackEncoder signal



5

HC

3GreenHall signal3
GreyHall signal

6

Z

10VioletEncoder signal



7

DA





6GreyEncoder signal

8

/DA





5GreyEncoder signal

9

DB





8GreyEncoder signal

10

/DB





7GreyEncoder signal

11

DZ





10GreyEncoder signal

12

/DZ





9GreyEncoder signal

13

GND_2

12Red/BlueGround Encoder
3GreyGround Encoder

14

GND

5GrayGround Halls4
BlueGround Halls
15+3.3V






16

+5V

11Gray/PinkPower supply Encoder
2GreyPower supply Encoder

17

+12V

4YellowPower supply Halls5
GreenPower supply Halls

18

+24V








Table 2: Interconnection of the halls and encoder wires

Connector J5 NXHX 90-MCConnector & Cable ECl-42.20-K1-B00 (Page 16)

Connector & Cable EC-i 30 Ø30 mm

PinSignalPinWire colorFunctionPin AWG 20Wire colorFunction
1MOTAAGrayU1RedU
2MOTBBBrownV2BlackV
3MOTCCBlackW3WhiteW

Table 3: Interconnection of the 3-phase PMSM winding wires

The netX 90 requires a hardware configuration, which is a binary file with the extension HWC that is stored on-chip and contains the user's pin assignment. This file is generated using the hardware configuration tool, which is integrated into the netX Studio CDT. Figure 2 shows the GUI of the hardware configuration tool with the configured pin assignment for the 3-phase PMSM FOC example with digital hall sensors and quadrature encoder (see Figure 1). The stored HWC file is processed by the internal ROM code and ensures that the pinout of the netX 90 is configured before any of the software is started.

Figure 2: Pin assignment for the 3-phase PMSM FOC example

The inner loop of the FOC requires the assignment of the MPWM pins for the three half bridges and the MADC pins for the three current shunt amplifiers. The configuration interface of the 3-phase gate driver is connected to SPI1_APP. PIO_APP12 is the chip select line for the SPI and PIO_APP8 is the enable signal for the DRV8323RThe outer loop of the FOC requires the assignment of the GPIO[0:2] pins for digital hall sensors and the MENC0 pins for the quadrature encoder. The 3-phase PMSM FOC example enables determining the rotor angular position in either way.

Unit

Ch0

Ch1

Ch2

Ch3

Ch4

Ch5

Ch6

Ch7

ADC0

SIN240_HC (X901)

ISENA (DRV8323R)

TSENS (INTERNAL)

VREF_ADC (INTERNAL)

-

-

-

-

ADC1

-

ISENB (DRV8323R)

VDDIO/2 (INTERNAL)

VREF_ADC (INTERNAL)

-

-

-

-

ADC2

SIN0_HA (X901)

AIM (X901)

POT (R33)

VSENA (J5)

VSENVM (J1)

-

NTC (R39)

-

ADC3

SIN120_HB (X901)

AI (X901)

ISENC (DRV8323R)

VSENB (J5)

-

VSENC (J5)

-

-

Table 4: MADC unit and channel matrix of the NXHX 90-MC board

  • No labels