Other Parts Discussed in Thread: DRV8305, CONTROLSUITE
Tool/software: Code Composer Studio
I am currently writing my bachelor thesis on a digital control of a BLDC motor with a permanent magnet rotor.
Motor control:
The launchpad C2000 (TMS320F2802X)
BoosterPack DRV8305
Motor:
Synchronous RS Pro Brushless DC Motor
3 phases
4 poles
Hall Effect Angle 120 degrees
Is operated with a voltage of 24V.
Optical encoder:
Up to 1024 counts per revolution / Two or three channel
Now I want to control the speed of the motor with a potentiometer and change the direction of rotation with a switch. If this is only solved in the software this is also ok.
For testing purposes I would like to control the motor without sensors, with Hall-effect sensors and with the optical encoder.
Unfortunately it is not clear to me from the online tutorial how I should realize all this.
Could someone help me with this, or maybe send me a sample code.
Thanks a lot in advance
Philip