cancel
Showing results for 
Search instead for 
Did you mean: 

CMSIS DSP PID Algorithm and 1.15 format

bluewaters213
Associate III
Posted on August 10, 2013 at 04:51

Hello,

I am having a problem with CMSIS DSP. the state variables are represented in 1.15 format.I want to control the speed of a motor using PID algorithm.The minimum value of the PWM duty Cycle is 500 and it Maximum is 3500.

Do I have to convert the Speed Error to 1.15 format before feeding it to the PID and convert the output from 1.15 format to Unsigned Integer and pass it to PWM Duty Cycle?. Any help will be greatly appreciated.

Regards

Slim

#stm32
0 REPLIES 0