HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Oct 16, 2012, 08:33 PM
Registered User
Joined Oct 2012
224 Posts
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?
fantasy1988 is offline Find More Posts by fantasy1988
Reply With Quote
Sign up now
to remove ads between posts
Old Oct 17, 2012, 08:54 AM
Registered User
Joined Dec 2010
302 Posts
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
juuuut is offline Find More Posts by juuuut
Last edited by juuuut; Oct 17, 2012 at 11:38 AM.
Reply With Quote
Old Oct 18, 2012, 04:37 PM
Registered User
Germany
Joined Feb 2010
6 Posts
Hi Felix,
that looks very good.Nice startup response.

go on and make it a sucsess

grz B.
madmoony is offline Find More Posts by madmoony
Reply With Quote
Old Oct 19, 2012, 02:38 AM
Registered User
Joined Oct 2012
3 Posts
Hi Felix....

this is quite impressive... I still have to work on my startup until I reach this Thanks a lot for your help...
snakescb is offline Find More Posts by snakescb
Reply With Quote
Old Oct 23, 2012, 10:38 PM
Another one on the way...
ysolomon's Avatar
Plano, Texas
Joined Feb 2009
2,456 Posts
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?
ysolomon is offline Find More Posts by ysolomon
Reply With Quote
Old Feb 12, 2013, 07:20 AM
Registered User
Joined Feb 2013
1 Posts
Hi Felix, thanks a lot for posting this!
ralfrob is offline Find More Posts by ralfrob
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Brushless speed control problem TomL Sport Planes 8 Jun 08, 2003 02:23 AM
TMM-18-3ph Brushless Speed Control nelsonjo1 Power Systems 5 Apr 04, 2003 01:33 AM
FS: Model Motors 40 amp Brushless Speed Control. Jim McPherson Aircraft - Electric - Airplanes (FS/W) 3 Dec 10, 2002 06:02 PM
Dragon 35 brushless speed control Steve H. Aircraft - Electric - Airplanes (FS/W) 0 Aug 17, 2002 01: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 07:37 PM