I'm trying to design a Buck converter using STM32.
By Matlab and Simulink, I found a continuous controller, but when I converted it to discrete controller ('c2d' in matlab) and simulated again, the system completely lost its stability.
I don't understand why.
Can anyone please help me!
this is the continuous transfer function of controller:
Gc =
0.03767 s^2 + 1490 s + 4.309e06
---------------------------------------------
0.3358 s^2 + 3.641e04 s
By Matlab and Simulink, I found a continuous controller, but when I converted it to discrete controller ('c2d' in matlab) and simulated again, the system completely lost its stability.
I don't understand why.
Can anyone please help me!
this is the continuous transfer function of controller:
Gc =
0.03767 s^2 + 1490 s + 4.309e06
---------------------------------------------
0.3358 s^2 + 3.641e04 s