SPRUHJ1I January 2013 – October 2021 TMS320F2802-Q1 , TMS320F28026-Q1 , TMS320F28026F , TMS320F28027-Q1 , TMS320F28027F , TMS320F28027F-Q1 , TMS320F28052-Q1 , TMS320F28052F , TMS320F28052F-Q1 , TMS320F28052M , TMS320F28052M-Q1 , TMS320F28054-Q1 , TMS320F28054F , TMS320F28054F-Q1 , TMS320F28054M , TMS320F28054M-Q1 , TMS320F2806-Q1 , TMS320F28062-Q1 , TMS320F28062F , TMS320F28062F-Q1 , TMS320F28068F , TMS320F28068M , TMS320F28069-Q1 , TMS320F28069F , TMS320F28069F-Q1 , TMS320F28069M , TMS320F28069M-Q1
The interfaces and functions of SpinTAC Position Convert are shown in Figure 4-13 and described in Table 4-14.
Signal Type | Structure Member Name | Data Type | Description | Value Range | Unit |
---|---|---|---|---|---|
Config | cfg.T_sec | _iq24 | Sampling time | (0 , 0.01] | s |
cfg.ROMax_erev | _iq24 | Maximum bound for electrical revolution [ERev] | [0 , 16] | ERev | |
cfg.ROMin_erev | _iq24 | Minimum bound for electrical revolution [ERev] | [-16, 0] | ERev | |
cfg.erev_TO_pu_ps | _iq24 | Conversion ratio from electrical revolution [ERev] to velocity user unit [pu/s] | (0 , 0.01] | pu / s / ERev | |
cfg.PolePairs | _iq24 | Conversion ratio from mechanical revolution to electrical revolution [Pole Pairs] | [1, 32] | ||
cfg.ROMax_mrev | _iq24 | Position Rollover Bound | [2, 100] | MRev | |
cfg.LpfTime_tick | int16 | Low-pass filter time constant [ISR ticks] | [1 , 100] | Sample counts | |
cfg.SampleTimeOverTimeConst | _iq24 | Scalar value used in the Slip Compensator (ACIM Only) | [0, 128.0) | ||
cfg.OneOverFreqTimeConst | _iq24 | Scalar value used in the Slip Compensator (ACIM Only) | [0, 128.0) | ||
Input | Pos_erev | _iq24 | Saw-tooth electrical angle signal | [cfg.ROMin_erev, cfg.ROMax_erev) | ERev |
Id | _iq24 | Id Current Feedback (ACIM Only) | [-1.0, 1.0] | PU | |
Iq | _iq24 | Iq Current Feedback (ACIM Only) | [-1.0, 1.0] | PU | |
Control | ENB | bool | Enable bit | false: disabled; true: enabled | |
RES | bool | Reset bit | false: not reset; true: reset | ||
Outputs | Vel | _iq24 | Calculated velocity in user unit (unfiltered) | [-1, 1] | pu / s |
VelLpf | _iq24 | Filtered velocity in user unit | [-1, 1] | pu / s | |
Pos_mrev | _iq24 | Saw-tooth mechanical angle signal | [-cfg.ROMax_mrev, cfg.ROMax_mrev] | MRev | |
PosROCounts | int32_t | Position roll over counts | |||
SlipVel | _iq24 | Speed of magnetic slip (ACIM Only) | [-1.0, 1.0] | ERev / s | |
Info | STATUS | ST_PosConvStatus_e | Status information | {ST_POS_CONV_IDLE, ST_POS_CONV_INIT, ST_POS_CONV_BUSY} | |
ERR_ID | uint16_t | Error code | See Table 19-2 |