This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADC and ePWM gains when writing the loop gain equation

Hi guys,

I had a quick question regarding more of the mathematical side of things rather than hardware. When writing the loop gain equations to design the compensator, what gains should be used for the ADC and ePWM? Also, does the specific gain depend on if you're using floating point or fixed point math? So far I've been using:

ADC Gain = 1/FSR = 1/3.3

ePWM Gain = 1

I haven't been able to achieve satisfactory performance of my compensator, so I think I am making a mistake in this step.

Thank you