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.

TI C2000 MCU TMDSHVMTRINSPIN with F28069M

Other Parts Discussed in Thread: MOTORWARE, TMDSHVMTRINSPIN, TMDSCNCD28027F, DRV8312

Hi

I'm using for the first time MotorWare. Also I'm trying to test for he first time the TMDSHVMTRINSPIN kit. I have a few questions.

-Where I can find the pdf that shows the circuit board connection for my device and for my kit. Does these PDFs exist? And the info in the USB that came with my device has old software and PDF-documents for MCUs which do not correspond.

In MotoroWare is a Quick Start Guide, not clear at all.

All this can be found in MotorWare->InstaSPIN_MOTION->Piccolo F2806xM->GUI ->GUI QSG

Which range do you have in mind for low voltage -high voltage and low current- high current?

- I couldn't find the meaning of the next setting:

  • JP1: VR1-Middle ( Does this jumper exist?!  What does VR1 Means? )
  • JP2: Populated ( this jumper has three pins, how should it be populated?! )
  • M1: High-Middle ( What does M1 plus High-Middle mean? )

This last two lines. Give me no idea of what they talk about.

  • DC voltage to J9 or PVDDIN 
  • DC voltage to PVDD and GND

...to be clear they should be using the prefix Main or M1 or M2, etc. That is what I noticed in different PDFs.

If I'm using  AC Input, do I need to plug the 15V dc eliminator? 

There are many other jumpers already installed, how can I know if they are in the correct position?

I hope you can help me,

