Part Number: TMS320F280049C
Other Parts Discussed in Thread: LAUNCHXL-F280049C, DRV8320, MOTORWARE
hi Ti
I want to drive 3Phase ACIM with sensorless FOC for fan application.
Ti's Instaspin and Powerwarp look perfect for my project since i need to drive fan more efficient way.
So I bought Launchxl-F280049C and Boostxl-DRV8320 for test.
i know, boostxl-drv8320 is not for high voltage. So i supplied 48V and i was able to run 40W 220V 3Phase 60Hz ACIM.
I checked speed control was working fine.
As i said earlier, i want to use powerwarp feature for drive motor more efficient.
So i tried it but it didn't work at all.
i use this function to enable powerwarp.
EST_setFlag_enablePowerWarp(estHandle, motorVars.flagEnablePowerWarp);
I read INSTASPIN user guide chapter16 powerwarp.
User guide mention about CTRL_setFlag_enablePOWERWARP(ctrlHandle, true);
but i couldn't find such function from the project instead i found EST_setFlag_enablePowerwarp function.
i changed motorVars.flagEnablePowerWarp value to 1 when motor is running in closed loop.
after i set the motorVars.flagEnablePowerWarp variable, i check the Idq_ref_A.value[0], but ref value did not changed at all.
I used Lab 7, is07_speed_control, for base project.
sorry for my bad english.
Btw i'm new to Ti's DSP. Detail explain would help me alot :)
I just add EST_setFlag_enablePowerWarp(estHandle, motorVars.flagEnablepowerWarp); in lab 7 code.
I marked with #.
and I set motorVars.Kp_spd value to 0.005. If i don't set kp value something not zero, i get no output at all which is not right.
Every code is same but that line i maked.
Code that i post is at end of main function.
if(EST_isMotorIdentified(estHandle) == true)
{
if(motorVars.flagSetupController == true)
{
//
// update the controller
// set custom current and speed controllers gains
//
updateControllers();
}
else
{
motorVars.flagMotorIdentified = true;
motorVars.flagSetupController = true;
setupControllers();
}
}
##################################################EST_setFlag_enablePowerWarp(estHandle, motorVars.flagEnablePowerWarp);#####################################################
//
// update the global variables
//
updateGlobalVariables(estHandle);
#ifdef DRV8320_SPI
//
// DRV8320 Read/Write
//
HAL_writeDRVData(halHandle, &drvSPI8320Vars);
HAL_readDRVData(halHandle, &drvSPI8320Vars);
#endif
} // end of while() loop
//
// disable the PWM
//
HAL_disablePWM(halHandle);
} // end of main() function