2016-08-25 12:05 AM
Hi, I'm beginner in coding, I'm using STM32F407G Discovery with HAL library and I want to implement PI controller.
I tried the code mentioned in
http://stm32f4-discovery.net/2014/11/project-03-stm32f4xx-pid-controller/
but it works only for proportional regulator for ki=0.Maybe it's problem of setting time, I don't know how to fix it.
I need help please
2016-08-25 02:31 AM
The relevant
page is quite thorough. There's some pseudocode near the bottom that will give you a starting point, and there is no shortage of references, links & tutorials.2016-08-26 02:42 AM
The
used to contain such control algorithm implementations, amongst others. Both integer and single-precision floating point.