We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I have a questions about using PID regulator functions from arm_math.h library.
In that lib there are 3 different types of handling PID regulator:
- arm_pid_f32(),
- arm_pid_q31(),
- arm_pid_q15().
My questions are:
1. In which case to use which regulator?
2. My case is: I need to use PID regulator to control current generated from PWM signal by regulate Duty Cycle of that PWM. Which of those 3 PID types is the best for that implementation?