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.

Motor control scheme with hall sensor

Other Parts Discussed in Thread: DRV8312, DRV8301, CONTROLSUITE, DRV8303EVM, TMS320F28035

1. I want to make a motor control scheme with hall sensor. The speed can be controlled in a closed loop.

Even if I apply a load, the motor speed will not drop, or the speed can be quickly restored to the set speed after falling.

(Voltage 30V, current 15A,Hall)

DRV8312-C2-KIT:DRV8312 three phase inverter baseboard + Piccolo TMDSCNCD28035MISO controlCARD

BLDC_Sensored is what I need,but max_current 3.5A,

DRV8301-HC-C2-KIT:DRV8301 three phase inverter baseboard + Piccolo TMDSCNCD28035MISO controlCARD

Sensorless 60A,There is no BLDC_Sensored software code,

How to transplant BLDC_Sensored software code from DRV8312-C2-KIT to DRV8301-HC-C2-KIT?

 

2.How to transplant HVBLDC_Sensored software code from HVMotorCtrl+PfcKit_v2.0 to DRV8301-HC-C2-KIT?

  • You may use the PM_Sensorless project in "C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105\PM_Sensorless"  for reference, migrate the control "BLDC sensored" algorithm from HVPM_Sensored of HVMotorCtrl+PfcKit_v2.1 to it.

    Or you could use the HVPM_Sensored of HVMotorCtrl+PfcKit_v2.1 for reference, add the DRV88301 driver files (DRV8301_SPI.c and DRV8301_SPI.h), and change the HVPM_Sensored-DevInit_F2803x.c for DRV8301-HC-C2-KIT.

    If you haven't had a chance to look at the workshop material, I think this will help demystify some of the terminology and architecture as well.

    https://training.ti.com/c2000-mcu-device-workshops

  • I have DRV8303EVM.

    The hardware resource mapping for TMS320F28035 controller inside DRV8303EVM kit is exactly similar to DRV8301-HC-C2-KIT. All the motor-control software projects supplied through controlSuite for DRV8301EVM can be directly ported to DRV8303EVM without any modifications.
    The following projects are currently available for the DRV8301-HC-C2-kit at controlSUITE\development_kits\DRV830x-HC-C2-KIT_v104.
    • PM_Sensorless: Sensorless field oriented control of permanent magnet motor
    • BLDC_Int: Sensorless trapezoidal control of BLDC motors based on BEMF integration
    Why not have BLDC_Sensored?I really need BLDC_Sensored,
    DRV8312-C2-KIT:The output current is too low. I need at least 15A.
    HVMotorCtrl+PfcKit:The voltage is too high. My highest voltage is 45V.

     

    1. My motor is BLDC,I want to use controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVBLDC_Sensored,How to migrate HVBLDC_Sensored

    to DRV8301-HC-C2-KIT?I don't want to use controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVPM_Sensored.

    2. My motor is BLDC,I want to use controlSUITE\development_kits\DRV8312-C2-KIT_v128\BLDC_Sensored ,How to migrate BLDC_Sensored

    to DRV8301-HC-C2-KIT?I don't want to use controlSUITE\development_kits\DRV8312-C2-KIT_v128\PM_Sensorless.

    Please give the solutions to the above two problems. Thank you.

     

     

  • Not every reference solution is for all EVM kits, just shows the reference control algorithm on the related EVM. It should be not too much difficult to migrate the reference code between different EVMs by a designer, you just only need to add the drv8301 drive file into the project and change the device configuration file as we have replied to you. You might ask for some helps from the local technical support if you still have questions on this porting. And you could post your question to https://e2echina.ti.com/ to find the local support also.