Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 01-30-2015, 09:45 PM   #1641 (permalink)
Master EcoModder
 
freebeard's Avatar
 
Join Date: Aug 2012
Location: northwest of normal
Posts: 27,562
Thanks: 7,738
Thanked 8,554 Times in 7,041 Posts
Don't worry I don't post on any other forums.

So, generically, its a power inverter? In a block diagram would it stand alone, separate from things like the charge controller, battery murdering system, tachometer, etc.?

I take it that e*clipse will need four of these?

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 01-30-2015, 09:58 PM   #1642 (permalink)
Master EcoModder
 
P-hack's Avatar
 
Join Date: Oct 2012
Location: USA
Posts: 1,408

awesomer - '04 Toyota prius
Thanks: 102
Thanked 252 Times in 204 Posts
@paul, are you using the XC8 compiler (as opposed to xc16, xc32) or are you out in gcc land, or?

oops, perhaps xc16...

Last edited by P-hack; 01-30-2015 at 10:07 PM..
  Reply With Quote
Old 01-30-2015, 10:28 PM   #1643 (permalink)
Master EcoModder
 
P-hack's Avatar
 
Join Date: Oct 2012
Location: USA
Posts: 1,408

awesomer - '04 Toyota prius
Thanks: 102
Thanked 252 Times in 204 Posts
Disregard, got it compiling! XC16, had to fix some of the include statements (some case issues on ubuntu and ACController.h -> ACInductionController.h, but no biggie. My first (and perhaps last) microchip project

Code:
Program Memory  [Origin = 0x100, Length = 0x7f00]

section                    address   length (PC units)   length (bytes) (dec)
-------                    -------   -----------------   --------------------
.text                        0x100               0x170           0x228  (552)
.const                       0x270               0xff0          0x17e8  (6120)
.text                       0x1260              0x1a60          0x2790  (10128)
.dinit                      0x2cc0               0x174           0x22e  (558)

                     Total program memory used (bytes):         0x43ce  (17358) 35%


Data Memory  [Origin = 0x800, Length = 0x800]

section                    address      alignment gaps    total length  (dec)
-------                    -------      --------------    -------------------
.ndata                       0x800                   0           0x1ac  (428)
.nbss                        0x9ac                   0           0x188  (392)
.ndata                       0xb34                   0            0x58  (88)
.nbss                        0xb8c                   0            0x40  (64)

                        Total data memory used (bytes):          0x3cc  (972) 47%


Dynamic Memory Usage

region                     address                      maximum length  (dec)
------                     -------                      ---------------------
heap                             0                                   0  (0)
stack                        0xbcc                               0x434  (1076)

                        Maximum dynamic memory (bytes):          0x434  (1076)

download 300+ meg of mplab, 70 meg of xc16, create a new project for the dsPIC30F4011, add the files from the git repo (I just did induction motor), read compile errors and fix.

p.s., thank you again!

p.p.s. Nice job on the gate drivers, like $15 per gate in raw parts with desat and enough power for 600A igbt's at 10khz it seems. And a cute little attiny

p.p.p.s. Did I say thank you?

Last edited by P-hack; 01-31-2015 at 01:32 AM..
  Reply With Quote
The Following 2 Users Say Thank You to P-hack For This Useful Post:
MPaulHolmes (01-31-2015), thingstodo (02-01-2015)
Old 01-31-2015, 01:26 AM   #1644 (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
sorry, I just started copying stuff, and forgot that I named the c and h files something slightly different on the github (all because I didn't know how to actually copy the file. I've been copying and pasting file content). The other projects are more dummy links at the moment, since I was just trying to get the instructable thing done. Then I was going to fill in the details in the next week or 2. I actually used the C30 compiler.
__________________
kits and boards
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
P-hack (01-31-2015)
Old 01-31-2015, 01:52 AM   #1645 (permalink)
Dreamer
 
Join Date: Nov 2013
Location: Australia
Posts: 350
Thanks: 95
Thanked 214 Times in 151 Posts
Quote:
Originally Posted by MPaulHolmes View Post
... It doesn't do anything very fancy. Just reads currents, temperature (from one source), and throttle, and protects the IGBTs from desaturation and overcurrent and +5v and +24v undervoltage. There are a few extra pins, but a dspic30F4011 isn't going to do much more than that.
This comment gets my vote for the understatement of the year award.
  Reply With Quote
The Following 3 Users Say Thank You to Astro For This Useful Post:
MPaulHolmes (01-31-2015), P-hack (01-31-2015), thingstodo (02-01-2015)
Old 01-31-2015, 09:51 AM   #1646 (permalink)
Master EcoModder
 
P-hack's Avatar
 
Join Date: Oct 2012
Location: USA
Posts: 1,408

awesomer - '04 Toyota prius
Thanks: 102
Thanked 252 Times in 204 Posts
If that free energy thing wins, I won't be responsible for my actions. Guys, go vote and pass it on!
  Reply With Quote
The Following 2 Users Say Thank You to P-hack For This Useful Post:
Astro (01-31-2015), thingstodo (02-01-2015)
Old 01-31-2015, 01:12 PM   #1647 (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
LOL p-hack. I made the fix that p-hack mentioned with the wrong name for the include files, and then added the files for the permanent magnet AC (brushless DC).

Quote:
So, generically, its a power inverter? In a block diagram would it stand alone, separate from things like the charge controller, battery murdering system, tachometer, etc.?
Yes. Although, you could add a few of those things with the left over pins.

I just got the board last night from e-clipse!! Beautiful work! I need to buy an "MGR" thing. I bet somewhere in Phoenix has one. I just forgot what they were called (as far as the junk yard is concerned). I'm going to go look for the name in the "MGR" thread.

I can do the code modification for e-clipse's resolver board no problem. I can't wait to test it.
__________________
kits and boards
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
e*clipse (01-31-2015)
Old 01-31-2015, 02:25 PM   #1648 (permalink)
Permanent Apprentice
 
Join Date: Jul 2010
Location: norcal oosae
Posts: 523
Thanks: 351
Thanked 314 Times in 215 Posts
Glad you like it.

Regarding the motor - the Prius, Camry, and Highlanders use a very similar motor with the same encoder. It may be easier & cheaper to locate a Prius.

I'd be happy to loan you the one I just got - I'm just trying to figure out what to do about shipping costs. Oh, I forgot to mention I just got another one and the seller messed up and sent it to me for free. Ummmm OK. . . . I need to share the universe's love on this one . . .

How 'bout this - I'll send you the one I just got, I'll cover shipping. Sometime in the future I can get something similar back - OK? If you like the thing and put it in some car - great! In other words, time is flexible and I don't need that specific one...

On the other hand, there may be one in your area - I did look previously... They would be really easy to remove from a vehicle if you found a Highlander Hybrid in your area. Let me know - I'd be happy to help.

Thoughts?

-E*clipse

P.S. Phack - you got your PIC stuff loaded under Linux?? That's really cool! I'd love to learn how.



Quote:
Originally Posted by MPaulHolmes View Post
LOL p-hack. I made the fix that p-hack mentioned with the wrong name for the include files, and then added the files for the permanent magnet AC (brushless DC).


Yes. Although, you could add a few of those things with the left over pins.

I just got the board last night from e-clipse!! Beautiful work! I need to buy an "MGR" thing. I bet somewhere in Phoenix has one. I just forgot what they were called (as far as the junk yard is concerned). I'm going to go look for the name in the "MGR" thread.

I can do the code modification for e-clipse's resolver board no problem. I can't wait to test it.
  Reply With Quote
The Following User Says Thank You to e*clipse For This Useful Post:
MPaulHolmes (01-31-2015)
Old 01-31-2015, 06:10 PM   #1649 (permalink)
Master EcoModder
 
freebeard's Avatar
 
Join Date: Aug 2012
Location: northwest of normal
Posts: 27,562
Thanks: 7,738
Thanked 8,554 Times in 7,041 Posts
Doooo eeet!



I'd recommend the crossbar with mounts and the rear mount. (I got the whole subframe minus the crossbar—that was pretty pointless) Also the big orange cables with it's connector, and the connectors for the low-voltage stuff.

I want to hear someone has gotten one of these spinning.
  Reply With Quote
The Following User Says Thank You to freebeard For This Useful Post:
MPaulHolmes (02-01-2015)
Old 02-01-2015, 12:24 AM   #1650 (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
I'll happily pay for shipping! And later I'll either try to convince you to sell it, or I'll pay for shipping back to you. Just figure out shipping cost, and the paypal will arrive right after that!

__________________
kits and boards
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
e*clipse (02-01-2015)
Reply  Post New Thread


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paul & Sabrina's cheap DIY 144v motor controller MPaulHolmes Open ReVolt: open source DC motor controller 7381 08-02-2023 10:55 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 09:09 PM
Contest! Name Paul & Sabrina's controller MetroMPG Forum News & Feedback 120 10-22-2011 01:59 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