SPRAD20 March 2022 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-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-02009.
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 2.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 2-37 and Figure 2-38.