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.

TMS320F28027: 24.0 Set to Vbus

Part Number: TMS320F28027
Other Parts Discussed in Thread: MOTORWARE

Hi Team,

Here are two issues from the customer may need your help:

C:\ti\motorware\motorware_1_01_00_18\sw\solutions\instaspin_foc\boards\boostxldrv8305_revA\f28x\f2802xF\projects\ccs\proj_lab11a

1. 

Fullscreen
1
#define USER_IQ_FULL_SCALE_CURRENT_A (24.0) // BOOSTXL-DRV8305EVM = 24.0 A
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

High lighted content in above screen shot mentioned the necessary conditions:

USER_IQ_FULL_SCALE_VOLTAGE_V > 0.5 * USER_MOTOR_MAX_CURRENT * USER_MOTOR_Ls_d * USER_VOLTAGE_FILTER_POLE_rps

If 24.0 is too small, what should it be set to? After changing it, the voltage sampling multiple is wrong.

2. 

The current of 24 is also too small. What should it be set to? Can it be doubled? Does the sampling part also need to be modified?

Is it changed here? What is the function of this IQ12mpy()?

--

Thanks & Regards

  • Share the user.h please.

    Is it changed here? What is the function of this IQ12mpy()?

    Can't change this. It converts the 12-bit ADC result to IQ24 format that is used in the labs.

  • 6470.user.hHello, the file has been shared. Finally, the bus current reached around 60A, and the bus voltage can be increased by 66.18V. How should the above be changed

  • It's related to the hardware. The value of USER_IQ_FULL_SCALE_VOLTAGE_V is not critical value for control, just need to set the USER_IQ_FULL_SCALE_VOLTAGE_V between USER_ADC_FULL_SCALE_VOLTAGE_V and 0.5*USER_ADC_FULL_SCALE_VOLTAGE_V. The reported error is not related to the ust need to set the USER_IQ_FULL_SCALE_VOLTAGE_V between USER_ADC_FULL_SCALE_VOLTAGE_V and 0.5*USER_ADC_FULL_SCALE_VOLTAGE_V, you should change the other parameters according to the motor, like USER_MOTOR_MAX_CURRENT.

  •     

    USER_IQ_FULL_SCALE_CURRENT_A     

    Hello, can I change my current to at least 330 or above? Will it not affect the sampling of phase current, will it? Why is the current speed not reaching 3000rpm?Is it a problem with the maximum current value? Is it still an IQ/ID issue, USER_ MOTOR_ FLUX_ EST_ FREQ_ What does Hz affect?

  • Hello, can I change my current to at least 330 or above?

    It's related to your hardware. The USER_ADC_FULL_SCALE_VOLTAGE_V is calculated according to the current sensing circuit. USER_IQ_FULL_SCALE_CURRENT_A can be a value close to USER_ADC_FULL_SCALE_VOLTAGE_V  as mentioned above.

    Will it not affect the sampling of phase current, will it?

    No.

    Why is the current speed not reaching 3000rpm?Is it a problem with the maximum current value? Is it still an IQ/ID issue, USER_ MOTOR_ FLUX_ EST_ FREQ_ What does Hz affect?

    You can try to increase the dc bus voltage and the maximum current.

  • Hello,

    I was wondering

    USER_ IQ_ Full_ SCALE_ Current_ A must be a USER_ ADC_ Full_ SCALE_ Current_ Is A more than half?

    Just like voltage?

    Because USER_ ADC_ Full_ SCALE_ Current_ A is currently 660, I would like to ask the user_ IQ_ Full_ SCALE_ Current_ How much is suitable for A,

    You mentioned above and the user_ ADC_ Full_ SCALE_ VOLTAGE_ Is it okay if V is consistent?

  • USER_ IQ_ Full_ SCALE_ Current_ A must be a USER_ ADC_ Full_ SCALE_ Current_ Is A more than half?

    Doesn't matter. The same value could be fine.

    Because USER_ ADC_ Full_ SCALE_ Current_ A is currently 660, I would like to ask the user_ IQ_ Full_ SCALE_ Current_ How much is suitable for A,

    You mentioned above and the user_ ADC_ Full_ SCALE_ VOLTAGE_ Is it okay if V is consistent?

    The same as mentioned above.

  • Hello, is there a maximum current and speed setting during runtime in the program?

    Only seen in motor recognition

    #Define User_ MOTOR_ MAX_ Current (20.0)

    Will this value affect the operating speed of the motor? current

    #Define User_ IQ_ Full_ SCALE_ FREQ_ Hz (1000.0)

    Set 1000, but can only run at 2100rpm. Are there any other variables that will affect it?

  • No. You need to change these settings in user.h, rebuild again.

    Check the maximum current and bus voltage are enough as mentioned above.

  • Hello, USER_ IQ_ Full_ SCALE_ FREQ_ Hz, phase current, phase voltage, USER_ MOTOR_ MAX_ The current has been changed to the maximum value based on hardware, but the motor speed still cannot be increased

    D: \ ti \ motorware \ motorware_ 1_ 01_ 00_ 18 \ sw \ solutions \ instaspin_ Foc \ boards \ boostxldrv8305_ RevA \ f28x \ f2802xF \ projects \ ccs \ proj_ Lab11a

    Routine,

    The AD offset calculation was enabled, but it was found that there was also a significant offset in the phase voltage. However, I did not use a 1.65V bias for my phase voltage,

    Is this bias correct? Does phase voltage affect the increase in speed?

    2. What other variables affect the speed

  • Did you try to increase the dc bus voltage and see what happens?

    Did you follow the user's guide to set the hardware and motor parameters correctly?

  • Hello, the motor has found that the dead zone time has been extended, and it can now increase speed. However, there is still an issue. It is the same as the 16K PWM frequency used by other manufacturers of the motor, and I am using 45K, with a maximum speed of 3400rpm. When I changed it to 16K, I found that the motor starts with a loud noise, and it can only run at 1000rpm, which will cause it to run away. However, 45K is not like this

  • Are you using TI EVM kit? Or your own board?

    Did you try to use lab02c to identify the motor parameters?

    Please take a look at the lab user's guide about lab02c.