www.robowars.org

RoboWars Australia Forum Index -> Technical Chat

Reprogramming Brushless ESCs - Complete - No Support Offered
Goto page Previous  1, 2, 3 ... 16, 17, 18 ... 50, 51, 52  Next

Post new topic   This topic is locked: you cannot edit posts or make replies.
  Author    Thread
miles&Jules
Experienced Roboteer


Joined: 19 May 2010
Posts: 3973
Location: ipswich QLD


 Reply with quote  

Hey Steve looks like a total win! I bags the first set that you sell Ha ha! They look destined for Wombot!
Miles
_________________
Miles Blow - Julie Pitts
www.mulesfilm.com.au
www.wombokforest.com.au

-Pickasso- Vivid Sportsman champion 2015

Post Mon Apr 18, 2011 7:03 pm 
 View user's profile Send private message Send e-mail Visit poster's website
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

Temperature limiting code is implemented.

Still need to play with the values. But my testing with a heatgun (despite some melting) appears to work.

Steve
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Mon Apr 18, 2011 8:29 pm 
 View user's profile Send private message Send e-mail MSN Messenger
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

Just a quick note on my thoughts as to how to implement max slew rate.

1. Average 5 RC pulses. (Bit of a hack but should have the same effect) However will slow all responses of the ESC.

2. Ramp using the main loop delays (AVR libc delays are terrible so you probably wont have any idea how fast its actually ramping) Still not sure how to integrate this with braking delays and such.

3. Put it in timer overflow interrupt which is probably best option. But similarly to 2 I am not sure how to do it. And as main loops handles states might get a bit messy.

Also Tz85a tutorial video is on my private youtube. I need to cut a few things but hopefully should be up later tonight.

Can anyone suggest a desktop recorder for Ubuntu to record AVR studio programming?
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Tue Apr 19, 2011 9:32 am 
 View user's profile Send private message Send e-mail MSN Messenger
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

quote:
Originally posted by marto:
Can anyone suggest a desktop recorder for Ubuntu to record AVR studio programming?


RecordMyDesktop, it's in the ubuntu repo's.
If your running AVRStudio in a Windows VM, just use FRAPS to record it in Windows.
_________________
https://www.halfdonethings.com/

Post Tue Apr 19, 2011 10:32 am 
 View user's profile Send private message
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

Thanks aaron will get to it tonight. Trying out youtubes online video editior atm.
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Tue Apr 19, 2011 11:05 am 
 View user's profile Send private message Send e-mail MSN Messenger
Spockie-Tech
Site Admin


Joined: 31 May 2004
Posts: 3160
Location: Melbourne, Australia


 Reply with quote  

Basic coding technique for Slew Rate limiting.

State machine for output section with update rate limited by master timer/interupt tick

Rx received pulse width -> Target PWM%
Time since last output update elapsed ? No - Exit without update
New PWM output = difference between Current PWM and Target PWM with change for this step (delta) limited to slew rate
Ouput new PWM rate, update current PWM to equal new
end of state machine loop

Thats the basic principle. I can go into more detail if needed.

Good Work Steve !
_________________
Great minds discuss ideas. Average minds discuss events. Small minds discuss people

Post Tue Apr 19, 2011 12:55 pm 
 View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

Thanks Brett. That should fit well into my current setup I will use interrupt to set flag @ 1khz and then trigger based on that.

The other thing I am thinking about is calibrating the RC input. At the moment I have just calibrated it manually to the HK transmitter but that is a bit tedious.
Could do auto center on startup but once again that causes issues. I don't really want to introduce wiring a switch either.


I am pretty keen to get all thee details implemented and get feather ESC code semi stable so we can do some alpha then beta testing.
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Tue Apr 19, 2011 1:19 pm 
 View user's profile Send private message Send e-mail MSN Messenger
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

Max slew rate implemented.

Still untested.
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Tue Apr 19, 2011 3:40 pm 
 View user's profile Send private message Send e-mail MSN Messenger
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

Exponential rates now in code.

