Oh boy - That's very likely a big part of the problem. There are two issues with this approach.... However, if I use this transfer function in my control loop, it fails to perform as well as my s-domain transfer function. I chose a sampling frequency that is the same as my system’s highest operating frequency.
by Aaron Carman
by Aaron Carman
by Dale Wilson