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-69M-KIT rev D very low frequency 3ph motor drive application

Other Parts Discussed in Thread: LAUNCHXL-F28027F, BOOSTXL-DRV8301, DRV8312, TMS320F28069

Greetings All - extreme newby question -

We have a one-off application to drive a small 3-phase motor  - 15V, about 8 watts,  at one of three frequencies: 4, 6, or 8 Htz.

The motor is existing and cannot be changed. It is a classic, old-school, wound-stator motor. It is a specific, purpose-built motor for the application it drives.

We would like to just install the whole eval board in our device and ship it.

We would like to enable/disable, and select the drive frequencies, with physical switches. (on/off and freq)

This is all embedded in a much larger test system and once 'programmed' will not be further modified.  Again, we need only one device, no production, no prototypes.

We have all the TI 'stuff' but are not sure of the most efficient, low-overhead (hours and resources) way to proceed.

Thanks so much for any help...

John Lawson

  • John,

    I've moved your post to the InstaSPIN Motor Solutions Forum where the experts here can best assist you.

    Thanks,
    Elizabeth
  • John
    have you tried running the motor with the kit? I would be surprised if you were happy with the performance out of the box. Your speeds are quite low for sensorless, especially such a small motor (likely very low flux). If you evaluate and it is fine I would recommend perhaps looking into a smaller form factor HW like LAUNCHXL-F28027F and BOOSTXL-DRV8301
  • Hi John,

    Did you run the motor well per the suggestion of Chris? Please let us know if you have questions. If no, we want to close the post.
  • Thanks very much for your help so far!

    We have operated the small motor that came with the kit, and, other than the actual motor speed seems much lower than the 'indicated' speed in the Speed and Torque tab, it runs. Actually the kit motor runs exactly at the desired speeds, though it cogs quite a bit as would be expected.

    We have recieved an actual motor for our target system (they are very expensive and hard to acquire as a separate piece) and this afternoon we will attach it and retest.

    However, our original question was not answered - we are looking for a "canned" solution to a simple control for the target motor, ie "ON/OFF" and three speeds selected via a switch "4 - 6 - 8 Htz".   We will them embed the development kit in a larger test system and deliver it to the Customer.

    We are not skilled programmers and are looking for a solution to satisfy the requirements with as small an investment in labor as possible.

    Thanks again!

    Cheers

    John Lawson

  • Hi John,

    Fully understand. What's type of your motor? ACI or PMSM. I guess it should be a ACI motor. The running frequency you mean is mechine frequency, or electric frequency? How many pole pairs of the motor?

    You have to run lab02a to identify motor parameters first follow lab guide if you don't know them exactly, and then you only add a function to control the motor as your requirements based on lab05b/lab10a. The DRV8312-69M-KIT rev D is ok for you to do this.
  • Greetings - we are trying to use CCS, not having much luck getting it up and running.
    We can successfully run the kit motor using InstaSPIN_FOC.
    We have installed the latest version of CCS, installed the C2000 app, etc etc...
    As posted - with the DRV8312 board connected, _FOC works, but CCS gives:

    C28xx: GEL: Error while executing OnTargetConnect(): Cannot read register ST1: data is not present
    at (ST1&~(0x0100)) [f28069.gel:312]
    at C28x_Mode() [f28069.gel:78]
    at OnTargetConnect()
    C28xx: Error occurred during flash operation: Cannot read 0x00000882@Data: data is not present
    C28xx: Flash Programmer: Warning: The configured device (TMS320F28069), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
    C28xx: Failed CPU Reset: This operation is not supported by this driver
    C28xx: GEL: Error while executing OnReset(1): Cannot read register ST1: data is not present
    at (ST1&~(0x0100)) [f28069.gel:312]
    at C28x_Mode() [f28069.gel:32]
    at OnReset(1)
    C28xx: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x2: This operation is not supported by this driver
    C28xx: File Loader: Verification failed: Target failed to write 0x00000@Program
    C28xx: GEL: File: C:\Users\John\workspace_v6_1\FlashingLeds-F28069\F2806x_RAM\FlashingLeds.out: Load failed.

    So some fundmental set-up is incorrect or missing.
    Does anyone have advice on how to proceed?
    Thanks very much in advance!

    Cheers

    John
  • Some off-line assistance has made CCS work, and we thank the respondents who took the time to help us newbies.

    We are now trying to run the labs in the InstaSPIN Projects and Lab User's Guide.
    We can make and debug - for example - 'Lab 1', but at Step 6 on page 23, clicking 'resume' brings up a dialog :
    "C28xx: Trouble Reading Register PC: (Error -1142 @ 0x0) Device blocked debug access because it is currently executing non-debuggable code. Choose 'Rude Retry' to disable polite mode and force the operation. (Emulation package 6.0.407.6) "
    and answering 'Rude Retry" does nothing, and of course no happy blinking LED.

    So far we can't discover what is going wrong, although we are studying everything we can find.

    Thanks to you all for the patient assistance so far.

    Cheers

    John
  • Maybe, your target code had some issue to cause the abnormal running, and enter illegal interrupt. You can disable realtime debug mode first, and press resume to check PC running status.