Still untested.
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Tue Apr 19, 2011 5:19 pm 
 View user's profile Send private message Send e-mail MSN Messenger
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  
A quick wrap up of where we are at

It has been 10 weeks since I first looked at this and I think we have come quite a long way, towards getting these controllers working and tested.

The current state of the code is pretty well sorted for a the Atmel controller line. I think most of the base features are in there and we are at the stage where only testing will show whether they are really useful or not.

To that end there is now 6 Beetle ESCs "In the wild" and after a bit more testing we may see some feather ones filtering through as well. Wink

Some of the key things which need to be tested:
- temp limiting values.
- the ability of the feather controllers to drive drills
- compatibility of the RC values
- current capability compared to other ESCs

The code should be reasonably generic for all ESCs. The current version should work on the Plush30, Tz85a and Tz12a with the available header files.

For future development I think feather ESCs may be a little ambitious. I think they should work but @ $40 + programming I am unsure whether it offers much of an advantage for your average builder. The plush 30s are probably a little over rated for the beeltes. (Aaron has a video of them driving 100w scooters) So cheaper alternatives may be more suitable.
I also hope to get the 2in1 code up and running if I can solve the problems I am currently having.

Still looks like it next 2 months should be even more interesting as I start to put to them to use.
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Tue Apr 19, 2011 6:51 pm 
 View user's profile Send private message Send e-mail MSN Messenger
Nick
Experienced Roboteer


Joined: 16 Jun 2004
Posts: 11802
Location: Sydney, NSW


 Reply with quote  

Two Turnigy K-force 100A ESCs arrived today. When I opened one up it turned out to be almost identical to the 120A boat controller I already bought Rolling Eyes. The only differences are a separate BEC PCB and a fairly useless water cooler on the boat ESC, while the 100A controller has a finned cooler and a better plastic case for $13 extra - go figure!



This probably means the 100A rating is realistic with a larger heatsink so if its hackable, the boat ESC is my fave model.

Post Tue Apr 19, 2011 8:32 pm 
 View user's profile Send private message
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

Looks similar to Tz85a. Where is the MCU? Got picture of the other side? I am thinking that a lot of these have a generic layout for the fets, then a separate controller board.
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Tue Apr 19, 2011 10:09 pm 
 View user's profile Send private message Send e-mail MSN Messenger
Nick
Experienced Roboteer


Joined: 16 Jun 2004
Posts: 11802
Location: Sydney, NSW


 Reply with quote  

Here is the FET side:



The MCU is on the underside of the logic board and totally inaccessible; there are 4 pads near the red power cable that almost have to be the programming port so all is not lost Wink. There are 7x3 fets on this side and 1 x 3 on the reverse side - I can't imagine why they would put one FET per half bridge away from the heatsink!

Post Tue Apr 19, 2011 11:52 pm 
 View user's profile Send private message
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

In the interest of Beetle ESCs what current rating would be required? And how many cells do people want to run? There is only 4 cell ones @ HK but I think the 4S is limited by the BEC. I would be willing to try some 6S batts on them but I am not sure if anyone is running a beetle at anywhere near that.

Steve
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Wed Apr 20, 2011 12:58 am 
 View user's profile Send private message Send e-mail MSN Messenger
andrew



Joined: 16 Jun 2004
Posts: 3110
Location: Castle Hill, Sydney. N.S.W


 Reply with quote  

If there 100 amp controllers wouldnt we be looking more towards featherweight controllers and not beetle.
_________________
Andrew Welch, Team Unconventional Robotics

Post Wed Apr 20, 2011 8:00 am 
 View user's profile Send private message Send e-mail MSN Messenger
  Display posts from previous:      

Forum Jump:
Jump to:  

Post new topic   This topic is locked: you cannot edit posts or make replies.
Page 17 of 52

Goto page Previous  1, 2, 3 ... 16, 17, 18 ... 50, 51, 52  Next

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Last Thread | Next Thread  >
Powered by phpBB: © 2001 phpBB Group
millenniumFalcon Template By Vereor.