garimella
Full Member level 5
Hi
I have a designed a PID controller in simulink with the plant model and everything works fine. I have converted z domain to difference equation and fused the program in microcontroller and things do not work identical. I have a compared with the commercial PID with identical settings, but my custom controller behaves abnormally. The difficulty is that I am unable to explore the model that is inside a microcontroller. Any ideas how to do so?
I have a designed a PID controller in simulink with the plant model and everything works fine. I have converted z domain to difference equation and fused the program in microcontroller and things do not work identical. I have a compared with the commercial PID with identical settings, but my custom controller behaves abnormally. The difficulty is that I am unable to explore the model that is inside a microcontroller. Any ideas how to do so?