Regards Uriel Peláez.

 

  • Uriel Pelaez said:
    -Where I can find the pdf that shows the circuit board connection for my device and for my kit. Does these PDFs exist?

    you need www.ti.com/controlsuite installed, but then when browsing MotorWare.exe you will find them here

     

    Uriel Pelaez said:
    And the info in the USB that came with my device has old software and PDF-documents for MCUs which do not correspond.

    MotorWare.exe will always point to the up to date material, though I don't know what you mean by "MCUs which do not correspond".  Can you confirm you have the HVMTR kit (yellow PCB with black enclosure) and TMDSCNCD28069MISO controlCARD?  It should also include the TMDSCNCD28027F controlCARD.

    Uriel Pelaez said:

    In MotoroWare is a Quick Start Guide, not clear at all.

    There are many Quick Start Guides in MotorWare. You need to review the correct ones. I would suggest:

    - Kit Readme First
    - HW Guide for the controlCARD you are using.
    - HW Guide for the HVKIT
    - GUI Quick Start Guides (either FOC, MOTION, or UNIVERSAL depending on what you want to do)

    Then start working through the labs using the Projects & Labs User's Guide

    Uriel Pelaez said:

    Which range do you have in mind for low voltage -high voltage and low current- high current?

    each of the kits has their own Voltage and Current specification. You should review from their webpage folder or the HW guide if you are unsure.

    Uriel Pelaez said:

    - I couldn't find the meaning of the next setting:

    • JP1: VR1-Middle ( Does this jumper exist?!  What does VR1 Means? )
    • JP2: Populated ( this jumper has three pins, how should it be populated?! )
    • M1: High-Middle ( What does M1 plus High-Middle mean? )

    This is for the DRV8312 EVM. You should ignore since you have the HVMTR kit presumably.

    Uriel Pelaez said:

    This last two lines. Give me no idea of what they talk about.

    • DC voltage to J9 or PVDDIN 
    • DC voltage to PVDD and GND

    ...to be clear they should be using the prefix Main or M1 or M2, etc.

    Again, this is for the DRV8312 EVM

    Uriel Pelaez said:

    If I'm using  AC Input, do I need to plug the 15V dc eliminator? 

    We recommend to supply 15V for the digital when doing devlopment work.

    Uriel Pelaez said:

    There are many other jumpers already installed, how can I know if they are in the correct position?

    there shouldn't be. what other jumpers do you see installed?

     

  • Hello Chris C.

    Thanks for your answers.

    Can you confirm you have the HVMTR kit (yellow PCB with black enclosure) and TMDSCNCD28069MISO controlCARD?

    Yes, I have the HVMTR with F28069MISO  and F28037F. Indeed I could make the GUI for HVMTR work. But at the end I had a big problem:

    I powerd off the AC supply,  then powered off the switch of the DCVolt-eliminator, then closed the GUI programm, then I disconnected the red cable between BS1 and BS5 and finally when I disconnected the MiniUSBcontrolcard from the USB port at the computer there were a spark. What I did wrong? Why does the control card (F28069MISO) stored voltage?

    there shouldn't be. what other jumpers do you see installed?


    The jumpers that were already installed are: 

    [Main]-J2 Bridge and middle.

    [Main]-J3,J4,J5

    [Main]-J7(middle to Capacitor's block), J8

    Onother thing I noticed when I ran the GUI is that two Leds were red at the controlCARD (F28069MISO). I think they are led2 and 3 near the SW1. Do you know why?

    (When I ran the GUI the PCB yellow with black encloser had

    [Main]-J2 Bridge and middle.

    [Main]-J3,J4,J5

    [Main]-J7(middle to Capacitor's block), J8

    USB-computer to MiniUSB_JTAGcontrolCard_ISO

    Cable between BS1 and BS5

    DC eliminator to Input 15Volts

    [M4]-Switch ON

    AC to wall through isolator.

    Finally I followed the procedure for evaluation in the QuickStartGuide at MotorWare for Piccolo F2806xM -> GUI) 

    Grettings

  • Uriel Pelaez said:

    I powerd off the AC supply,  then powered off the switch of the DCVolt-eliminator, then closed the GUI programm, then I disconnected the red cable between BS1 and BS5 and finally when I disconnected the MiniUSBcontrolcard from the USB port at the computer there were a spark. What I did wrong? Why does the control card (F28069MISO) stored voltage?

    it sounds like you still have voltae on the Bus capacitors.  I'm not sure how you discharged this voltage, but it sounds like what you did.  This is a high voltage board, you need to take smart precautions.

    When I use this board I always leave the GUI connected, then pull AC or DC high voltage, and don't touch anything until I see from the GUI (or CCS variable) that the voltage has fallen to 0. This can take over a minute in some cases.

    Uriel Pelaez said:

    Onother thing I noticed when I ran the GUI is that two Leds were red at the controlCARD (F28069MISO). I think they are led2 and 3 near the SW1. Do you know why?

    Uriel Pelaez said:

    (When I ran the GUI the PCB yellow with black encloser had

    This is correct and everything worked, yes?

     

    Any outstanding issues?

     

  • Chris

    ok...I though red meant something was wrong. I wil keep working on this kit.

    ...for the moment nothing.

    thanks.

    uriel

  • Hi Chris

    Reading the InstaSPIN  Projects and Lab User's Guide, in The MotorWare -> Resources -> HVMTR Drive. I found a spread sheet called motorware_selecting_user_variables.xlsx

    Is there a PDF with the equations that support this values?

    thanks

    Uriel P. 

  • No PDF.

    I created the .xls especially for customers using high speed motors, but it can help anybody set up the user.h file

    If you look at the equations in the cells in column 11 you will see the math that is done, and column H has many of the explanations.

    It is primarily checking some core items

    • variables aren't larger than they should be
    • variables give best resolution for your HW + motor
    • frequencies are fast enough

     

  • Chris,

    The GUI InstaSPIN_MOTION from motor-ware worked fine with F28069M.

    Now I have control card F28027F installed in C2000 MCU TMDSHVMTRINSPIN, with jumper [Main]-J9 populated. 

    I did proj_lab01 without problems. But proj_lab02b and proj_lab02c don't throw parameters.

    • I edited the user.h file, as far as I could, I used the excel file motor-ware-selecting-user-variables.xls.
    • Also I introduced my motor parameter in #define... code, etc.

    At the end when I debug the proj_lab02c or 2b and placed 1 in gMotorVars.Flag_enableSys it goes back immediately to 0. So no parameter is identified. (When I change the variable gMotorVars.Flag_Run_Identify from 0 to 1 it retains the value)

    What could be wrong?

    Should I populate [M3]-J5?

    Uriel

  • after you enableSys look at the UserErrorCode in gMotorVars. You likely ave an error in user.h that is stopping the system from moving forward. Surprising since you said you used the spreadsheet.  open user.c and look for the Error name and you will see the logic that set this error.

    you can attach your user.h if you like.

     

  • with CNCD28027 you have the jumpers correct as is per the docs

    For controlCARDs without on-card isolated emulation, ex: TMDSCNCD28027F: a. Do NOT Populate M3-J5 (enables power to HVKIT emulator)

    b. Populate J9 (enables JTAG connection) when running projects from MCU RAM

     

  • Chris,

    You had right. I looked at user.c, the error was "USER_ErrorCode_maxCurrent_resEst_High". I could fix it.

    Amyway, I attached the user.h file,  the motor parameter ping-file and xls-file, so you could tell me if there is any mistake.

    [View:http://e2e.ti.com/cfs-file.ashx/__key/communityserver-discussions-components-files/902/83211.user.h]

    5165.Uriel_Pelaez_motorware_selecting_user_variables.xlsx

    Another question, the voltage VdcBus_kV is 2840985(Decimal). Should it be 220 V max or 0.220kV? Doesn't it? Why is so big?

    Uriel.

  • Uriel Pelaez said:

    Another question, the voltage VdcBus_kV is 2840985(Decimal). Should it be 220 V max or 0.220kV? Doesn't it? Why is so big?

    set the type as IQ - 24

    use the load proj_labXXX.js to get the correct types loaded

    Your user.h file can't be downloaded, but your .xlsx shows a FALSE that needs to be corrected assuming that the Flux value was updated after motor ID.  Looks like you need to reduce your IQ_VOLTAGE a bit.

     

  • Chris

    This is the user.h as pdf

    1513.user.pdf

    Does #define USER_MOTOR_MAX_CURRENT (10) is right for this motor?

    I blew up the fuse 10A-250V (LT10AL250V) what is wrong? Could the AC rectifier be damaged? 

    Should I use a fuse less than 10 A to protect the Yellow-PCB?

    Uriel P.

  • Uriel Pelaez said:

    Does #define USER_MOTOR_MAX_CURRENT (10) is right for this motor?

    I doubt your induction motor is 10A capable.  You should know the rated current of the motor. Yes, it is a good idea to limit this.  Try 5A

    Uriel Pelaez said:

    I blew up the fuse 10A-250V (LT10AL250V) what is wrong? Could the AC rectifier be damaged? 

    It could, but in your other post you said you are still seeing proper ~160Vdc on the bus, so rectifier is good IMO.

    Uriel Pelaez said:

    Should I use a fuse less than 10 A to protect the Yellow-PCB?

    You can. If you know your motor limits you can place a Fuse just above.  But the board should be fine for 10A fuse.

     

     

    re: your user.h

    I assume this is a normal 50 Hz type of induction motor. If so, let's update these values.

    #define USER_MOTOR_FLUX_EST_FREQ_Hz (5.0)

    #define USER_MOTOR_MAX_CURRENT (4.0)

    why don't you have a value for this, it should have been ID'd

    #define USER_MOTOR_MAGNETIZING_CURRENT (NULL)

    based on this

    #define USER_MOTOR_RATED_FLUX (2.9938)

    you have a 220Vac motor, so it is expecting ~350Vdc. You only have half the bus voltage required when you use the AC/DC rectifier from 115ac. It should ID and run fine at lower speeds, but won't go above about 20 Hz.

     

    #define USER_ADC_FULL_SCALE_VOLTAGE_V (400) // 409.6 hvkit_rev1p1 voltage scaling

    #define USER_ADC_FULL_SCALE_CURRENT_A (10) // 19.89 hvkit_rev1p1 current scaling

    DO NOT CHANGE THESE VALUES. Put it back to 409.6 and 19.89!!!! This is a major problem