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.

DRV8312-C2-KIT PM Sensorless Project

Other Parts Discussed in Thread: CONTROLSUITE

TI Team,

I will be using the PM Sensorless Project, with a few modification in my final product design. I'm running into a problem when I analyze my variables using the graphing tool. I have a list of questions I hope you can answer:

  • Where can I get information that explains how to configure the "graph" analysis tool in the debugger. I'd like to use this tool to verify the voltage an current values from the output of the Clarke and Park modules.
  • When using the graphing tools, the information displayed in the graphs does not reflect the true nature of what is occurring in the motor. For example, when the motor is disabled, the graph outputs incorrect data; that is instead of zero, I see a variation in the voltage, while somewhat sinusoidal in form, it seems to no refresh the correct values.
  • The above data is collected using the DRV8312-C2-KIT with the 28035 device connected via the on-board FET through the USB cable to the PC.
  • Initially, I thought the problem had to do with the inadequacies of the emulator (small trace buffer), but using a standalone emulator (JTAG JET), the problems are the same.
  • I see the same problem using CC4 and CC5 as well as the latest version of ControlSuite.
  • The problems begin when I view LEVEL 2 variables:
  • DlogCh1 = _IQtoQ15(park1.Qs);
  • DlogCh2 = _IQtoQ15(park1.Ds);
  • DlogCh3 = _IQtoQ15(volt1.Vbeta );
  • DlogCh4 = _IQtoQ15(clarke1.Beta);

Again, I think the problem has to do with how the graph gets updated. How does CC deal with this? Again, this is not associated with any version of the tool because I've tried both.

Any information you can provide is greatly appreciated.

-David Escandon

  • David

    First, I'm going to move this to C2000 forum so someone is more likely to answer

    On the data you see

    1. are you sure the motor is disabled and no voltage variations are occuring at the ADC?

    2. Are there really voltage variations? What is the scale vs. when the motor is actually running? (i.e. are these actually just very, very small variations?)

    3. Do you have real-time mode enabled?

    4. Is it possible that you have data stored in the Dlog memory when you disable the drive, so you are just showing the same data "frozen"?

     

     

  • Chris,

    Here are my answers to your questions:

    1. Yes, the motor has been disabled, but the data on the graphs shows voltage/current.

    2. I'll have to attach a screenshot, but the values range from -30000-+30000.

    3. Yes, the real-time mode is enabled.

    4. I suppose it is possible, but the data continues to refresh; at least, that's what it looks like it is doing. How do I clear the Dlog memory?

    In general, how to I configure the graph settings besides the normal setup as shown in the screen shot?

    -David

  • Hello,

    I have the same problem. The graphics are showing wrong data values.

    Some help please!

    Thanks.

    Cerilet.