Library for driving a 3-phase brushless DC motor.

Dependents:   BLDC_mainProgram STMF302R8_MotorDrive HelloWorld_IHM07M1

You are viewing an older revision! See the latest version

Homepage

Table of Contents

  1. BLDCmotorDriver
  2. Components

BLDCmotorDriver

This library is still being developed.

This is a Wiki page about BLDCmotorDriver library developed by TVZ Mechatronics Team. The library is part of our project of creating an e-bike which is supposed to drive/run a 3-phase brushless DC motor with Hall sensors.

We are testing our library on NXP mbed LPC1768 platform.

We have created PCB with driver DRV8301 from Texas Instruments to run our testing BLDC motor.

Next step of our project is creating a standalone library for DRV8301.

In our BLDC motors there are three Hall sensors located 120 degrees from one another, they are identified as InterruptIn/DigitalIn on mbed and give us zeros and ones on TeraTerm with we locate in which sector

Na našim testnim BLDC motorima postoje 3 halova senzora udaljena za 120 stupnjeva jedan od drugoga te identificiranjem svakoga kao InterruptIn/DigitalIn na pinovima mbeda preko terminala na računalu (TeraTerm) dobivamo prikaz nula i jedinica koji se slažu sa trobitnim gray-evim kodom, s time da smo kombinacije 000 i 111 definirali kao fault vrijednosti.

With that we got six combinations: 001 - Sector 1 011 - Sector 2 010 - Sector 3 110 - Sector 4 100 - Sector 5 101 - Sector 6 which we use to determine six sectors, each one for one sector. After that we defined states of gates

/media/uploads/dfraj/3-bit_gray_code_ring.jpg

Components

/media/uploads/dfraj/kotac.jpg


All wikipages