随笔分类 - TI电机例程
摘要:为什么要使用定点数/IQ格式数:用整数表示小数!!!!!! IQ格式数:本质上是整数,有可能是int类型、有可能是long类型。 在32位机中,int类型和long类型所占的字节数相等。(这里有误,在TMS320C28x中,int占16bits,long占32bit) 使用IQ格式数的目的:加快运算
阅读全文
摘要:typedef struct { _iq Freq; // Input: Ramp frequency (pu) _iq StepAngleMax; // Parameter: Maximum step angle (pu) _iq Angle; // Variable: Step angle (p
阅读全文
摘要:typedef struct { _iq Ref; // Input: reference set-point _iq Fbk; // Input: feedback _iq Out; // Output: controller output _iq Kp; // Parameter: propor
阅读全文
摘要:typedef struct { _iq Gain; // Input: reference gain voltage (pu) _iq Offset; // Input: reference offset voltage (pu) _iq Freq; // Input: reference fre
阅读全文
摘要:typedef struct{ _iq Freq; // Input: Input Frequency (pu) _iq VoltOut; // Output: Output voltage (pu) _iq LowFreq; // Parameter: Low Frequency (pu) _iq
阅读全文
摘要:typedef struct { _iq Freq; // Input: Ramp frequency (pu) _iq StepAngleMax; // Parameter: Maximum step angle (pu) _iq Angle; // Variable: Step angle (p
阅读全文
摘要:typedef struct { _iq TargetValue; // Input: Target input (pu) Uint32 RampDelayMax; // Parameter: Maximum delay rate (Q0) - independently with global Q
阅读全文

浙公网安备 33010602011771号