Other Parts Discussed in Thread: MOTORWARE, DRV8305
Tool/software:
Hi ,
I am using TMS320F28069M to run Lab 02b from motorware in CCS and got following errors.
How do i resolve these.
Thankyou
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.
Tool/software:
Hi ,
I am using TMS320F28069M to run Lab 02b from motorware in CCS and got following errors.
How do i resolve these.
Thankyou
This example lab is for F2802x, not for F2806x. Which kit are you using? Any changes did you make in the example lab?
Hi Yanming,
I am using LaunchPad XL TMS320F28069M with DRV8305 module. No i have not made any changes in the example.
As mentioned above. The example lab you used is for F28027, not F28069M, please try to use the example lab for F28069 as below.
C:\ti\motorware\motorware_1_01_00_18\sw\solutions\instaspin_foc\boards\boostxldrv8305_revA\f28x\f2806xF\projects\ccs\proj_lab02b
or
C:\ti\motorware\motorware_1_01_00_18\sw\solutions\instaspin_foc\boards\boostxldrv8305_revA\f28x\f2806xF\projects\ccs\proj_lab02c
Thanks for help, its resolved but after running the code the motor spins for about 30S and the motor parameters keep updating and once the motor stops the values back down to zero. how can i get the real parameters of the motor from this lab. should i change something in User.h? i am using a test motor with 0.32mH inductance , 0.178 ohms and average of 0.138V/krpm, the values seen in the expression window are far off by a long shot.
If you didn't make any changes in the example lab, please follow the guide to identify the motor parameters and set the identified motor parameters in user.h.
Please don't add any load on the motor for identification, and set the correct identification variables value in the file of user.h according to the specification of the motor, to make sure the motor spin smoothly during Flux measurement and Ls identification states.
#define USER_MOTOR_RES_EST_CURRENT (2.0) // A - 10-30% of rated current of the motor
#define USER_MOTOR_IND_EST_CURRENT (-1.5) // A - 10-30% of rated current of the motor, just enough to enable rotation
#define USER_MOTOR_MAX_CURRENT (20.0) // A - 30~150% of rated current of the motor
#define USER_MOTOR_FLUX_EST_FREQ_Hz (40.0) // Hz - 10~30% rated frequency of the motor