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.

Guide/Tutorial for learning how to control a Brushless DC Motor Sensored

Other Parts Discussed in Thread: MOTORWARE, DRV8301-69M-KIT, TMDSCNCD28035ISO, TMDSCNCD28069MISO, LAUNCHXL-F28027F, LAUNCHXL-F28069M, BOOSTXL-DRV8305EVM

Hello, is there anything like this? I saw there are dozens of kits for spinning a Brushless Motor, thus I can't understand which one I should buy. I want something that lets me get access to full firmware source code so that I can learn how to modify it and see what the different parts of code do. It should have at least a GUI program for starters so that it's easy to use. I'm also possibly looking for a board that lets me connect stuff like brakes, PAS, and other common e-bike tools used for controlling the motor. The final purpose of me wanting to learn how to control a brushless motor is to design my own firmware for an e-bike.

  • by sensored for your application I assume you mean Hall sensors for BLDC 6-step commutation?

    That is rather on the low-end of what someone would consider a C2000 for, so we don't offer much.

    There is a Hall BLDC example with the DRV8312-C2-KIT but this doesn't have enough current to run with an ebike.

    The DRV8301-HC-C2-KIT supports up to 60A. The SW only includes sensorless BLDC and FOC, but on the Motor Drive forum many years ago I posted a Hall BLDC example that works with the kit.

    Typically we recommend sensorless InstaSPIN-FOC. There is a hall start-up (switch to sensorless at higher speeds) example included in MotorWare. This is based on DRV8301-69M-KIT (which is the same inverter board as mentioned above, just with a different controlCARD).

    So purchase one of these kits, then purchase the other controlCARD you would need and you can attempt both.

    TMDSCNCD28035ISO - included in the HC-C2 kit

    TMDSCNCD28069MISO - included in the 69M kit

  • So, excluding the ebike application, what would be most suitable/easier to learn for a beginner approaching to a brushless motor control for the first time? I'd like to have both something that works immediately through a software GUI, and also the full firmware source code so that I can see what each button does when pressed in the GUI (what event it triggers). Eventually my application will be sensored since it uses Hall sensors with BLDC 6-step commutation as you said, but if it's easier to use a sensorless kit with MotorWare, I wouldn't exclude that way.

    A guy on another forum also suggested me this combo: http://www.ti.com/tool/BOOSTXL-DRV8305EVM http://www.ti.com/tool/LAUNCHXL-F28069M

    In the end, I'm fine with anything that is plug-and-play and easy to learn. Possibly the platform most used for which I can find most of the support.

  • InstaSPIN-FOC is easiest to use, especially initially. It will run the motors quickly with very limited user tuning required (tune just the speed loop).

    Getting the Hall sensors to work will be more challenging.

    The code base is certainly more complex than you may be prepared for though.  This isn't simple motor control.

    drv8301-69m-kit will allow you to eventually use the hall sensors, so that would be my reco.

    if you want to get started for lowest cost to kick the tires first then BOOSTXL-DRV8305EVM and LAUNCHXL-F28069M or LAUNCHXL-F28027F is the reco.