Page tree
Skip to end of metadata
Go to start of metadata

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)
+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.

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)

Pin

Signal

PinWire colourFunction

1

HA

1WhiteHall signal

2

A

8RedEncoder signal

3

HB

2BrownHall signal

4

B

9BlackEncoder signal

5

HC

3GreenHall signal

6

Z

10VioletEncoder signal

7

DA




8

DA




9

DB




10

DB




11

DZ




12

DZ




13

GND_2

12Red/BlueGround Encoder

14

GND

5GrayGround Halls
15+3.3V


16

+5V

11Gray/PinkPower supply Encoder

17

+12V

4YellowPower 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)
PinSignalPinWire colorFunction
1MOTAAGrayU
2MOTBCBlackW
3MOTCBBrownV

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 in 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