Other Parts Discussed in Thread: CONTROLSUITE, TMS320F28027, TIDM-02000
The changes between the attached program and program in controlsuite (C: \ Ti \ controlsuite \ development_kits \ hvpsfb_v1.1 \ hvpsfb_pcmc) is:
1. The chip is changed from TMS320F28027 to TMS320F28035.
2. The peak current input is a constant volatage to DSP ADC about 0.5117216117216117 ~ 0.5157509157509158, and the digital quantity sampled by ADC is adcresult Adcresult2, the value is between 635 and 640.
3. Iref is generated by DSP itself:
Iref += 100;
If(Iref >= 4700000)
{
Iref = 4400000;
}
In particular, when Iref is the following value, 0,4508500, 4660000, the waveform is shaking. As shown in the figure below, yellow is the lag arm (pwm1b), and green is the lead arm (pwm2a)
Iref = 0;
Iref = 4508500;
Iref = 4660000;HVPSFB_PCMC_TI20220303(1).rar