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.

Current Control using DRV 8313 and DSP TMS320F28xx

Other Parts Discussed in Thread: DRV8312, DRV8313, INSTASPIN-BLDC, CONTROLSUITE, MOTORWARE, DRV8301

Hi, 

      I am trying to perform a current control for a BLDC motor. Can I take a feedback from the DRV and hookup to the ADC port of the DSP to complete the current control loop of the DSP. 

Thanks 

  • Yes. There isn't a kit with DRV8313, but there is a DRV8312 EVM. This EVM is used with an F28035 or an F28069M controlCARD.
    There are examples for 6-step BLDC commutation (standard and InstaSPIN-BLDC) which you can add current control too.
    There are examples for sine/space vector FOC (standard or InstaSPIN-FOC) which have current control built-in.

    InstaSPIN-FOC (and then InstaSPIN-MOTION) are the easiest to use and get your motor running under proper current control.

    DRV8312-C2-KIT: standard BLDC and SMO based FOC, InstaSPIN-BLDC using controlSUITE and F28035
    DRV8312-69M-KIT: InstaSPIN-FOC and InstaSPIN-MOTION using MotorWare and F28069M (also supports F28027F and F28054M controlCARDs)
  • Thanks for your reply , in order to be more precise on buying the right product please have a look at the following details of my problem. I think with this info you will be able to precisely advise me the DSP and the DRV  which I should use to achieve the project objectives.

    Actually I have four 12 volt maxon BLDC motors, which are coupled to the linear actuators through gears, . For clockwise rotation maximum displacement is 5mm.For anticlockwise rotation maxim displacement is -5mm.The ultimate goal is linear displacement control.The linear Displacement is provided by LVDTS, which are coupled with signal conditioners , whose output is between 0-2.5v DC. Also 

    1)Each DRV would requires 6 PWM signals to drive BLDC motor, so  overall I require 6*4=24 PWM signals for 4 actuators. 

    2) Current control is achieved through PWM so I need a DRV which can give me Phase current feedback for my current control loop. 

    3) Also with the DSP I should be able to read the hall signals.So  the DSP should be able to read 12 hall signals from 4 motors.

    4) There are 4 LVDTS and signal conditioners so , DSP should be able to read the 4  analog signal conditioners outputs.

    3) I want to develop a GUI with which   I would like to see the actual LVDT displacements primarily how ever  it will be bonus if I can also display phase currents and speed. 

    4) In my simulation I measure the speed by taking the derivative of LVDT signals. Would you like to comment on my speed measurement strategy.

    my simulations are in simulink so if you want I can send you block diagram of controller and you can advise me weather I can validate my controller  with TI products or not. 

  • 1. you would need a device from the 7x series - the largest of which is TMDS320F28377D
    2. The DRV83xx series of drivers don't necessarily have built in phase sensing. You can see the circuits we have created on our EVMs to get low side shunt current measurements or total bus current measurement.
    3. In the controlSUITE software examples for HALL capture we simply use any GPIO and software. You don't have to use our eCAP module, but you can. The 7x series is appropriate
    4. The ADC on these devices are from 0 to 3.3V so it looks like a fit for your 0-2.5V ADC. You can scale up to 3.3V or do some sort of offset/limit in software.
    3. You can use GUIComposer for free inside of Code Composer Studio.
    4. Can't comment, but seems reasonable I suppose

    If you are going to try to generate code from Simulink you should discuss on Mathworks support forums.
  • Thanks alot chris for your guidance

    1. I agree for the TMDS320F28377D as it has sufficient PWM channels
    2. Since my control algorithm has three loops , inner most is the current control using PWM, speed and the outer most is the linear position control. What you suggest about DRV 8301 , as I read it has a capability for current measurement. Can we hookup the current measurment of DRV 8301 to the ADC port of the TMDS320F28377D.
    3. I agree that we can connect the HALLS to GPIOS.

    4. I agree also for the LVDT connection to the ADC port. However will it be possible for the RAM on DSP to read all the 4 LVDTs from ADC and visualize them with GUI in real time. Is there need to consider the memory issues since we are doing acquisition of LVDT , Phase current s.

    5. Also I agree for the GUI composer inside the code composer.

    6. In the past I damaged some DSPs due the ESDS ( electrostatic discharge issues ) , although I use the static discharge strip , however would you recommend any other precautions to avoid such incidents.
  • 2. DRV8301 can't measure current. It has gain amplifiers which can be used to amplify the low-side shunt measurement.

    4. you can buffer and display your ADC readings through a GUI

    this is what I could answer