SPRAD24 august 2023 AM2631 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1 , AM263P4 , AM263P4-Q1
To close current loop, the following transformations need to be added. Line 1 is clark transformation, and line 2 is park transformation. Similar functions can be found in CMSIS DSP library and others. The angle information is already included in the structure of motor1. The implementation here is similar to C28 program for TIDM-02014.
Ideally, Id and Iq are close to constant values during open loop steady state operation. In most cases, it is not difficult to read them in expression window. If graph view is desired, they can be added to graph window by following Section 3.4.3. Here are the setup for log pointers. Line 1 is Id and line 2 is Iq. The plotted Id is in and Iq is in Figure 3-21 and Figure 3-22.