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.

InstaSPIN - BLDC on drv8301 h2 c2 kit

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

Hi everyone,

i have read the InstaSPIN BLDC , spin any BLDC motor.

I would like to know how to use the program instaSPIN BLDC  to spin a  BLDC motor of 500W.

I know some parameters of this electric motor.


Best Regards,

Dario DEtomaso

  •   InstaSPIN-BLDC does not require any motor parameters. It allows you to tune the commutation point based on an integrated Bemf voltage (flux) value. You can then tune a current and speed loop for a typical sensorless BLDC trapezoidal commutation control technique.

    This is explained in all the documentation, training videos, and user's guides (in controlSUITE associated with your kit).

    Considering you have other posts about using InstaSPIN-FOC though I don't know why you are looking at -BLDC. -FOC is much more appropriate for an e-Bike as it can run at MUCH lower speeds.  The challenge will be in smooth start-up under load (or even worse under brake). Our new IPD_HFI library can assist with this, but most e-bike motors are not salient enough to allow the IPD_HFI to track under maximum current / torque demand.

  • Hi Chris,

    in my electric hub motor there is hall sensor. I am currently using Instan FOC on drv8301 69m kit .

    In my work I have to evaluate the performance of the hub motor for e-bike .

    Currently I do not know if there is an encoder QEP for hub motor. Do you suggest to find an encoder ?

    Do you think it is better to use a control technique FOC sensorless or trapezoidal control with hall sensor for my application?

    Have you any advice for me ?

    Thanks for your answers


    Best Regards,

    Dario
  • no, there is aren't encoders for hub motors.

    Assuming you have an e-Scooter application (you want the motor to provide torque immediately from start based on a throttle input):
    if you are going to use a motor with Hall sensors - and have no plans to remove them - the best solution is to use a Hall sensor based feedback technique (BLDC or it may be simpler to simply use the hall sensor feedback to create an estimated angle for InstaSPIN-FOC) to start the motor up to a minimum speed, and then transition to sensorless (FAST) FOC. Why stop using the hall sensors? InstaSPIN-FOC will actually track the speed better, provide better rotor angle feedback than the hall sensors, and provide better dynamic performance (acceleration / deceleration / etc.).

    We have customers doing this today. The bulk of the effort comes in the transition points between deciding when to use FAST or the Hall sensors for feedback.

    If you have a pedal assist e-Bike where you only provide torque when the motor is already moving you don't need to use Hall sensors at all, just InstaSPIN-FOC in torque mode with "flying start" (search the forum for that term).
  • Hi ,

    my application is pedal assist e-bike. Then , First I should study this technique InstaSPIN-FOC in torque mode sensorless.

    After for my application , I should use this technique : InstaSPIN-FOC in torque mode sensorless for

    flying start. Do you confirm this ?

    Do you know where I can retrieve material on flying start ?

    I did not understand if there are encoder for Hub motor....??

    thank you very much

    Best Regards,

    Dario Detomaso
  • for pedal assist e-Bike InstaSPIN-FOC in torque mode (proj_lab05a) is primarily being used. Some add the over-modulation from proj_lab10a for higher speeds. Search the forum for flying start. This allows you to synchronize the forward control output with the current speed of the motor for smoother transitions.

    I've never seen an encoder for hub motors.
  • Hi Chris,

    can you better explain this sentence :

     "This allows you to synchronize the forward control output with the current speed of the motor for smoother transitions"...

    thanks for your support


    Dario Detomaso

  • the rotor is already moving so you need to synchronize the estimated angle and torque command to match the motor. search for "flying start" and read the threads.
  • Hi,

    I never heard about this topic: flying start for BLDC / PMSM motor

    Can you give me the link of the forum ?

    I need to read up on this issue.

    Is this question similar to "flying start induction motor" ?


    Thank you for answer


    D Dario

  • HI,

    I need to understand the theory of this thing.

    Can you recommend something to read about?

    A book or pdf file?

    I hope you can help me

    thank you very much

    Best regards,

    Dario Detomaso

  • I couldn't find something easily.

    The theory is just how you should best start applying voltage to a motor whose rotor is already spinning. This is called many different names in industry: flying start, catch start, anti-wind, windmill, etc.

    if you don't synchronize into the existing rotation / voltage the start-up won't be smooth and you can get over current / voltage situations.

    you can try a search engine and see what you find.
  • Hi Chris,

    I would understand this question. Can you pass something to read.

    Unfortunately I'm in trouble...

    I hope in your help...

    If you want , i can give you my email

    thanks again for your answers....


    Best Regards,

    Dario Detomaso

  • Hi ,

    finally drv8301 h2 c2 kit is arrived. I would like to use the GUI InstaSPIN BLDC to spin a bldc motor differt from NEMA 17. I have read that this application spins any bldc motor.

    How do i change these parameters in GUI : Flux Threshold , parameters in Startup control ( Startup Duty Cycle , ... ) , Startup Current , Velocity Loop Limit ?

    My motor is an HUB motor of 500 watt. This motor spins with kit DRV8301 69M KIT by InstaSPIN FOC algorithm.

    Now I want to use the other program INSTAspin BLDC - GUI.

    The ultimate goal is to use a control trapeizodal with hall sensor ( BLDC sensored).

    Best Regards,

    Dario Detomaso
  • there is documentation in the controlSUITE project:

    C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105\~GUI

    C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105\InstaSPIN_BLDC\~Doc

    there is also a Lab specific to the GUI:

    http://www.ti.com/litv/pdf/sprabn7

    and several videos

    http://www.ti.com/ww/en/mcu/instaspin/support_community.shtml

  • Hi Chris,

    I've read these documents. I would like to receive help from you.

    I would like to use your instaSPIN BLDC GUI to spin my motor ( hub motor of 500watt , max speed 470 rpm )

    I know how to change these parameters : Pole Count , Base Electrical Frequency (Hz).

    I have understood that I have to change these parameters .

    Flux threshold:
    Startup Duty Cycle:
    Startup Ramp Time:
    Ramp Start Speed:
    Ramp End Speed:
    Startup Current (PU):
    Velocity Loop Limit (PU):

    what values should I put?

    Thanks you
  • you have to figure these out for your motor and how you want your system to behave.

    the Flux threshold is most important. This is discussed in the on-line lab I linked. It shows you how to tune.

    the start-up and ramp features are advanced features that may not even be required. try it without first.

    the Current and Velocity settings are for if you add inner control loops in build levels 6, 7, and 8

  • What happens if I put a wrong value of flux threshold in the Gui ?

    I do not want to damage the kit.

    if I can not use InstaSPIN BLDC GUI,

    I'm thinking to use level 2 of same project. Here I have not seen the parameter flux , but I have to change the parameters listed above .

    I hope someone was able to change level 2 to run a different motor from NEMA17.

    Thank you for your reply.
  • Dario Detomaso said:
    What happens if I put a wrong value of flux threshold in the Gui ?

    the motor will just run a bit poorly. you will be either commutating too soon or too late

    Dario Detomaso said:
    I do not want to damage the kit.

    the only way to damage the DRV8301 EVM is to allow too high a bus voltage

    Dario Detomaso said:
    I hope someone was able to change level 2 to run a different motor from NEMA17.

    yes, many people have done this

    I still question why you are spending time on this...if HALL + BLDC is your final solution why not just start with that project?  or use InstaSPIN-FOC.  Really isn't much reason to use InstaSPIN-BLDC IMO.

  • the reason is simply

    I have a BLDC motor with hall sensors. Last month I used instaSPIN FOC to spin this motor.

    Now for my application the boss asked me to use a trapezoidal control with sensors/sensorless.

    then: InstaSPIN BLDC .


    thank you for your support

  • Hi
    Can I use InstaSPIN-FOC with DRV8301-RM48-KIT? Where will I get the InstaSPIN-FOC files so that I can test it with DRV8301-RM48-KIT?

    Kindly
    Fasil
  • no, InstaSPIN-FOC is only supported on TI's C2000 MCUs: F2802xF, F2805xF, F2806xF
    for your EVM you can purchase TMDSCNCD28069MISO and run projects from MotorWare