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 12-26-2008, 03:45 AM   #41 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,822

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,365
Thanked 1,107 Times in 726 Posts
gentle throttle ramp-up added to software

New feature added! Gentle Ramp up of throttle. There's a problem if you accelerate too fast from 0 RPM. A motor has about 0.01 Ohms of internal resistance, or even as small as 0.001 Ohms for a really big one. Also, the inductance is very small, like 60 uH or so. The inductance resists a change in current, which is helpful in current limiting. However, 60 uH is TINY! A worst case senario can see a 4 amp increase in a millionth of a second! So, it's tough to limit the current when it's growing so fast. So, one thing you can do is restrict the rate of growth of the PWM duty. For example, if you ram the gas pedal to the ground almost instantly, the software will make you wait like 5 or 10 seconds or whatever until it reaches 100% PWM duty. It doesn't limit how fast you can slow down, though. It is tested and working.

That buys me some extra time to monitor the current increase and shut things down if the current gets to high.

I still have about 91% of the space on the chip available! ya! Maybe I'll add space invaders if there's not much else to do.

__________________
kits and boards
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
faerietree (07-14-2012)
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 12-26-2008, 10:26 PM   #42 (permalink)
Losing the MISinformation
 
Intrigued's Avatar
 
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393

Quad Cam - '00 Oldsmobile Intrigue GX
Last 3: 25.94 mpg (US)
Thanks: 15
Thanked 3 Times in 3 Posts
Quote:
Originally Posted by MPaulHolmes View Post
I still have about 91% of the space on the chip available! ya! Maybe I'll add space invaders if there's not much else to do.
Hey, have a little fun, and make the spaceships go vertical, and let them be the battery voltage sensors, a la the LED bargraph battery monitor, and then have your gun start shooting when the batteries reach their lower limit!
__________________


The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
  Reply With Quote
Old 12-26-2008, 10:56 PM   #43 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,822

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,365
Thanked 1,107 Times in 726 Posts
space invader battery monitor

I'm going to use that. That's good... That's really good. It gets boring driving sometimes. It would be awesome to have a video game built in to the battery monitor.

Update: My wife and I got a junky dremel from harbor freight that wobbled like crazy, so we returned it, and got a DREMEL® from Lowe's, with a diamond tip fine engraving thing and a slightly bigger non-diamond engraving thing. I'm using them to etch the 5 ounce (of copper per square foot) PCB that came in the mail today! bam! MOst people buy a weird solution of strange liquid and let the copper sit in it for a long time, but my baby would drink that.

The already etched one is a practice 1 ounce pcb from radio shack.
Attached Thumbnails
Click image for larger version

Name:	DSCF2457.JPG
Views:	744
Size:	79.0 KB
ID:	2442   Click image for larger version

Name:	DSCF2456.JPG
Views:	680
Size:	64.2 KB
ID:	2443   Click image for larger version

Name:	DSCF2455.JPG
Views:	1160
Size:	121.5 KB
ID:	2444   Click image for larger version

Name:	DSCF2454.JPG
Views:	870
Size:	111.7 KB
ID:	2445  
__________________
kits and boards

Last edited by bennelson; 12-27-2008 at 11:31 AM.. Reason: special character insertion
  Reply With Quote
Old 12-26-2008, 11:12 PM   #44 (permalink)
Losing the MISinformation
 
Intrigued's Avatar
 
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393

Quad Cam - '00 Oldsmobile Intrigue GX
Last 3: 25.94 mpg (US)
Thanks: 15
Thanked 3 Times in 3 Posts
Neat! Boy, I hope you use heavier-duty parts than the ones they used in those Logisystems controllers that kept blowing out the backs of the cases. By the way I'm reading some of the blogs on them, I'm wondering if that wasn't a problem with not having a good pre-charge resistor in place...???
__________________


The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
  Reply With Quote
Old 12-26-2008, 11:28 PM   #45 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,822

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,365
Thanked 1,107 Times in 726 Posts
I almost bought a logisystem controller. I guess I'm glad I didn't now! I'll have quite a bit of safety margin built in to the car version. Lots of mosfets to keep things way under specs.
__________________
kits and boards

Last edited by MPaulHolmes; 12-27-2008 at 12:24 PM..
  Reply With Quote
Old 12-27-2008, 05:58 PM   #46 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,822

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,365
Thanked 1,107 Times in 726 Posts
New Software Feature Added: Current Limiting

I've added current limiting to the software. So, now I can choose any max current, and it won't go above that. This will be good for testing what the max current should be.

I also etched the power section on the 5 ounce PCB. It's way thicker than that ghetto stuff from radio shack! holy cow! The dremel did a pretty good job. I think a mill might work a little better, but still this is a good cheap solution.
Attached Thumbnails
Click image for larger version

