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-23-2009, 01:12 AM   #1361 (permalink)
AeroGuy
 
eco_generator's Avatar
 
Join Date: Sep 2008
Location: Ohio
Posts: 224

Outback 14 - '14 Subaru Outback Limited
90 day: 23.1 mpg (US)
Thanks: 73
Thanked 32 Times in 28 Posts
I think we are in the equivalent of... say closed-loop vs. open loop in a gasser. Or maybe between hitting the "power" button on an automatic.

Maybe there is a way to trigger direct (or less laggy) control when needed, I think that's one of the ideas you were having Paul. Or maybe make it user switchable, choose one or the other. Nice smooth everything or jerky movements from jerky pedal. That way they can't complain and just live with whatever choice they make... until they switch it again.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-23-2009, 01:29 AM   #1362 (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
Hey, Ecogenerator! I think you are right! I'm not 100% convinced that with a DC series motor at low RPM up a hill that it's going to be perfectly smooth without a hair of mushiness (man I like that word). And people also won't be completely happy unless they get immediate response from the throttle. Hmm...

ON a side note, have you tried to super gently go up a hill with a gas car, at maybe 0.1 miles per hour? It's really jerky! I tried it a couple days ago! How come it has to be so dang fancy with an electric car! Man, electric cars are held to a higher standard. I think it's because you feel every wiggle, since it's so dang quiet. In a gas car, you are vibrating, and there's a background white noise, and takeoff is sort of jerky up hill! Try it!

Once that stupid PI loop gets tuned real good, we'll see where that puts us. It would be nice to look at what's happening with an oscilloscope, but this current controller has the old control section, which is a piece of crap, and very noisy. We might have to wait until the new control boards get here to see how the tuning changes when there isn't nearly as much noise in the control part of the circuit.

If we had RPM sensing, then this would be easy! Makes me mad.
__________________
kits and boards
  Reply With Quote
Old 05-23-2009, 01:41 AM   #1363 (permalink)
AeroGuy
 
eco_generator's Avatar
 
Join Date: Sep 2008
Location: Ohio
Posts: 224

Outback 14 - '14 Subaru Outback Limited
90 day: 23.1 mpg (US)
Thanks: 73
Thanked 32 Times in 28 Posts
Honestly I would lean towards a more damped control (only slight mushiness). Most have not driven electric cars extensively and would not be able to say whether the pi loop was miscalibrated (barring major hiccups) while just driving the car.

But if it's just a tad too aggressive, then the weenies come out saying how the open source controller is too jerky. Why do you think every single OEM car comes out with built in mush... in the sway bar mounts, engine mounts, transmission mounts, sometimes the body mounts - to appease the weenies that whine about little things they don't like. Most cars would handle much better out of the box with better mounting, but you might feel the engine idle or the transmission shift, horrors! *runs in terror to bed* goodnight! (it's late here with the east coast time zoning)
  Reply With Quote
Old 05-23-2009, 09:27 AM   #1364 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location:
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
Quote:
Originally Posted by MPaulHolmes View Post
If we had RPM sensing, then this would be easy! Makes me mad.
Can RPM be extrapolated (or a relative indication anyway) from motor voltage and current? So that if you add a motor voltage feedback to an analog pin, you can tell that the rpms are going up as the voltage goes up, for a given duty cycle (or current sense I mean).
__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 05-23-2009 at 09:39 AM..
  Reply With Quote
Old 05-23-2009, 11:03 AM   #1365 (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
Oh that's good! I looked up something that said EMF_back = c*angular_velocity, where angular velocity is in radians and c is a constant, so I guess just solve for angular frequency, and measure back emf? I asked the EVTech list about it.
__________________
kits and boards
  Reply With Quote
Old 05-23-2009, 11:22 AM   #1366 (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
The 32 bit math is HOPELESSLY slow. We're talking like 150 uS to do a single MOD (%), and it's all needing to happen 16000 times per second! what a joke! I'm going to make due with 16 bit.
__________________
kits and boards

Last edited by MPaulHolmes; 05-23-2009 at 11:43 AM..
  Reply With Quote
Old 05-23-2009, 12:13 PM   #1367 (permalink)
EcoModder Student
 
esoneson's Avatar
 
Join Date: Nov 2008
Location: Youngsville, NC
Posts: 117
Thanks: 11
Thanked 14 Times in 13 Posts
Quote:
Originally Posted by MPaulHolmes View Post
ON a side note, have you tried to super gently go up a hill with a gas car, at maybe 0.1 miles per hour? It's really jerky! I tried it a couple days ago! How come it has to be so dang fancy with an electric car!
The answer is: because it CAN. ICE can't because of extremely LOW torque at LOW RPMs. While an EV has ALL the torque at LOW RPMs, so it can creep stealthily up the steepest hills smooooooothly.

On another note, you guys are finally coming around to selectable acceleration response modes. Remember Granny to Grand Prix?. Just add another pin read to an external pot and you have a dynamic selectable sliding scale for accelerator response. The knob on the pot can go from 1 to 10 (or 1 to eleven if you are a fan of Spinal Tap), or Granny to Grand Prix.

Way to go Paul!!!!!!!!

Eric
__________________
1995 BMW 318i EV in the making
  Reply With Quote
Old 05-23-2009, 12:16 PM   #1368 (permalink)
Moderate your Moderation.
 
Join Date: Nov 2008
Location: Troy, Pa.
Posts: 8,919

Pasta - '96 Volkswagen Passat TDi
90 day: 45.22 mpg (US)
Thanks: 1,369
Thanked 430 Times in 353 Posts
Quote:
Originally Posted by esoneson View Post
The answer is: because it CAN. ICE can't because of extremely LOW torque at LOW RPMs. While an EV has ALL the torque at LOW RPMs, so it can creep stealthily up the steepest hills smooooooothly.

On another note, you guys are finally coming around to selectable acceleration response modes. Remember Granny to Grand Prix?. Just add another pin read to an external pot and you have a dynamic selectable sliding scale for accelerator response. The knob on the pot can go from 1 to 10 (or 1 to eleven if you are a fan of Spinal Tap), or Granny to Grand Prix.

Way to go Paul!!!!!!!!

Eric

There are 1 0 kinds of people in this world... those who understand binary, and those who don't.
__________________
"ʞɐǝɹɟ ɐ ǝɹ,noʎ uǝɥʍ 'ʇı ʇ,usı 'ʎlǝuol s,ʇı"

  Reply With Quote
Old 05-23-2009, 12:17 PM   #1369 (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
or 1 to 16 if you are a fan of the "shifters"...
__________________
kits and boards
  Reply With Quote
Old 05-23-2009, 02:29 PM   #1370 (permalink)
EcoModding Lurker
 
Join Date: May 2009
Location: Bucharest,RO and Copenhagen,DK
Posts: 42
Thanks: 0
Thanked 1 Time in 1 Post
Quote:
Originally Posted by MPaulHolmes View Post
The 32 bit math is HOPELESSLY slow. We're talking like 150 uS to do a single MOD (%), and it's all needing to happen 16000 times per second! what a joke! I'm going to make due with 16 bit.
ATmega168 (4.11$ at digikey) is pin compatible to the atmega8 but you can go to 20MHz and it has a hardware division/multiplier unit (2 cycles). Can this be the key for 32bit math?

  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 - 2023, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com