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 03-17-2012, 09:53 AM   #5571 (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,362
Thanked 1,202 Times in 765 Posts
Is the RPM +/- 150, or is it consistently below or consistently above by 150? Or is it consistently below or consistently above by some value that's proportional to the rpm? Like at 500rpm, it reads 25 too high, 2500 it's 125 too high..?

Assuming the pin is free, I could do an input capture based rpm for more accuracy. I did that in the BMS, where there were 8 different input capture pins all listening to changes to their ports. It was interrupt driven, and would construct 0's and 1's based on the times each input capture pin would stay at 0.

Happy St. Patricks day to you too!!!!! My great grandpa would force my grandma to wear orange on St. Patricks day since he was british.

__________________
kits and boards
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 03-17-2012, 02:03 PM   #5572 (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,362
Thanked 1,202 Times in 765 Posts
I added the push-pull feature in the software so that if a couple pins stop going high and low at 16kHz, the hardware will disable the mosfet driver, since that would most likely happen if the microcontroller crashes. It was just a single line of code that's required to run at 16kHz, so it eats up almost no processing power. I was going to add a "microcontroller_crashed_fault in the code", until I realized, the micro wouldn't know if the micro crashed! hahaha.

I also added programmable max current. the variable is called max-current. haha. You can input anything you want in the range 0-9999 real life amps. That means if you set it to 120, full throttle will be 120 amps. I double checked all the pins to make sure everything is good.

The controller is 99.9% done:


It's 6 isolated supplies, so 6 separate pwm signals that all have their own shielded twisted pair (with ground) cable going right to the input of the respective optocoupler.

I think someone was asking about the schematics. I'll post everything once it's all working. The wiki is seriously jacked up right now though. It's been taken over by a weird spam-bot.

I've got an updated schematic and layout that removes the VERY EXPENSIVE DC-DC converter (like almost $18) which feeds the inputs to the 6 line filters, and replaces it with a homemade DC-DC based on the very popular MC34063

The careful observer will note that it costs like $0.63 cents. hahaha. The rest of the nick-nacks you need to make it work are another $2-$3 or so.
__________________
kits and boards

Last edited by MPaulHolmes; 03-17-2012 at 04:05 PM..
  Reply With Quote
The Following 3 Users Say Thank You to MPaulHolmes For This Useful Post:
mpgmike (01-22-2022), okie00 (03-18-2012), zsnemeth (03-17-2012)
Old 03-17-2012, 03:07 PM   #5573 (permalink)
EcoModding Apprentice
 
dave koller's Avatar
 
Join Date: Feb 2010
Location: Northern Wisconsin
Posts: 137
Thanks: 32
Thanked 39 Times in 23 Posts
HAPPY ST. PATTY'S DAY.... ()
__________________
Dave ...
  Reply With Quote
Old 03-17-2012, 03:09 PM   #5574 (permalink)
EV test pilot
 
bennelson's Avatar
 
Join Date: Jan 2008
Location: Oconomowoc, WI, USA
Posts: 4,435

Electric Cycle - '81 Kawasaki KZ440
90 day: 334.6 mpg (US)

S10 - '95 Chevy S10
90 day: 30.48 mpg (US)

Electro-Metro - '96 Ben Nelson's "Electro-Metro"
90 day: 129.81 mpg (US)

The Wife's Car - Plug-in Prius - '04 Toyota Prius
90 day: 78.16 mpg (US)
Thanks: 17
Thanked 663 Times in 388 Posts
I did some more experimenting with the laser cutter, working my way towards making a kick-butt case for my controller.

See the update in THIS THREAD.

-Ben
__________________


300mpg.org Learn how to BUILD YOUR OWN ELECTRIC CAR CHEAP
My YouTube Videos
  Reply With Quote
The Following User Says Thank You to bennelson For This Useful Post:
MPaulHolmes (03-18-2012)
Old 03-18-2012, 05:27 AM   #5575 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 734
Thanks: 26
Thanked 304 Times in 171 Posts
Paul , I'm not too sure if the error is consistent. I have my limiter set at 3500 rpm and it will kick the power off somewhere between 3500 and 3700. Good enough for gov work. If you can make it better then great. Btw when are these super cool new control boards going to be available to the masses? My secret sepex controller project could really use one!
__________________
Now, Cole, when you shift the gear and that little needle on the ammeter goes into the red and reads 2000 Amps, that's bad.
www.evbmw.com
  Reply With Quote
Old 03-18-2012, 10:00 AM   #5576 (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,362
Thanked 1,202 Times in 765 Posts
I just found an error on the one-off board. The input "L1" filter pins were messed up. But I noticed that you don't use L1 sometimes, without too much trouble as a result, so I just did what I saw you did for this one. Just use wire to connect the 2 sides, but the wire had to make an x-shape because of the messed up pins. So far everything else seems to be working, but I'm checking all the little details, and am breadboarding a prototype of the little DC-DC that cuts off around $15 from the cost. so it will be very very soon! Like in a couple days I'm going to order it.
__________________
kits and boards
  Reply With Quote
Old 03-18-2012, 10:31 AM   #5577 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 734
Thanks: 26
Thanked 304 Times in 171 Posts
Yeh I wasn't able to find that filter from a supplier over here. Just linked it out. Never had a problem.
__________________
Now, Cole, when you shift the gear and that little needle on the ammeter goes into the red and reads 2000 Amps, that's bad.
www.evbmw.com
  Reply With Quote
Old 03-18-2012, 03:53 PM   #5578 (permalink)
ReVolt Enthusiast
 
Join Date: Jun 2009
Location: Michigan, USA
Posts: 239
Thanks: 97
Thanked 47 Times in 40 Posts
Quote:
Originally Posted by MPaulHolmes View Post
I think someone was asking about the schematics. I'll post everything once it's all working. The wiki is seriously jacked up right now though. It's been taken over by a weird spam-bot. I've got an updated schematic and layout that removes the VERY EXPENSIVE DC-DC converter
Hi Paul,

Great work as usual !!!

Just email your files to me when you finish them.

I can upload your schematics to the protected file server that has all the ReVolt stuff on it. Then I will add their link to the Ecomodder wiki after the Spam-bot stuff is fixed.

I also have the PCB files for the IGBT driver interface, I want to add that to the Ecomodder wiki too.

-Mark
  Reply With Quote
Old 03-18-2012, 04:06 PM   #5579 (permalink)
EcoModding Apprentice
 
Join Date: Mar 2011
Location: alaska
Posts: 141
Thanks: 10
Thanked 37 Times in 19 Posts
Quote:
Originally Posted by jackbauer View Post
Paul , I'm not too sure if the error is consistent. I have my limiter set at 3500 rpm and it will kick the power off somewhere between 3500 and 3700. Good enough for gov work. If you can make it better then great. Btw when are these super cool new control boards going to be available to the masses? My secret sepex controller project could really use one!
what happens when it hits the rev limit? does it completely cut the power for a certain time? or can it reduce the throttle so that power is still applied but it doesn't go over the limit?
  Reply With Quote
Old 03-18-2012, 06:40 PM   #5580 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 734
Thanks: 26
Thanked 304 Times in 171 Posts
Power is cut till the motor drops 250rpm below the limit. If you just floor the throttle in neutral it sorta bounces off the rev limiter like an ICE.

__________________
Now, Cole, when you shift the gear and that little needle on the ammeter goes into the red and reads 2000 Amps, that's bad.
www.evbmw.com
  Reply With Quote
Reply  Post New Thread




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 3431 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