Hi
I am using the TI board DRV8312 with a hall sensored BLDC motor (24V, 4000 rpm)
In the Control Suite code, I saw following lines -
#define BASE_FREQ 200 // Base electrical frequency (Hz)
and
speed1.BaseRpm = 120*(BASE_FREQ/POLES);
speed1.SpeedScaler = (Uint32)(ISR_FREQUENCY/(1*BASE_FREQ*0.001));
I would like to know the significance of the BASE FREQ value and on what basis do I change it.
Also I did not understand the formula used for the BaseRpm and SpeedScaler aprameters.
Can someone please explain me the same?
I will be changing the motor soon to a new one (say with maximum X rpm). What modifications do I need to do in the code for this?
Thanks,
Sanket