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.

TMS320F28035: TMDSHVMTRPFCKIT programming issue

Part Number: TMS320F28035
Other Parts Discussed in Thread: CONTROLSUITE

Hello,

We use TMDSHVMTRPFCKIT  to run a  sensorless BLDC motor. Control card is using TMS320F28035 non isolated emulator. When we use the GUI (HVMTRPFCKIT-BLDC-GUI.exe) with the .out file provided by TI ( HVMTRPFCKIT-BLDC-GUI.out), the motor runs and the red LED on the control board(LD3) is blinking. However, when we use the .out file generated from the project files provided by TI ( HVBLDC_Sensorless ), the red LED stays on all the time( no blinking anymore) and it won't connect to the GUI anymore. in the project file. the file related to RAM is commented out and we build to FLASH. Also, the BUILDLEVEL is set to LEVEL6. What are we missing here? Highly appreciate your urgent response. 

Thank you!

 

  • Are you able to program the .out using CCS instead of the GUI? You may try debugging the project in the CCS debug window with the appropriate Watch Window expressions for the lab

    Sean
  • We always program the .out file using CCS and then we run GUI. It works with the .out file that TI has provided but i does not work with the .out file that CCS generates. Any suggestions?
  • The .out provided in the C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\~GUI directory has specific hooks inside the program for the GUI to grab and populate data that are not present in the HVBLDC_Sensorless project. You are not able to flash this new project to the device and use the Crosshairs GUI. You will need to instead debug it inside of CCS using the Expressions window to monitor the variables you are interested in

    Sean
  • Sean, We got that problem fixed by following the "Trapezoidal Control of BLDC Motors Using Hall Effect Sensor". Level2 which is open loop seems to be working however, Level 5 which is clodes loop is not working meaning motor not spinning. Can you please let us know which parameter to change/tune first?
  • You mentioned in your first post you are trying to sensorlessly control the BLDC motor, but the document you are using is for BLDC motors with phsyical Hall sensor feedback. Can you take a look at this document and report back? C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVBLDC_Sensorless\~Docs

    Thanks
    Sean
  • We started with a sensorless first but then we changed it to hall sensor configuration
  • Were you able to verify the current PI controllers using build level 4?

    Sean
  • No, build level 4 is not working either
  • You've only indicated that build level 2 works, so I'm not sure which build level you're stuck on. If it's build level 3, can you verify the Hall sensor connections? What is shown on the PWMDAC and CCS graphs for this build level? You should be working through these sequentially so that we can debug the problem step-by-step

    Sean
  • Actually, level 1 is not working. one we set EnableFalg to 1; both LD1 and LD2 on the main board start blinking red. and motor is not sniping. No PWMs. Any suggestions?We have not changed the C21-C23 to lower values as suggested by user guide. Do we need to lower those values ?

  • Sean, Just wanted to add one more thing: Our motor is a 160V BLDC. So we set the DC input voltage to 160VDC. In this case, whenever we run LEVEL 1 build, LD1 and LD2 start red blinking and motor doesn't spin. If we reduce the DC voltage to 80VDC or reducethe "DfuncTesting" to around 2000 to 3000 the motor spins. These are the only cases we can get the motor sniping at build level 1. Any suggestions as to why this is happening ? Thanks again for your help.
  • I'm assuming that you're using the HVBLDC_Sensored project located here, correct? C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVBLDC_Sensored

    If so, for BUILDLEVEL 1, I don't see any requirement to change DfuncTesting in this step, as it's just a RAMP macro generating the output to the PWM peripheral. Are you able to see IsrTicker increasing once EnableFlag is set? Did you follow the hardware and software setup steps outlined in the Trapezoidal Control of BLDC Motors Using Hall Effect Sensors PDF guide?

    The DC input you've applied shouldn't be an issue for the inverter stage, as it's rated for higher than that. Are you bypassing the PFC portion of the hardware kit? Are you supplying the DC bus via power supply at [Main]-BS5 and [Main]-BS6 for power and ground respectively? Do you have the board still setup for GUI SCI comms when you're not using the GUI anymore?

    Sean
  • Hi Ron, are there any more questions here? If not, I'll mark this thread closed

    Sean