Part Number: TMS320F28377S
Tool/software: Code Composer Studio
Is there a way to check if the function is working as desired.I tried changing
rk,yk
but i dont see any change in uk
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.
Part Number: TMS320F28377S
Tool/software: Code Composer Studio
Is there a way to check if the function is working as desired.I tried changing
rk,yk
but i dont see any change in uk
Deepak,
I am running this controller with the coefficients and data I think are in your code and it outputs 1.0f. This is what I would expect from:
rk = 0.05
yk = 0.0234
Kp = 5e-06
Ki = 0
Umax = 10.2
Umin = 1.0
Basically, the integral path is disabled, so the control output is Kp * (rk - yk) = 133e-09, which gets clamped to the lower limit of 1.0. I changed the limits and the output changes accordingly, so I am satisfied the controller is working correctly. Can you check the parameters I have above are actually the same you have when you call the controller please?
Regards,
Richard
Deepak,
Either the controller has not run, or not with the parameters we think. When I run with these settings the output is 1.0, which is correct.
Could you paste the same CCS expressions window so I can see the address column please?
Regards,
Richard