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 SpinTAC Velocity Control interfaces and functions are shown in Figure 4-5.
In SpinTAC Velocity Control, the value for inertia can be obtained by the SpinTAC Velocity Identify component. The switch cfg.FiltEn can be enabled if the feedback is very noisy. The only controller tuning parameter is the bandwidth which is set via BwScale.
Table 4-5 lists the interface parameters for SpinTAC Velocity Control.
Signal Type | Structure Member Name | Data Type | Description | Value Range | Units |
---|---|---|---|---|---|
Config | cfg.Axis | ST_Axis_e | SpinTAC Control Axis ID | {ST_AXIS0, ST_AXIS1} | |
cfg.T_sec | _iq24 | Sampling time | (0 , 1] | s | |
cfg.InertiaMax | _iq24 | Maximum system inertia for velocity loop control | (0, 100] | PU · s2 / pu | |
cfg.InertiaMin | _iq24 | Minimum system inertia for velocity loop control | (0, cfg.InertiaMax] | PU · s2 / pu | |
cfg.OutMax | _iq24 | Maximum control signal | [-1 , 1] | PU | |
cfg.OutMin | _iq24 | Minimum control signal | [-1, cfg.OutMax] | PU | |
cfg.VelMax | _iq24 | Maximum reference signal (maximum velocity of the system) | [-1 , 1] | pu / s | |
cfg.VelMin | _iq24 | Minimum reference signal (minimum velocity of the system) | [-1 , cfg.VelMax] | pu / s | |
cfg.BwScaleMax | _iq24 | Bandwidth scale upper limit | [0.01, min(100, 0.01/ cfg.T_sec)] | ||
cfg.BwScaleMin | _iq24 | Bandwidth scale lower limit | [0.01, cfg.BwScaleMax] | ||
cfg.FiltEn | bool | Enable feedback low pass filter | false: disabled; true: enabled | ||
Inputs | VelRef | _iq24 | Reference signal (velocity reference) | [cfg.VelMin, cfg.VelMax] | pu / s |
AccRef | _iq24 | Feedforward signal (acceleration reference) | pu / s2 | ||
VelFdb | _iq24 | Feedback signal (velocity feedback) | pu / s | ||
Inertia | _iq24 | System Inertia | [cfg.InertiaMin, cfg.InertiaMax] | PU · s2 / pu | |
Friction | _iq24 | Friction coefficient | [0, 5] | PU · s / pu | |
Tuning | BwScale | _iq24 | Bandwidth scale | [cfg.BwScaleMin, cfg.BwScaleMax] | |
Control | ENB | bool | Enable bit | false: disabled; true: enabled | |
RES | bool | Reset bit | false: not reset; true: reset ERR_ID, and hold Out as 0 | ||
Output | Out | _iq24 | Control output | [cfg.OutMin, cfg.OutMax] | PU |
Info | Bw_radps | _iq20 | Controller bandwidth | rad/s | |
STATUS | ST_CtlStatus_e | Status information | {ST_CTL_IDLE, ST_CTL_INIT, ST_CTL_CONF, ST_CTL_BUSY} | ||
ERR_ID | uint16_t | Error code | See Table 13-2 |