The board application setup for the 3-phase PMSM FOC example incorporates the following:
|Hardware Component||Supplier Website||Part Number||Data Sheet|
|NXHX 90-MC development board*1)||Hilscher||7833.100||NXHX 90-MC|
|NXHX-DH adapter accessory board*1)||Hilscher||7924.100||NXHX-DH|
|ECl-42.20-K1-B00 with IQ-Encoder||ebm-papst||932 4220 130|
|ECl-42.20-K1-B00 connection cable||ebm-papst||992 0160 200||Cable (15 Pins)|
|+24V DC / 3A power supply unit||RIGOL||DP832A|
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)
|11||Gray/Pink||Power supply Encoder|
|4||Yellow||Power supply Halls|
Table 2: Interconnection of the halls and encoder wires
|Connector J5 NXHX 90-MC||Connector & Cable ECl-42.20-K1-B00 (Page 16)|
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 DRV8323R. The 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.
Table 4: MADC unit and channel matrix of the NXHX 90-MC board