Infineon XC167CI Microcontroller Application Note

Below you will find brief information for XC167CI. This document details Field Oriented Control (FOC) of Permanent Magnet Synchronous Motors (PMSM) using a single DC link shunt, implemented on the Infineon XC167CI Microcontroller. It covers mathematical models, hardware components, and software solutions including space vector modulation, current measurement in the DC-link, and PI controllers. Learn about its capabilities for efficient motor control.

PDF
Document
Infineon XC167CI FOC PMSM Application Note | AI Chat | Manualzz

Advertisement

Advertisement

/

Advertisement

Key features

  • Field Oriented Control (FOC) implementation

  • Single DC link shunt current measurement

  • Utilizes Infineon XC167CI Microcontroller

  • Space Vector Modulation (SVM) technique

  • PI controller implementation for speed and current

  • Fixed-point number representation for calculations

  • Support for incremental encoder for rotor position detection

  • ADC synchronization with SVPWM via Capture Compare 6 (CC6) unit

  • Peripheral Event Controller (PEC) for efficient data transfer

Frequently asked questions

PMSMs offer high efficiency, reduction of motor size (high torque per volume), low moment of inertia, and reduced noise and maintenance compared to DC motors due to the elimination of brushes.

Phase currents are acquired by measuring the DC link current at specific switching patterns of the inverter, allowing two different phase currents to be measured during one PWM period. The third current can then be calculated using the principle that the sum of all three phase currents is zero.

The main drawback of this method is that the current cannot be measured in certain 'black zones' or defined machine states. Additionally, the state length for measurement must meet a minimum value dependent on achieving a stable current, ADC sample time, and dead time.

The MAC (Multiply Accumulate) unit provides single-instruction-cycle, non-pipelined, 32-bit additions, subtractions, right and left shifts, and 16-bit by 16-bit multiplication, including operations with cumulative subtraction/addition, for faster mathematical operations.

The rotor angular position is detected using an incremental encoder connected to Timer 3, which counts pulses. The mechanical zero position is identified by channel I of the encoder, which triggers a reset of Timer 3 via a PEC transfer.

Preparing document for printing…
0%