Thread Tools
Oct 16, 2012, 07:33 PM
Registered User
hello snackescb
can make the circuit, load the program for c8051f330 of silab?
I just loaded circuits for avr and pic, can you help me?
Sign up now
to remove ads between posts
Oct 17, 2012, 07:54 AM
Registered User
Quote:
Originally Posted by snakescb View Post
Hi again,

Ok, attached you can find my simple implementation for scilabs controllers. Not perfect yet, still working on, but I already made a lot of flights using this FW with some turnigy plush 12 esc's. I am developing the code in Ride7 and it is compiled using the RKit-51 on a hobbyist license.

Some ideas how to make motor startup smoother?

looking forward to receive some feedback
Hi,

im not good with assembly .. but i also build a ESC atm. ..

the startup works smooth with about 25% PWM (depending on input voltage) i dont did anything special. so here is generally how i do it:

Code:
rotorState = 0

startup(){
  if(rotorState == 0){
     commutateStep_0;
     setADCsForBackEMF_1;
     rotorState = 1;
  }else if(rotorState == 1){
     commutateStep1;
     setADCsForBackEMF_2;
     rotorState = 2;
  } .. so on
}
to get rid of some ADC interrupt noise i do some edge verification in startup phase. delayed by arround 5us atm. 3 times.

so:

Code:
compInterrupt(){ // backEMF interrupt
  if(startup){
    if(edge != exepted edge) return;
    delay 5us;
    if(edge != exepted edge) return;
    delay 5us;
    if(edge != exepted edge) return;

  }
  ...
}
i use 40 goodies (successful backEMF interrupts in a row)

here is a video .. active freewheel works also .. as you can see on the voltage display :P (the power supply dont likes it)

CIMG4088 (0 min 0 sec)



regards felix
Last edited by juuuut; Oct 17, 2012 at 10:38 AM.
Oct 18, 2012, 03:37 PM
Registered User
Hi Felix,
that looks very good.Nice startup response.

go on and make it a sucsess

grz B.
Oct 19, 2012, 01:38 AM
Registered User
Hi Felix....

this is quite impressive... I still have to work on my startup until I reach this Thanks a lot for your help...
Oct 23, 2012, 09:38 PM
Another one on the way...
ysolomon's Avatar
Does anybody use any BLDC development kit?
I'm thinking about using this TI kit: https://estore.ti.com/DK-LM4F-DRV831...MCU-P3033.aspx

Thoughts?
Feb 12, 2013, 06:20 AM
Registered User
Hi Felix, thanks a lot for posting this!


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Brushless speed control problem TomL Sport Planes 8 Jun 08, 2003 01:23 AM
TMM-18-3ph Brushless Speed Control nelsonjo1 Power Systems 5 Apr 04, 2003 12:33 AM
FS: Model Motors 40 amp Brushless Speed Control. Jim McPherson Aircraft - Electric - Airplanes (FS/W) 3 Dec 10, 2002 05:02 PM
Dragon 35 brushless speed control Steve H. Aircraft - Electric - Airplanes (FS/W) 0 Aug 17, 2002 12:29 AM
Hooking up a Jeti Brushless Speed Control to a Jeti Pashor 15/4 motor. HELP!!! Rob R Power Systems 3 Jan 10, 2002 06:37 PM