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 07-21-2009, 04:39 AM   #2051 (permalink)
EcoModding Lurker
 
Join Date: Jun 2009
Location: Australia
Posts: 35
Thanks: 0
Thanked 3 Times in 3 Posts
Hey Paul,

Sorry that's my fault, I printed the pdf without reversing the layout. It is printed so you can overlay the top over the bottom and the holes will line up. It's easier to check it that way. To etch the board I would have printed it in reverse.

Have you thought about using connectors between the 2 boards instead of wiring? It would make the whole assembly a bit easier. It looks like you are using tapped spacers to hold the boards together, so connectors could be the way to go.

mcudogs

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 07-21-2009, 01:34 PM   #2052 (permalink)
Joe
 
Join Date: Feb 2009
Location: phx
Posts: 260
Thanks: 0
Thanked 41 Times in 34 Posts
Quote:
Originally Posted by esoneson View Post
Congratulations jyanof, so far that is good news!

I think we all know that Paul has a VW with 72 volt system. For my feeble self, I can't remember if you spelled out your specs. What are the basics of your EV? Model, drive train, weight? That will help in the comparisons.

Thanks,

Eric

Eric, Paul and All,

I started a new thread with details of the testing. I'll probably still post updates here, but I think it'll be easier if most of the details/questions/results pertaining to this controller testing are located together in a cohesive thread.

http://ecomodder.com/forum/showthrea...ting-9325.html
__________________
ReVolt AZ testing thread:

http://ecomodder.com/forum/showthrea...ting-9325.html
  Reply With Quote
Old 07-21-2009, 11:41 PM   #2053 (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,119 Times in 734 Posts
So, I tried a new throttle idea that Joe had (you know! The guy doing the DIY EV charger!?). It's really a very good idea. It works really really well, too. OK, you basically make throttle proportional to pwmDuty*current, rather than to current or pwm duty! Now, pwmDuty is proportional to the voltage, so basically, this make the throttle proportional to POWER!!! If you want full power, push the pedal down the whole way. If you want only a little power, then only push the pedal down a little. It feels really really good. I tried it out today with Ben's controller. I just did some ramping code so the power chases the throttle rather slowly. I'll also try a PI loop so that the power will chase the throttle like you know who chases a pound of bacon, then I'll have settings for how fast the throttle response is, on a scale of like 1 to about 16, where 16 is the most responsive.

It's one of those ideas that is so simple and so pretty, that you just have to say, WHY DIDN'T I THINK OF THAT!!!!!!!!!!!!!!!!!!!!! MAKES ME MAD!!!!! HAHAHA!
__________________
kits and boards

Last edited by MPaulHolmes; 07-22-2009 at 12:09 AM..
  Reply With Quote
Old 07-22-2009, 01:46 AM   #2054 (permalink)
Joe
 
Join Date: Feb 2009
Location: phx
Posts: 260
Thanks: 0
Thanked 41 Times in 34 Posts
oh yeah, i'm excited for this!
__________________
ReVolt AZ testing thread:

http://ecomodder.com/forum/showthrea...ting-9325.html
  Reply With Quote
Old 07-22-2009, 07:43 AM   #2055 (permalink)
EcoModding Lurker
 
Join Date: Jun 2009
Location: Australia
Posts: 35
Thanks: 0
Thanked 3 Times in 3 Posts
Paul, Latest mods to the power board are attached. I have added the 2 Gnd connection vias, couldn't get them to line up perfectly with the control board but they're close. I also moved the u shaped etches up for the B+.

I have included the solder mask layers for the top and bottom of the board. The solid areas will be tinned with solder. I am not sure whether the M- bus bar was mounted on the top or bottom of the board so I have both sides tinned for M-.

Can you tell me where I can get a copy of the control board PCB file (not gerber) .pcb or equivalent?
Attached Files
File Type: zip cougar power1b.zip (60.2 KB, 102 views)
  Reply With Quote
Old 07-22-2009, 10:13 AM   #2056 (permalink)
www.BackYardGreen.Net
 
rollins's Avatar
 
Join Date: Jul 2009
Location: Winston-Salem, NC
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Schematic Updates

I'm new here, and I've only been studying electronics for just over 1 year. So forgive me if I am out of context.

I've been studying the schematic Rev2C and have a couple of suggestions.
1) I think D9 should be a 5 volt Zener.
2) I think you should use a Schmitt Trigger on the comparators U8A and U8B. Schmitt trigger - Wikipedia, the free encyclopedia
  Reply With Quote
Old 07-22-2009, 10:16 AM   #2057 (permalink)
Tall Lurker
 
