Search the Community
Showing results for tags 'BLDC'.
-
Hi there, my current project is to build a controller for a sensorless BLDC motor using a MSP430G2553. I want to realize trapezoidal control with Back-EMF/zero-crossing detection. I plan to detect zero-crossing with the Comparator(CA2/3/4 vs. CA1) and generate PWM using Timer1. Timer0 will be used for things like 30 BLMC_.zip
-
//########################################################################### #include "DSP2833x_Device.h" // external function prototypes extern void InitSysCtrl(void); extern void InitCpuTimers(void); // Prototype statements for functions found within this file. void Gpio_select(void); void Setup_HS1(void); void Setup_HS2(void); void Setup_HS3(void); void Setup_HS4(void); void Setup_HS5(void); void Setup_HS6(void); // Global Variables int Hall_1_result, Hall_2_result, Hall_3_result, Hall_State, x=0 , P_State=0; #define Hall_1 GpioDataRegs.GPADAT.bit.GPIO24 #define Hall_2 GpioDataRegs.GPA
-
- c2000
- tms320f28335
-
(and 7 more)
Tagged with:
-
I've just started a project "Sensorless BLDC Motor Controller: Modular System" on Kickstarter. It is open source hardware/firmware project. https://www.kickstarter.com/projects/946939931/sensorless-bldc-motor-controller-modular-system Event driven finite state machines (FSM) approach was used for this sensorless BLDC motor controller firmware. The programming language is C and there is no operating system. It was implemented by myself from scratch based on the well known motor control, other algorithms and the firmware is a totally open source product. What the implemented firm
-
Hello, I wrote a very simple PWM Code for my Brushless DC Motor (incl. ESC) and it works very good (I don't use any Potentiometers.): int motorPin = PF_1; void setup() { pinMode(motorPin, OUTPUT); } void loop() { analogWrite(motorPin, HIGH); delayMicroseconds(1000); analogWrite(motorPin, LOW); delayMicroseconds(19000); } I need 50Hz (1/50=20us). The Motor breaks when the first delay is "1000us" and the second is "19000us". The Motor arrives highspeed when the first delay is "2000us" and the second is "18000us" So my dutycycle should be between 5 - 10% What
- 4 replies
-
- TM4C1294XL
- PWM
-
(and 1 more)
Tagged with: