Go Back  

DIY Electric Car Forums > EV Conversions and Builds > Controllers

Register Blogs FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 03-05-2008, 09:18 PM
ecvs ecvs is offline
Member
 
Join Date: Mar 2008
Location: Kitchener Ontario Canada
Posts: 45
ecvs is on a distinguished road
Default open source controller design group

I have set up this thread to use for the group on yahoo called evcs. Group memebers please use this thread to discuss the issues at hand so we can keep the posting traffic down to a minimum on yahoo.
Now for microprocessor choice I am going to use the 18F2331. I know there has been a number of comments about using other micros, but as I posted on the yahoo group, this micro is well suited for the job. It has everything for the basic design DC brushed motor, and every other motor. Has at least 6 pwm's, ADC, quadrature interface, hall sensoring etc. Please read the post on the yahoo group for futher information regarding this choice and how you can still use your own choice.
Tom
Reply With Quote
Sponsored Links
  #2  
Old 03-06-2008, 02:29 PM
ecvs ecvs is offline
Member
 
Join Date: Mar 2008
Location: Kitchener Ontario Canada
Posts: 45
ecvs is on a distinguished road
Default Re: open source controller design group

We will definently be using a pic micro controller. Now the question is which one. We may even use a few. I know there are a number of pics that are set up for motor control that have pwm's, quadrature interfacing for brushless motors, and A/D converter. We will need a number of A/D converters to monitor everything we can IE. temps of motor and IGBT's
Current, Voltage limits, motor speed, etc. We may need to use more than one. I'm going to start seaching though the micropic website to see what is available. Anyone happen to know if there is a pic that has lots of A/D converters on it?
Tom
Reply With Quote
  #3  
Old 03-07-2008, 11:22 AM
Wirecutter Wirecutter is offline
Senior Member
 
Join Date: Jul 2007
Location: DC metro, East coat USA
Posts: 232
Wirecutter is on a distinguished road
Default Re: open source controller design group

Hmm. I think I need to understand how to navigate the Yahoo groups a little better. I've joined evcs as 'neurotikart', and I *thought* I'd posted, but I don't see my post.

If/when it does show up, I think I see here that it's out of place. I have Microchip development hardware running, but I'm running a 3 phase AC motor. My hardware uses the dsPIC30F series processors. Current running code is from Microchip AN908, "Using the dsPIC30F for Vector Control of an ACIM".

Is it too late to make a case for a 3-phase AC controller?

-Mark
Reply With Quote
  #4  
Old 03-07-2008, 01:57 PM
Bugzuki's Avatar
Bugzuki Bugzuki is offline
Senior Member
 
Join Date: Jan 2008
Location: Monroe, WA
Posts: 156
Bugzuki is on a distinguished road
Default Re: open source controller design group

Quote:
Originally Posted by Wirecutter View Post
Hmm. I think I need to understand how to navigate the Yahoo groups a little better. I've joined evcs as 'neurotikart', and I *thought* I'd posted, but I don't see my post.

If/when it does show up, I think I see here that it's out of place. I have Microchip development hardware running, but I'm running a 3 phase AC motor. My hardware uses the dsPIC30F series processors. Current running code is from Microchip AN908, "Using the dsPIC30F for Vector Control of an ACIM".

Is it too late to make a case for a 3-phase AC controller?

-Mark
Do you have a copy of the test code for the Microchip system for running the ACIM? I have a dsPIC30F6014 proto board I am using and am building my own controller. I would like to have a copy of the dsPIC30F6010 test code so that I can see what they did. If I understand correctly though Microchip made their system to run off of a wall plug and not a battery, and it is very low power.

Don't worry about not understanding Yahoo it is very cumbersome, you'll get the hang of it sometime.
Reply With Quote
  #5  
Old 03-07-2008, 02:15 PM
ecvs ecvs is offline
Member
 
Join Date: Mar 2008
Location: Kitchener Ontario Canada
Posts: 45
ecvs is on a distinguished road
Default Re: open source controller design group

Quote:
Originally Posted by Wirecutter View Post
Hmm. I think I need to understand how to navigate the Yahoo groups a little better. I've joined evcs as 'neurotikart', and I *thought* I'd posted, but I don't see my post.

If/when it does show up, I think I see here that it's out of place. I have Microchip development hardware running, but I'm running a 3 phase AC motor. My hardware uses the dsPIC30F series processors. Current running code is from Microchip AN908, "Using the dsPIC30F for Vector Control of an ACIM".

Is it too late to make a case for a 3-phase AC controller?

-Mark
Hi Mark,
I did see your message on the evcs and posted it. I think it may not have shown up right away because I put everyone who joins on moderated until I see that they are not spammers. I was told to do this by the moderator central group.
Anyways back to the subject. The pic I have my eye on does support the 3 phase induction motor and has hall effect inputs, quadrature interfacing which I'm pretty sure is vector control . But I am open to any pic because I haven't bought anything yet. In fact after having spoken with a guru on motor control in my town today, I may want to research the pics to see if there might be one that supports all you have mentioned and has a lot of A/D converters. The A/D converters are needed to monitor many things. So lets look over the entire pic family and choose the best. The only thing that I will be for sure using in my design (unless someone shows me something simpler)is the IGBT driver system from powerrex. The VLA502-01. Price is 57 dollars for this item approx. And it pretty much solves a lot of dicey issues with the power side of things. Check out the schematic I have on the evcs for this. Its really easy to use and it supports many IGBT's up to 1200Volts. You choose the IGBT that best suits your current needed up to 800 amps. And it could handle other manufacturers IGBT's as long as you don't go over the drive current limit of 14 Amps. I want to put 2 or 3 IGBT's in parallel to allow for higher currents.
Tom
Reply With Quote
  #6  
Old 03-07-2008, 02:34 PM
Mesuge's Avatar
Mesuge Mesuge is offline
Member
 
Join Date: Mar 2008
Posts: 90
Mesuge is on a distinguished road
Default Re: open source controller design group

Quote:
Originally Posted by Wirecutter View Post
Is it too late to make a case for a 3-phase AC controller?

-Mark

DIY/kit 3-phase AC controller tweaked for EV low-mid power range conversions is the holly grail, Nobel prize nomination secured, best of luck to your efforts..

Arthur Matteson, have made homebrew 55HP AC drive but somehow didn't finish it up into replicable product, he used to be very kind for answering emails/questions - might be still of some help:



details about the drive:
http://home.comcast.net/~awmatt/evconv.html
http://home.comcast.net/~awmatt/threeph.html
..
.

his test car:
http://www.evalbum.com/532

-
As an illustration, Otmar's (Zilla) AC controller won't be ready for years, and that's not diy/kit and obviously will be targeting the more powerfull segment (.x MW output).

It drives me crazy that some controller companies like Sevcon Millipak (PM 4Q almost like AC) are charging extra ~ $300 just for user software, while Alltrax (DC) is incl. in the product's price but their sepex/regen line is unfortunately limited to 48V only.. Similarly for other AC brands..

On the other hand, the price of industrial AC/VFD drives has droped like a rock,
so perhaps up to 30kW (continous) it makes not much a sense to go that diy route, and to go more
power is not that easy from scratch and as a hobbyist I suppose..

Last edited by Mesuge; 03-07-2008 at 02:49 PM.
Reply With Quote
  #7  
Old 03-07-2008, 05:50 PM
Bugzuki's Avatar
Bugzuki Bugzuki is offline
Senior Member
 
Join Date: Jan 2008
Location: Monroe, WA
Posts: 156
Bugzuki is on a distinguished road
Default Re: open source controller design group

Wow that thing is a mad mess. I can not even tell what he was trying to do.
Reply With Quote
  #8  
Old 03-07-2008, 07:26 PM
Mesuge's Avatar
Mesuge Mesuge is offline
Member
 
Join Date: Mar 2008
Posts: 90
Mesuge is on a distinguished road
Default Re: open source controller design group

Don't be so harsh on Arthur, he did provide some limited documentation..

--

Anyway lets rather turn our attention to this opensource 100kW 3phase AC drive:
http://www.diyelectriccar.com/forums...&postcount=111
Reply With Quote
  #9  
Old 03-08-2008, 11:44 AM
Wirecutter Wirecutter is offline
Senior Member
 
Join Date: Jul 2007
Location: DC metro, East coat USA
Posts: 232
Wirecutter is on a distinguished road
Default Re: open source controller design group

Quote:
Originally Posted by Bugzuki View Post
Do you have a copy of the test code for the Microchip system for running the ACIM? I have a dsPIC30F6014 proto board I am using and am building my own controller. I would like to have a copy of the dsPIC30F6010 test code so that I can see what they did. If I understand correctly though Microchip made their system to run off of a wall plug and not a battery, and it is very low power.
Do you mean the original code from the MC1 board? Yes. I think I can locate source and binaries. When I got my setup, the first thing I did before jamming app note code into the board was verify that I could restore it to original condition.

I'm quite familiar with the proliferation (!) of wall warts. Using a wall wart greatly simplifies safety agency (UL, CE, TUV, ad nauseum) approval for a product. The MC1 board itself runs off of a switcher "brick" in my case, rather than a wall wart per se, but it's the same concept. The HVPM module is connected directly to the wall - I'm using 120v, but it's really made to take 220v. The driver box is rated for motors up to 3/4 HP.

-Mark
Reply With Quote
  #10  
Old 03-08-2008, 12:31 PM
Wirecutter Wirecutter is offline
Senior Member
 
Join Date: Jul 2007
Location: DC metro, East coat USA
Posts: 232
Wirecutter is on a distinguished road
Default Re: open source controller design group

Quote:
Originally Posted by Mesuge View Post
Anyway lets rather turn our attention to this opensource 100kW 3phase AC drive:
http://www.diyelectriccar.com/forums...&postcount=111
Thanks, Mesuge and others, for posting links to the efforts of others. I felt certain that I wasn't the first to go down this road, but like someone mentioned, "the internet is strangely quiet on the topic".

(There really is an art to picking the right search terms, sometimes.)

It appears that the problem has been solved. I'm not looking for a Nobel prize, I just want a 3PIM driver that I don't need to mortgage the house for. Thanks again.

-Mark
Reply With Quote
Sponsored Links
Reply

Share or Bookmark this

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

 

All times are GMT -6. The time now is 10:21 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Copyright 2009 Green Web Publishing LLC
Ad Management by RedTyger