Join Date: Apr 2009
Location: CT
Posts: 17
Thanks: 0
Thanked 2 Times in 1 Post
mcudogs: Nice work, PCB looks good.

I'd suggest an alteration that seems right, but I'm not sure it's necessary.
On the 1B top layer, the negs of the capacitors are on isolated islands. I'd connect them with a horizontal band at the top edge, about 0.50" so that you have a 5-fingered comb (B-) pointing down, and a 4-fingered comb (B+) pointing up.
Adjust the bottom layer so that you have a 4-fingered comb (B+) pointing down, and a 5-fingered comb (B-) pointing up. You also have the opportunity for 4 more B- vias.

It came to me while considering current balancing-equalizing, and all those opportunities to short B+ and B-.

It seems there should also be a fabrication drawing, with dimensions, hole sizes and conditions, notes, etc.

A question I would pose: Is current flow affected by sharp corners on a PCB trace? I know corners can be an issue with high frequencies. How about high current?

John
  Reply With Quote
Old 07-22-2009, 12:57 PM   #2058 (permalink)
EcoModding Lurker
 
Join Date: Apr 2009
Location: Maine
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by MPaulHolmes View Post
So, I tried a new throttle idea that Joe had (you know! The guy doing the DIY EV charger!?). It's really a very good idea. It works really really well, too. OK, you basically make throttle proportional to pwmDuty*current, rather than to current or pwm duty! Now, pwmDuty is proportional to the voltage, so basically, this make the throttle proportional to POWER!!! If you want full power, push the pedal down the whole way. If you want only a little power, then only push the pedal down a little. It feels really really good. I tried it out today with Ben's controller. I just did some ramping code so the power chases the throttle rather slowly. I'll also try a PI loop so that the power will chase the throttle like you know who chases a pound of bacon, then I'll have settings for how fast the throttle response is, on a scale of like 1 to about 16, where 16 is the most responsive.

It's one of those ideas that is so simple and so pretty, that you just have to say, WHY DIDN'T I THINK OF THAT!!!!!!!!!!!!!!!!!!!!! MAKES ME MAD!!!!! HAHAHA!
Paul this sounds like it would work really well; enough so that I am re thinking about not using straight PWM for the controller I am working on. I probably will skip the PI loop, but the direct throttle = power formula is just exactly the response I want.

Don't get me wrong though, I am not saying that the PI loop is a waste or bad idea, it's just like I mentioned before we are building different controllers for different intentions. Personally I want that anamalistic aggressiveness, that when I put my foot down I have power that very instant, and the same for letting off. but as you mentioned that can result in a rough and jumpy ride for many drivers who would be better off with a more domesticated code approach.
__________________
"Experience is something you get right after you need it !"

http://www.diyelectriccar.com/garage/cars/143

http://www.diyelectriccar.com/forums...tor-32083.html
  Reply With Quote
Old 07-22-2009, 10:18 PM   #2059 (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,119 Times in 734 Posts
I messed with the throttle proportional to power in a variety of contexts, and it works perfectly in some, and acts really weird in others. I'm starting to think that there are different stages where different throttles are appropriate, and maybe a speed sensor is needed to help decide when to switch throttle types. Maybe throttle proportional to torque near 0 rpm, throttle proportional to power once the motor is spinning, throttle proportional to speed at some time???

Say you are on a very steep hill. Let's pretend the Duty is 1 (scale of 0 to 512), and the current is 512. Well, that can happen if the throttle is 1.

Here's some pseudo-code:

power = pwmDuty*current/512.
adjust pwmDuty until power = throttle.


It does NOT feel good to have the current go to 500 when the throttle is almost 0. At least the hardware overcurrent circuit saved my bacon.

Throttle proportional to power feels AWESOME when you are moving. It does NOT feel awesome when taking off. We need a dang speed sensor. There, I said it! hahaha!

Without a speed sensor, the best feeling throttle that I have felt is the current PI loop. Another good one is the one that sort of integrates the speed with torque (ramping code).
__________________
kits and boards
  Reply With Quote
Old 07-22-2009, 10:50 PM   #2060 (permalink)
EcoModding Lurker
 
Join Date: Aug 2008
Location: Calgary, AB
Posts: 21

Corolla bandit - '05 Toyota Corolla CE
Thanks: 1
Thanked 0 Times in 0 Posts
Paul,
What do you think of the back emf that dcb suggested? I put a couple links to it in post #2045. It sounds like it's most important when the throttle is minimal turning off the pwm to check the current and voltage should be less noticeable.

  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 3472 01-12-2021 04:47 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 - 2021, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com