Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free > Open ReVolt: open source DC motor controller
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 05-29-2013, 08:32 AM   #6131 (permalink)
Master EcoModder
 
Join Date: Apr 2009
Location: Charlton MA, USA
Posts: 463

EVVette - '71 Chevy Corvette Coupe
Thanks: 31
Thanked 183 Times in 94 Posts
Quote:
Originally Posted by mora View Post
Raw code is readily available in ecomodder wiki. If you happen to know how to get it compile correctly, please let me know. I'm struggling with it. Hehehe. I know it is some user errors.

Open ReVolt/Software - EcoModder
The code for the controller needs to be compiled in linux. It WILL NOT compile inside AVR studio.

To compile in linux, Install avr tools and development tools. Then copy over the source files and navigate to the folder. Do a make or make all I believe and your all set.

If I get a change, I will put together a video and a VM ware player image with everything needed.

-Adam

__________________
www.EVVette.com - 1971 Corvette Coupe Conversion to all Electric!
www.AdamBrunette.com - Machining, CNC, Robotics and Electronics.

You can download RTD Explorer for the Cougar controllers at www.EVVette.com
  Reply With Quote
The Following 2 Users Say Thank You to adamj12b For This Useful Post:
mora (05-29-2013), thingstodo (07-06-2013)
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-29-2013, 09:02 AM   #6132 (permalink)
EcoModding Apprentice
 
Join Date: Oct 2009
Location: Jyvaskyla, Finland
Posts: 143

Golfwagen - '89 Volkswagen Golf mk2
90 day: 107.14 mpg (US)
Thanks: 47
Thanked 35 Times in 28 Posts
No wonder it didn't work for me. Hehehe. VMware will be good for this.

I read from readme.pdf found inside code archive 1.11b, that c-rr parameter is amps per millisecond. If default value is 6 doesn't this mean there will be 6000 amps per second? That's a pretty fast rise time, let alone if you set value to 20. Even value 1 will result in 1000 amps per second. Could this be modified to something like amps per 10 or even 100 millisecond? Maybe for next code release. Or is there a specific reason why it is so steep?
  Reply With Quote
The Following User Says Thank You to mora For This Useful Post:
MPaulHolmes (05-29-2013)
Old 05-29-2013, 10:31 AM   #6133 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
You are right about the really really ... really fast current ramp rate. I had changed that on the prototype "1000 amp" controllers, so that the slowest ramp rate is now like 64 amps per second I think and the fastest is maybe a few thousand. You can actually compile the code in AVR Studio, and it works, but it won't work with the bootloader.
__________________
kits and boards
  Reply With Quote
Old 05-29-2013, 01:58 PM   #6134 (permalink)
EcoModding Apprentice
 
Join Date: Oct 2009
Location: Jyvaskyla, Finland
Posts: 143

Golfwagen - '89 Volkswagen Golf mk2
90 day: 107.14 mpg (US)
Thanks: 47
Thanked 35 Times in 28 Posts
Yea, I thought it would be possible, but I'd like to retain that bootloader. Makes it easy to update firmware later. I'll wait for Adams solution.
  Reply With Quote
Old 05-29-2013, 02:00 PM   #6135 (permalink)
EcoModding Lurker
 
Join Date: Jan 2012
Location: Gilbert AZ
Posts: 20
Thanks: 1
Thanked 17 Times in 8 Posts
IGBT Controller Testing

Hi, I just wanted to make an update on my IGBT based controller. Just a refresher I've got three 400 amp IGBTs with independent drivers. The drivers all get the same signal from the Rev 2c control board. For capacitors I'm using three C4DE HPQ6150A8TK caps (600v 150 uF). I've swapped the HASS300 current sensor for a HASS500 without any software mods, which effectively increases the current to 5/3 of what the controller thinks it's doing.

I finally have the entire battery pack installed (70x 60 Ah CALB cells), and this was my first real test drive at greater than 80v. Fully charged it was 246 volts. I had an uneventful 4 mile drive last night topping out at 50 mph. I've "detuned" the max motor current to 313 Amps and limited the battery amps to 180 while I test things out. The controller is liquid cooled and the chill plate was slightly warm to the touch. This is all in ~90 °F Arizona temps. I don't have any RTD data because my laptop battery wasn't cooperating, but hopefully I'll fix that tonight.
  Reply With Quote
The Following 4 Users Say Thank You to 64jeep For This Useful Post:
MPaulHolmes (05-29-2013), Nevyn (05-29-2013), thingstodo (07-06-2013), z_power (05-29-2013)
Old 05-29-2013, 06:51 PM   #6136 (permalink)
EcoModding Lurker
 
Join Date: Dec 2011
Location: Poland
Posts: 66
Thanks: 12
Thanked 27 Times in 22 Posts
I'm kind in the same boat as 64jeep - power section in my still unfinished controller should be capable of ~600A continuous (2x CM600DY-12NF with water cooling + SBE ring capacitor). Is there any elegant way of firmware modification to increase max. current "seen" and calculated by processor without LEM sensor upgrade? Don't have personal experience but I feel like extra 100 amps could make noticeable difference in ~1600 lbs car
  Reply With Quote
Old 05-30-2013, 12:42 AM   #6137 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
Yes, it's just a single line of code to go up to maybe 900 amps. Well, or maybe 2 lines. I forgot...

So, you want 600 instead of 500?

For a lem 300, that's especially easy, since it's double.

Change this line:
current_fb = (loc_current_fb * 19) >> 3; // (19/8 is almost 2.4)


To this line:
current_fb = (loc_current_fb << 1);

I made a modification to the code so that the max current is programmable too, and that works. But it was for a different board, with like 2 different pin mappings. Oh well.
__________________
kits and boards
  Reply With Quote
The Following 3 Users Say Thank You to MPaulHolmes For This Useful Post:
mpgmike (01-22-2022), thingstodo (07-06-2013), z_power (05-30-2013)
Old 05-30-2013, 01:57 AM   #6138 (permalink)
EcoModding Apprentice
 
Join Date: Oct 2010
Location: southland NZ
Posts: 153
Thanks: 38
Thanked 86 Times in 55 Posts
To the comments about slew rate (amps/second increase)
I had 1000amps/sec set on the Soliton I borrowed (max current set to 600amps)

This was too slow! - there was a noticeable lag when you throttled
  Reply With Quote
Old 05-30-2013, 08:06 AM   #6139 (permalink)
Master EcoModder
 
Join Date: Nov 2008
Location: 18603, USA
Posts: 759

The Crimson Crawler - '04 Hyundai Elantra GLS
90 day: 36.71 mpg (US)
Thanks: 221
Thanked 60 Times in 45 Posts
What about the SMD Melexis sensor? Paul, do you have any leftover boards from them? That's easy to swap the LEM out for, isn't it?
  Reply With Quote
Old 05-30-2013, 08:38 AM   #6140 (permalink)
EcoModding Lurker
 
Join Date: Apr 2013
Location: UK
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
relation between pulse width and average current

Hi again

I was wondering if anyone could tell me the relation between pulse width and the average current produced from the wave? I'm trying a very basic motor controller like pauls first one just to get a grasp of the principles.

Thanks

Cyrus

  Reply With Quote
Reply  Post New Thread


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paul and Sabrina's Cheap 3 Phase Inverter (AC Controller) with Field Oriented Control MPaulHolmes Fossil Fuel Free 3480 05-04-2022 05:43 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 09:09 PM
Three Dirt Cheap DIY Electric Cars - Part 5 SVOboy EcoModder Blog Discussion 0 12-12-2008 04:10 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com