Part Number:TMS320F28335
Tool/software: Code Composer Studio
Dear Sir.
I have work on
C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVPM_Sensorless_2833x
ı want create a table for Kp of PI controller.
For example:
when the output current is 1A, then Kp should be 0.5
when the output current is 2A, then Kp should be 0.4
when the output current is 3A, then Kp should be 0.3
when the output current is 4A, then Kp should be 0.2
Current of İnverter | Kp |
1A | 0.5 |
2A | 0.4 |
3A | 0.3 |
4A | 0.2 |
// Initialize the PI module for Iq
pi_id.Kp=_IQ(1.0);
how can ı change the code for create a table.
Other question.
I want read voltage of output of inverter by ADC.
Phase R voltage= adc channel 4
Phase S voltage= adc channel 5
Phase T voltage= adc channel 6
how can ı edit the code.