Other Parts Discussed in Thread: TMS320F28027F, , MOTORWARE
Hi,
I have a BLDC controller I've made with dual footprints supporting both the TMS320F28069F and TMS320F28027F devices. Customer needs to fit the '27F device as a cost saving measure. Sensorless operation.
RPM for this application is low, only 2500RPM. Controller is near identical to HVKITR1.
Our boards with the '69F device work great. However the boards with the '27F device stutter and only achieve < 100RPM. Our test project is basically Lab5a.
Our firmware is mostly identical, except of-course user.h and the hal files. Naturally the ADC's and PWM's are connected correctly.
For the '69F device our user.h looks like:
#define USER_SYSTEM_FREQ_MHz (90.0) #define USER_PWM_FREQ_kHz (30.0) #define USER_CTRL_HANDLE_ADDRESS (0x13C40) #define USER_EST_HANDLE_ADDRESS (0x13840) #define USER_NUM_PWM_TICKS_PER_ISR_TICK (1) #define USER_NUM_ISR_TICKS_PER_CTRL_TICK (1)
And for the '27F device, our user.h looks like:
#define USER_SYSTEM_FREQ_MHz (60.0) #define USER_PWM_FREQ_kHz (30.0) #define USER_EST_HANDLE_ADDRESS (0x600) #define USER_NUM_PWM_TICKS_PER_ISR_TICK (2) #define USER_NUM_ISR_TICKS_PER_CTRL_TICK (2)
Wondering if anyone could suggest somewhere else to look?. Is this a ADC performance issue, or a control loop issue?
Irrespective of what we try with the TICKS values and even adjusting ADC_SocSampleDelay_x_cycles, we can't achieve motor operation.
Thanks.