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.

LAUNCHXL-F2800157: Interfacing with F2800157 with DRV8353RS-EVM

Part Number: LAUNCHXL-F2800157
Other Parts Discussed in Thread: DRV8353RS-EVM, DRV8353

Hello All,

I am utilizing LAUNCHXL-F2800025C and a DRV8353RS-EVM to work through the Universal Motor Control Lab.

I refer the F280025c code and I configure the F2800157 and DRV8353RS-EVM module.

Input but voltage : 24v,

Motor : Hall sensor based 24v, BLDC.

Could you review our project so, It will help as understand what we are missing?

Any help is much appreciated. Thanks in Advance.

Please find the attachment pin configuration and debugger expression.

Thanks,

Premkumar.T

  • You may take a look at the Universal Project and Lab User’s Guide: https://www.ti.com/lit/spruj26.

    Yes, you only need to change the device ADC and GPIO configuration in hal.c and hal.h according to the F2800157.

  • Dear Yanming Luo,

    Thank you for your support. I referred the same document..

    I configured the GPIO pins and ADC in the hal.h and hal.c according to the F2800157.

    I need code review support from TI.

    Thanks,

    Premkumar.T

  • We Tried configured code based on F280025C to F2800157 Launchpad interface with Drv8353. We are able to read analog pins perfectly but motor not running.

    During debug mode, GUI Expression window ISR increment and Bus voltage reading perfectly.

    Pin mapping done based on Launchpad F2800157 to Drv8353, GPIO26 used as EQEP2I and SPI_CS added JUMPER from GPIO11 to DRV CS PIN.

    We used PMSM motor with HALL Sensor.

    Pre-Defined Symbols used: 

    MOTOR1_HALL

    BSXL8353RS_REVA

    MOTOR1_FAST

    We need code review support from TI.

    Any help is much appreciated. Thanks in Advance.

  • Hello 

    We Tried configured code based on F280025C to F2800157 Launchpad interface with Drv8353. We are able to read analog pins perfectly but motor not running.

    During debug mode, GUI Expression window ISR increment and Bus voltage reading perfectly.

    Pin mapping done based on Launchpad F2800157 to Drv8353, GPIO26 used as EQEP2I and SPI_CS added JUMPER from GPIO11 to DRV CS PIN.

    We used PMSM motor with HALL Sensor.

    Pre-Defined Symbols used: 

    MOTOR1_HALL

    BSXL8353RS_REVA

    MOTOR1_FAST

    We need code review support from TI.

    Any help is much appreciated. Thanks in Advance.

  • Hi Shankar,

    Which build level are you testing with and are there any faults reported? Are you using one of the standard motors that we support and can be ordered from TI, or is it a new motor?

    To verify current and voltage sensing (if using FAST estimator) you can try running Build Level #2 and follow along with the User's Guide instructions. This will also be used to verify if the estimator is working properly, i.e. speed calculation is correct.

    Best,

    Kevin

  • Motor Jerk video attached  

  • Hello @kevin Allen18,

    Thanks for your response.


    1)Looks like below variables are not showing correct values.
    . motorVars_M1. adcData.I_A
    . motorVars_M1. adcData.V_V
    Not sure the read values are correct attached Screenshot.
    2)when set flagEnableRunAndIdentify ,In Expression GUI when I set Ref Sped as 60 its start with 1.723 and drop to zero.

    3)when set flagEnableRunAndIdentify
    . motorVars_M1.faultMtrUSe.all ---> always zero

    Good point here is when enable LEVEL2 build motor running at 60HZ speed but speed in GUI Expression is always zero.

    But motor not run in Level3 & Level 4 Build.

    Right now, Vdc bus voltage reading wrong values.

    when i set Power supply to 9V its always showing 17.xx voltage
    when i set Power supply to 30V its always showing 17.xx voltage

    I feel, the current and voltage offset are not correct.

    Waiting for your response

  • Hi Shankar,

    The phase current offsets look correct, but your phase voltage offset, offset_V_sf, are not correct. They should all be very close to 0.5 value. Phase voltage sensing is required for FAST sensorless algorithm, but I don't believe it actually gets used for HALL based algo.

    Right now, Vdc bus voltage reading wrong values.

    This will need to be fixed. You are using the DRV8353 boosterpack with the F280015x LaunchPad?

    Good point here is when enable LEVEL2 build motor running at 60HZ speed but speed in GUI Expression is always zero.

    It runs smoothly in this case? If you're using the HALL based algo then there must be something wrong with the software related to that. Maybe as simple as the device pin / peripheral configuration for HALL sensor interfacing.

    Best,

    Kevin

  • Could you please explain why Phase Voltage offset,offset_V_sf is  not correct? anything has to check/change in the code???

    VDC wrong reading values: Yes, using Drv8353 with F280015x Launchpad.

    Motor running is okay but while starting it has some trouble to start and after that its running fine.

    But still motor not running at Level 3 & Level 4

  • Hello ,

    As per latest updated, Able to read correct voltage (Voltage varying in all range) and Motor running in open loop (Build_Level_2) Successfully.

    But still not able to run motor in closed loop (BUILD_LEVEL_3 & BUILD_LEVEL_4). Its jerks actually and stop.

    During motor run got over current fault failure and motor stops immediately. How to resolve this?

  • Hi Shankar,

    Have you made sure that the motor parameters being used in 'user_mtr1.h' file are correct for your motor? Have you verified the current sensing is working properly when running Open-loop build Level #2? It's also possible the DRV8353x CSA gains may not be getting set properly over SPI.

    Best,

    Kevin

  • Hi @kevin Allen18,

    Updated parameter doesn't know its correct or not. but got it through when enable motor identification " userParams_M1.flag_bypassMotorId = false;"

    Got the below current value during motor running in Build_Level_2

     It's also possible the DRV8353x CSA gains may not be getting set properly over SPI.

    Could you please elaborate this issue?

  • Hi @kevin Allen18,

    Could you please add your feedback here. Waiting for your reply.

    As per Latest update we are able to read correct bus voltage and Motor running in LEVEL1,LEVEL2, LEVEL3 Build.

    Still Failing in LEVEL4 Build, its starts and jerk but stopped with motor fault (Module over current.)

    In Level 3 Build motor running but "motorVars_M1.speed_Hz" always zero. initially, its start with 1.7342 and after that its always zero. but motor is running. Set values are almost close to value in "motorVars_M1.speedEST_Hz " .

    Our Motor Spec attached

    Predefined symbols:

    MOTOR1_HALL,

    BSXL8353RS_REVA,

    MOTOR1_FAST

  • Hi Shankar,

    OK, let's focus on getting 'motorVars_M1.speedEST_Hz' to represent the correct speed in either Build Level #2 or #3. Once that is working you can move onto BL#4.

    Predefined symbols:

    MOTOR1_HALL,

    BSXL8353RS_REVA,

    MOTOR1_FAST

    You have both HALL and FAST algorithms enabled (i.e. check estimatorMode variable). Which is enabled at run time and being used to calculate 'motorVars_M1.speedEST_Hz'?

    • If it's FAST then you need to verify that voltage sensing is working properly
      • This includes verifying voltage offsets are all close to 0.5
    • If using HALL then need to verify that HALL sensor signal connections and configuration are correct
      • Check hall_M1 struct values in expressions window

    Best,

    Kevin