Name:	DSCF2458.JPG
Views:	810
Size:	95.5 KB
ID:	2446   Click image for larger version

Name:	DSCF2459.JPG
Views:	765
Size:	67.8 KB
ID:	2447   Click image for larger version

Name:	DSCF2461.JPG
Views:	869
Size:	70.4 KB
ID:	2448   Click image for larger version

Name:	DSCF2462.JPG
Views:	723
Size:	74.8 KB
ID:	2449   Click image for larger version

Name:	DSCF2463.JPG
Views:	877
Size:	88.0 KB
ID:	2450  

__________________
kits and boards
  Reply With Quote
Old 12-27-2008, 09:00 PM   #47 (permalink)
Losing the MISinformation
 
Intrigued's Avatar
 
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393

Quad Cam - '00 Oldsmobile Intrigue GX
Last 3: 25.94 mpg (US)
Thanks: 15
Thanked 3 Times in 3 Posts
Hey, it don't have to be pretty to work! You should have let the person that did those thumbnails do the work!!!

Is that a sim farm game going on there in the background???

Hey, I just thought of something you might be able to use for a mill. Find a mom 'n pop sign store in the area, (or on eBay) and see if you can get your hands on an old sign scroll, or mill, or whatever they call them. You know, the things they use to etch those plastic signs that say "MEN" and "LADIES".

...or is that what you already had in mind???
__________________


The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
  Reply With Quote
Old 12-27-2008, 09:14 PM   #48 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,822

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,365
Thanked 1,107 Times in 726 Posts
It's a farm game on facebook. You buy seeds and animals, and then harvest stuff so you can buy barns and chicken coops and stuff like that. I'll check on your idea about the mill. It doesn't have to be the usual 1.5 HP or whatever. Just something that can cut a thin layer of copper in a straight line.
__________________
kits and boards
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
charstar (09-16-2012)
Old 12-27-2008, 09:45 PM   #49 (permalink)
Losing the MISinformation
 
Intrigued's Avatar
 
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393

Quad Cam - '00 Oldsmobile Intrigue GX
Last 3: 25.94 mpg (US)
Thanks: 15
Thanked 3 Times in 3 Posts
3 AXIS CNC MILL / ROUTER Machine - eBay (item 220330237263 end time Jan-14-09 01:19:59 PST)

...now that I've already posted a couple of these on your VW thread, how about something like this???
__________________


The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
  Reply With Quote
Old 12-27-2008, 09:49 PM   #50 (permalink)
Batman Junior
 
MetroMPG's Avatar
 
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 21,235

Blackfly - '98 Geo Metro
Team Metro
Last 3: 70.09 mpg (US)

MPGiata - '90 Mazda Miata
90 day: 52.8 mpg (US)

Winter beater Metro - '00 Chevrolet Metro
90 day: 73.57 mpg (US)

Fancy Metro - '14 Mitsubishi Mirage top spec
90 day: 55.99 mpg (US)
Thanks: 2,987
Thanked 5,873 Times in 3,045 Posts
Paul & Sabrina: you amaze me. (Well, anybody who's not slow at projects, like me, amazes me.)

A thought after seeing the temp protection circuit: you might want to ramp up the current when exiting thermal protection cut-off. Same if you incorporate low voltage cut-off.

I've hit the low voltage protection feature with the junk batteries we first had in the ForkenSwift, and it was pretty violent: First gear, going slowly up a little hill, controller cuts current, car coasts to a stop. Foot still on throttle, pack voltage rebounds above the threshold, car jerks forward. Pack voltage falls, controller cuts current, car stops. Pack voltage rebounds, car lurches. Stops! Lurches! Stops!

Just a thought. Either that, or incorporate a high pedal safety feature that gets checked any time the controller goes from 0 current to some current request.

__________________
Latest mods test: 15 mods = 15% MPG improvement: A-B test, 2007 Honda Civic 1.8L, 5-speed
Ecodriving test:
Manual vs. automatic transmission MPG showdown: Nissan Micra 1.6L



EcoModder
has launched a forum for the efficient new Mitsubishi Mirage
www.MetroMPG.com - fuel efficiency info for Geo Metro owners
www.ForkenSwift.com - electric car conversion on a beer budget
  Reply With Quote
The Following User Says Thank You to MetroMPG For This Useful Post:
faerietree (07-14-2012)
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 3457 10-03-2019 05:50 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 10:09 PM
Three Dirt Cheap DIY Electric Cars - Part 5 SVOboy EcoModder Blog Discussion 0 12-12-2008 05:10 PM



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