This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28027: 正在开发逆变电源,发现贵司网站有类似的单相逆变电源,与我司做对比后,代码中有些不明白的地方不知道能否做详细解释?谢谢!

Part Number: TMS320F28027
Other Parts Discussed in Thread: C2000WARE

TIDM-HV-1PH-DCAC具有电压源和并网模式的单相逆变器参考设计(www.ti.com.cn/.../TIDM-HV-1PH-DCAC inline void readCurrVolADCSignals(volatile float32_t *offset,
volatile float32_t *VBUS_inst,
volatile float32_t *VBUS_offset,
volatile float32_t *VO_inst,
volatile float32_t *II_inst,
volatile float32_t *II_offset)

其实现部分中ADC_PU_SCALE_FACTOR取值依据是什么?

//
// Generate the RAMP angle
//
RAMPGEN_run(&rgen1);

//
// Use the angle value to compute the sine value
//
invSine = sinf((rgen1.out)*6.283185307f);

上面由三角波生成正弦波参数的算法依据是什么?

谢谢!